Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",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.001454/0.001454, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.724/0.724, allocations: 132.2 MB / 422.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 71.61 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3294, allocations: 80.19 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06916/0.3986, allocations: 75.12 MB / 0.6535 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.4154, allocations: 12.74 MB / 0.666 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.4174, allocations: 67.62 kB / 0.6661 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.4192, allocations: 0.8228 MB / 0.6669 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.4246, allocations: 2.465 MB / 0.6693 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.4275, allocations: 1.368 MB / 0.6706 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004338/0.4319, allocations: 4.383 MB / 0.6749 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.4334, allocations: 1.437 MB / 0.6763 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.436, allocations: 1.616 MB / 0.6779 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.4373, allocations: 1.194 MB / 0.679 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.4376, allocations: 160 kB / 0.6792 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.4401, allocations: 1.404 MB / 0.6805 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.4404, allocations: 402.6 kB / 0.6809 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007942/0.4412, allocations: 0.9021 MB / 0.6818 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.4441, allocations: 2.836 MB / 0.6846 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4441, allocations: 4 kB / 0.6846 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4442, allocations: 0 / 0.6846 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.4442, allocations: 3.938 kB / 0.6846 GB, free: 6.305 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003271/0.4475, allocations: 2.079 MB / 0.6866 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4475, allocations: 15.91 kB / 0.6866 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.4477, allocations: 148.1 kB / 0.6868 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.4484, allocations: 222.9 kB / 0.687 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.4505, allocations: 1.457 MB / 0.6884 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.4506, allocations: 78 kB / 0.6885 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.4507, allocations: 104 kB / 0.6886 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.4525, allocations: 1.1 MB / 0.6897 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.4525, allocations: 3.906 kB / 0.6897 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.735e-05/0.4526, allocations: 40 kB / 0.6897 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.4527, allocations: 32 kB / 0.6897 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.4544, allocations: 0.8822 MB / 0.6906 GB, free: 15.98 MB / 0.5294 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.00535/0.4598, allocations: 4.942 MB / 0.6954 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.4611, allocations: 0.6179 MB / 0.696 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/0.4619, allocations: 346.3 kB / 0.6964 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005897/0.4625, allocations: 0.8277 MB / 0.6972 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.4625, allocations: 51.06 kB / 0.6972 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.234e-06/0.4625, allocations: 0 / 0.6972 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007161/0.4697, allocations: 1.67 MB / 0.6988 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.4697, allocations: 55.97 kB / 0.6989 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.4712, allocations: 1.229 MB / 0.7001 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.4713, allocations: 37.7 kB / 0.7001 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.4718, allocations: 0.6026 MB / 0.7007 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.472, allocations: 216.9 kB / 0.7009 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.4722, allocations: 154.6 kB / 0.7011 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4723, allocations: 341.9 kB / 0.7014 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.473, allocations: 292.6 kB / 0.7017 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008222/0.4738, allocations: 497.4 kB / 0.7022 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.4752, allocations: 0.7168 MB / 0.7029 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4753, allocations: 0 / 0.7029 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004706/0.48, allocations: 1.269 MB / 0.7041 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.48, allocations: 4.375 kB / 0.7041 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.48, allocations: 8 kB / 0.7041 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.4806, allocations: 136.7 kB / 0.7042 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.4812, allocations: 155.8 kB / 0.7044 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008119/0.482, allocations: 0.7005 MB / 0.7051 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/0.483, allocations: 123.1 kB / 0.7052 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.483, allocations: 32 kB / 0.7052 GB, free: 288 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001047/0.4841, allocations: 0.5487 MB / 0.7058 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007984/0.4849, allocations: 495.8 kB / 0.7062 GB, free: 15.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001389/0.4863, allocations: 0.705 MB / 0.7069 GB, free: 14.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.4863, allocations: 0 / 0.7069 GB, free: 14.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004675/0.491, allocations: 1.261 MB / 0.7081 GB, free: 13.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.491, allocations: 8 kB / 0.7082 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.491, allocations: 4.375 kB / 0.7082 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004978/0.4915, allocations: 136.7 kB / 0.7083 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.4921, allocations: 163.7 kB / 0.7084 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007921/0.4929, allocations: 0.6986 MB / 0.7091 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009481/0.4939, allocations: 105.7 kB / 0.7092 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.494, allocations: 39.98 kB / 0.7093 GB, free: 11.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.4942, allocations: 220.7 kB / 0.7095 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.4944, allocations: 138.3 kB / 0.7096 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/0.4991, allocations: 1.267 MB / 0.7108 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.4991, allocations: 8 kB / 0.7109 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4991, allocations: 4 kB / 0.7109 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004254/0.5034, allocations: 1.099 MB / 0.7119 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006335/0.5097, allocations: 2.61 MB / 0.7145 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5098, allocations: 4 kB / 0.7145 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.5102, allocations: 115.8 kB / 0.7146 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/0.5107, allocations: 141 kB / 0.7147 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.5108, allocations: 19.98 kB / 0.7147 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005013/0.5158, allocations: 2.575 MB / 0.7173 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5158, allocations: 15.98 kB / 0.7173 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005831/0.5216, allocations: 1.691 MB / 0.7189 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/0.5222, allocations: 307.2 kB / 0.7192 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.5225, allocations: 15.94 kB / 0.7192 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.5235, allocations: 59.84 kB / 0.7193 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.5236, allocations: 60.36 kB / 0.7194 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.5237, allocations: 27.98 kB / 0.7194 GB, free: 1.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001185/0.5249, allocations: 0.8855 MB / 0.7202 GB, free: 320 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5249, allocations: 0 / 0.7202 GB, free: 320 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001712/0.5266, allocations: 0.7174 MB / 0.7209 GB, free: 15.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00632/0.5329, allocations: 2.594 MB / 0.7235 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00279/0.5357, allocations: 1.153 MB / 0.7246 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5358, allocations: 0 / 0.7246 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.5372, allocations: 0.5643 MB / 0.7252 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/0.5408, allocations: 0.7961 MB / 0.7259 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.5602, allocations: 10.45 MB / 0.7361 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.5609, allocations: 1.176 MB / 0.7373 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001175/0.5621, allocations: 303 kB / 0.7376 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/0.5627, allocations: 0.5071 MB / 0.7381 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.5627, allocations: 0 / 0.7381 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0735/0.6363, allocations: 42.16 MB / 0.7792 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.86, allocations: 9.594 kB / 0.7792 GB, free: 3.828 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)