Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005503/0.005503, allocations: 100.1 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 193.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8135/0.8135, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.337, allocations: 80.2 MB / 0.6592 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03498/0.372, allocations: 35.87 MB / 0.6942 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.3839, allocations: 7.997 MB / 0.702 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009693/0.3849, allocations: 32.5 kB / 0.7021 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.386, allocations: 416.6 kB / 0.7025 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.3896, allocations: 1.392 MB / 0.7038 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.3925, allocations: 1.119 MB / 0.7049 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.3954, allocations: 2.136 MB / 0.707 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.3964, allocations: 0.718 MB / 0.7077 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.3984, allocations: 0.8913 MB / 0.7086 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000936/0.3993, allocations: 0.6147 MB / 0.7092 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.3995, allocations: 74.5 kB / 0.7092 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.4013, allocations: 0.8489 MB / 0.7101 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.4015, allocations: 201 kB / 0.7103 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.4021, allocations: 476.8 kB / 0.7107 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.4044, allocations: 1.537 MB / 0.7122 GB, free: 15.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.4044, allocations: 0 / 0.7122 GB, free: 15.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4044, allocations: 0 / 0.7122 GB, free: 15.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.4045, allocations: 0 / 0.7122 GB, free: 15.72 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002015/0.4065, allocations: 1.255 MB / 0.7134 GB, free: 14.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4065, allocations: 8.031 kB / 0.7134 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.4067, allocations: 98.7 kB / 0.7135 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.4091, allocations: 307.4 kB / 0.7138 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.4104, allocations: 0.7767 MB / 0.7146 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.4105, allocations: 45.31 kB / 0.7146 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.575e-05/0.4106, allocations: 55.98 kB / 0.7147 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.4125, allocations: 0.7915 MB / 0.7155 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.4125, allocations: 3.938 kB / 0.7155 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.26e-05/0.4126, allocations: 28 kB / 0.7155 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.4127, allocations: 19.94 kB / 0.7155 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.4148, allocations: 0.6139 MB / 0.7161 GB, free: 11.56 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005144/0.4199, allocations: 3.943 MB / 0.72 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.4219, allocations: 450.7 kB / 0.7204 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008572/0.4228, allocations: 205.6 kB / 0.7206 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007112/0.4235, allocations: 0.522 MB / 0.7211 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4235, allocations: 34.56 kB / 0.7211 GB, free: 6.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.4235, allocations: 0 / 0.7211 GB, free: 6.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.003186/0.4267, allocations: 0.7947 MB / 0.7219 GB, free: 5.184 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.4268, allocations: 106.8 kB / 0.722 GB, free: 5.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/0.4277, allocations: 0.586 MB / 0.7226 GB, free: 4.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.4277, allocations: 29.7 kB / 0.7226 GB, free: 4.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.4281, allocations: 404.4 kB / 0.723 GB, free: 4.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4282, allocations: 91.22 kB / 0.7231 GB, free: 3.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.4284, allocations: 110 kB / 0.7232 GB, free: 3.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4286, allocations: 370.8 kB / 0.7235 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008831/0.4295, allocations: 204.7 kB / 0.7237 GB, free: 3.242 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.4305, allocations: 351.3 kB / 0.7241 GB, free: 2.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.4323, allocations: 0.5261 MB / 0.7246 GB, free: 2.254 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4323, allocations: 0 / 0.7246 GB, free: 2.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002199/0.4345, allocations: 0.6509 MB / 0.7252 GB, free: 1.594 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.4346, allocations: 8 kB / 0.7252 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4346, allocations: 4 kB / 0.7252 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/0.4349, allocations: 73.16 kB / 0.7253 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.4356, allocations: 127.8 kB / 0.7254 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000542/0.4362, allocations: 0.6148 MB / 0.726 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007552/0.437, allocations: 91.62 kB / 0.7261 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.437, allocations: 23.98 kB / 0.7261 GB, free: 0.6289 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003402/0.4374, allocations: 229.6 kB / 0.7263 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4375, allocations: 63.62 kB / 0.7264 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.4398, allocations: 0.6166 MB / 0.727 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.4398, allocations: 3.984 kB / 0.727 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4398, allocations: 4 kB / 0.727 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001975/0.4418, allocations: 0.6984 MB / 0.7277 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.4448, allocations: 1.297 MB / 0.729 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.4449, allocations: 7.938 kB / 0.729 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.4455, allocations: 79.89 kB / 0.7291 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002135/0.4457, allocations: 56.98 kB / 0.7291 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.4457, allocations: 15.97 kB / 0.7291 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005086/0.4462, allocations: 0.611 MB / 0.7297 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.4463, allocations: 8.094 kB / 0.7297 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.4492, allocations: 0.8996 MB / 0.7306 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.4496, allocations: 208.4 kB / 0.7308 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.4497, allocations: 8 kB / 0.7308 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/0.4505, allocations: 52 kB / 0.7309 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.4505, allocations: 23.91 kB / 0.7309 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.4506, allocations: 27.95 kB / 0.7309 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006903/0.4513, allocations: 483 kB / 0.7314 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4513, allocations: 3.938 kB / 0.7314 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008451/0.4522, allocations: 275.4 kB / 0.7316 GB, free: 10.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003869/0.456, allocations: 1.628 MB / 0.7332 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.4581, allocations: 0.4884 MB / 0.7337 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4581, allocations: 0 / 0.7337 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009803/0.4591, allocations: 244.2 kB / 0.7339 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.4609, allocations: 394.6 kB / 0.7343 GB, free: 8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.4725, allocations: 5.774 MB / 0.7399 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.4731, allocations: 0.9256 MB / 0.7409 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006396/0.4738, allocations: 161.3 kB / 0.741 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.4742, allocations: 279.2 kB / 0.7413 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/0.4742, allocations: 3.938 kB / 0.7413 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05534/0.5295, allocations: 22.36 MB / 0.7631 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.86, allocations: 2.531 kB / 0.7631 GB, free: 10.68 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)