Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_dev_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.004214/0.004214, allocations: 97.59 kB / 15.73 MB, free: 6.059 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.001049/0.001049, allocations: 189.4 kB / 16.67 MB, free: 5.98 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8887/0.8887, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002119, allocations: 71.89 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3632, allocations: 80.91 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03107/0.3943, allocations: 35.86 MB / 0.6992 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.4046, allocations: 8 MB / 0.707 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008967/0.4055, allocations: 32.91 kB / 0.707 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.4066, allocations: 434.1 kB / 0.7074 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.4097, allocations: 1.439 MB / 0.7088 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.4123, allocations: 1.13 MB / 0.7099 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.4146, allocations: 2.141 MB / 0.712 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008487/0.4154, allocations: 0.7223 MB / 0.7127 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.4172, allocations: 0.9195 MB / 0.7136 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007317/0.4179, allocations: 0.6145 MB / 0.7142 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.4181, allocations: 76 kB / 0.7143 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.4196, allocations: 0.8503 MB / 0.7151 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.4198, allocations: 199.3 kB / 0.7153 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004413/0.4203, allocations: 473.9 kB / 0.7158 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.4222, allocations: 1.531 MB / 0.7173 GB, free: 11.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4222, allocations: 4 kB / 0.7173 GB, free: 11.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4222, allocations: 0 / 0.7173 GB, free: 11.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.4222, allocations: 4 kB / 0.7173 GB, free: 11.05 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.001766/0.424, allocations: 1.247 MB / 0.7185 GB, free: 9.746 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.424, allocations: 12.03 kB / 0.7185 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.4241, allocations: 106.6 kB / 0.7186 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.4265, allocations: 303.5 kB / 0.7189 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.4277, allocations: 0.7728 MB / 0.7197 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.4277, allocations: 41.31 kB / 0.7197 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.4279, allocations: 63.95 kB / 0.7198 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.4295, allocations: 0.7915 MB / 0.7205 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.4296, allocations: 7.922 kB / 0.7205 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.4296, allocations: 28 kB / 0.7206 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.4297, allocations: 23.94 kB / 0.7206 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.4316, allocations: 0.6061 MB / 0.7212 GB, free: 6.895 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.004405/0.436, allocations: 3.932 MB / 0.725 GB, free: 2.676 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.4379, allocations: 462.7 kB / 0.7255 GB, free: 2.215 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008021/0.4387, allocations: 204.7 kB / 0.7256 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005831/0.4393, allocations: 0.5142 MB / 0.7262 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4393, allocations: 38.56 kB / 0.7262 GB, free: 1.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/0.4393, allocations: 4 kB / 0.7262 GB, free: 1.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.002964/0.4423, allocations: 0.7753 MB / 0.7269 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.4424, allocations: 114.8 kB / 0.7271 GB, free: 408 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/0.4431, allocations: 0.586 MB / 0.7276 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.4431, allocations: 37.7 kB / 0.7277 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.4434, allocations: 404.4 kB / 0.7281 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.4435, allocations: 91.22 kB / 0.7281 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.4436, allocations: 110 kB / 0.7282 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4438, allocations: 362.8 kB / 0.7286 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008164/0.4446, allocations: 200.7 kB / 0.7288 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009079/0.4455, allocations: 356.7 kB / 0.7291 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.4472, allocations: 0.5216 MB / 0.7296 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4472, allocations: 0 / 0.7296 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002068/0.4493, allocations: 0.663 MB / 0.7303 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4494, allocations: 4 kB / 0.7303 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4494, allocations: 12.03 kB / 0.7303 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.4496, allocations: 72.69 kB / 0.7304 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.4504, allocations: 131.8 kB / 0.7305 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004353/0.4508, allocations: 0.6188 MB / 0.7311 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/0.4515, allocations: 79.58 kB / 0.7312 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.4516, allocations: 27.97 kB / 0.7312 GB, free: 11.96 MB / 0.5606 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.0002869/0.4519, allocations: 233.6 kB / 0.7314 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.452, allocations: 59.62 kB / 0.7315 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.4541, allocations: 0.6122 MB / 0.7321 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4541, allocations: 4 kB / 0.7321 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4541, allocations: 4 kB / 0.7321 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00179/0.4559, allocations: 0.6984 MB / 0.7328 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.4586, allocations: 1.303 MB / 0.734 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4586, allocations: 7.938 kB / 0.734 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.4592, allocations: 80.05 kB / 0.7341 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.4594, allocations: 56.83 kB / 0.7342 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.4594, allocations: 15.97 kB / 0.7342 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003829/0.4598, allocations: 0.611 MB / 0.7348 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4598, allocations: 0 / 0.7348 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.4625, allocations: 0.8946 MB / 0.7357 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.4628, allocations: 216.5 kB / 0.7359 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.463, allocations: 12.06 kB / 0.7359 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007806/0.4638, allocations: 51.88 kB / 0.7359 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.4638, allocations: 19.91 kB / 0.7359 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.4639, allocations: 23.97 kB / 0.736 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005581/0.4644, allocations: 495 kB / 0.7364 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4644, allocations: 0 / 0.7364 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007821/0.4652, allocations: 271.4 kB / 0.7367 GB, free: 6.074 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.003478/0.4687, allocations: 1.623 MB / 0.7383 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.4706, allocations: 0.492 MB / 0.7388 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4706, allocations: 4.438 kB / 0.7388 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008849/0.4715, allocations: 236.8 kB / 0.739 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.4733, allocations: 404 kB / 0.7394 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.4835, allocations: 5.771 MB / 0.745 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.484, allocations: 0.9217 MB / 0.7459 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006218/0.4847, allocations: 153.8 kB / 0.7461 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.485, allocations: 275.3 kB / 0.7463 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.485, allocations: 0 / 0.7463 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04224/0.5273, allocations: 22.39 MB / 0.7682 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.17, allocations: 8.531 kB / 0.7682 GB, free: 5.918 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)