Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.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-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: translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.001219/0.001219, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7444/0.7444, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.91 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3268, allocations: 80.91 MB / 0.5858 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.05962/0.3865, allocations: 75.17 MB / 0.6592 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.4046, allocations: 15.14 MB / 0.674 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.4072, allocations: 63.62 kB / 0.674 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.4092, allocations: 0.8345 MB / 0.6748 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005862/0.4151, allocations: 2.588 MB / 0.6774 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.4181, allocations: 1.389 MB / 0.6787 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004733/0.4228, allocations: 4.407 MB / 0.683 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.4245, allocations: 1.453 MB / 0.6844 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.4274, allocations: 1.636 MB / 0.686 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.4289, allocations: 1.21 MB / 0.6872 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.4291, allocations: 164 kB / 0.6874 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.4316, allocations: 1.404 MB / 0.6887 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.4319, allocations: 402.6 kB / 0.6891 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008561/0.4328, allocations: 0.9061 MB / 0.69 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.4361, allocations: 2.871 MB / 0.6928 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4361, allocations: 8 kB / 0.6928 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4361, allocations: 4 kB / 0.6928 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.4361, allocations: 0 / 0.6928 GB, free: 12.8 MB / 0.5294 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.003493/0.4396, allocations: 2.087 MB / 0.6949 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4397, allocations: 9.109 kB / 0.6949 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.4404, allocations: 226.8 kB / 0.6951 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.4429, allocations: 1.532 MB / 0.6966 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.4429, allocations: 74 kB / 0.6967 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.4431, allocations: 100 kB / 0.6968 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.4449, allocations: 1.104 MB / 0.6978 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.4449, allocations: 3.938 kB / 0.6978 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.445, allocations: 44 kB / 0.6979 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.445, allocations: 28 kB / 0.6979 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.4468, allocations: 0.89 MB / 0.6988 GB, free: 6.559 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.005471/0.4523, allocations: 4.907 MB / 0.7036 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.4536, allocations: 0.6133 MB / 0.7042 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.4543, allocations: 354.3 kB / 0.7045 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.4549, allocations: 0.8238 MB / 0.7053 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.455, allocations: 43.12 kB / 0.7053 GB, free: 15.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 3.496e-06/0.455, allocations: 0 / 0.7053 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.006696/0.4617, allocations: 1.701 MB / 0.707 GB, free: 13.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.4617, allocations: 59.97 kB / 0.7071 GB, free: 13.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.4634, allocations: 1.233 MB / 0.7083 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.4635, allocations: 37.7 kB / 0.7083 GB, free: 12.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005188/0.4641, allocations: 0.6065 MB / 0.7089 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.4643, allocations: 216.9 kB / 0.7091 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.4645, allocations: 154.5 kB / 0.7093 GB, free: 11.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4646, allocations: 337.9 kB / 0.7096 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.4653, allocations: 284.7 kB / 0.7098 GB, free: 10.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/0.4661, allocations: 0.4976 MB / 0.7103 GB, free: 10.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.4674, allocations: 0.709 MB / 0.711 GB, free: 9.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4675, allocations: 0 / 0.711 GB, free: 9.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00445/0.4719, allocations: 1.273 MB / 0.7123 GB, free: 8.012 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4719, allocations: 8.375 kB / 0.7123 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.472, allocations: 8 kB / 0.7123 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005458/0.4725, allocations: 136.7 kB / 0.7124 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.4731, allocations: 155.8 kB / 0.7126 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007747/0.4739, allocations: 0.7136 MB / 0.7133 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009759/0.4749, allocations: 115 kB / 0.7134 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.475, allocations: 32.06 kB / 0.7134 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009972/0.476, allocations: 0.5526 MB / 0.7139 GB, free: 6.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007569/0.4767, allocations: 0.489 MB / 0.7144 GB, free: 5.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00126/0.478, allocations: 0.7012 MB / 0.7151 GB, free: 4.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.918e-06/0.478, allocations: 8 kB / 0.7151 GB, free: 4.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004277/0.4823, allocations: 1.261 MB / 0.7163 GB, free: 3.672 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4823, allocations: 8 kB / 0.7163 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4823, allocations: 7.938 kB / 0.7164 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.4828, allocations: 141 kB / 0.7165 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.4834, allocations: 163.8 kB / 0.7166 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007258/0.4841, allocations: 0.7012 MB / 0.7173 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009321/0.4851, allocations: 95.45 kB / 0.7174 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.4851, allocations: 39.92 kB / 0.7175 GB, free: 2.496 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.4854, allocations: 228.1 kB / 0.7177 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.4856, allocations: 130.4 kB / 0.7178 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.49, allocations: 1.267 MB / 0.719 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.49, allocations: 8 kB / 0.719 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.49, allocations: 0 / 0.719 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00379/0.4938, allocations: 1.107 MB / 0.7201 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006353/0.5002, allocations: 2.617 MB / 0.7227 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.5002, allocations: 4 kB / 0.7227 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.5007, allocations: 107.9 kB / 0.7228 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/0.5011, allocations: 138.8 kB / 0.7229 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.5012, allocations: 16 kB / 0.7229 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004572/0.5058, allocations: 2.631 MB / 0.7255 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.5058, allocations: 4 kB / 0.7255 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004817/0.5106, allocations: 1.699 MB / 0.7272 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.5113, allocations: 307.2 kB / 0.7275 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.5116, allocations: 24.05 kB / 0.7275 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/0.5124, allocations: 47.94 kB / 0.7275 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.5126, allocations: 60.25 kB / 0.7276 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/0.5126, allocations: 43.97 kB / 0.7276 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001316/0.514, allocations: 0.8818 MB / 0.7285 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.514, allocations: 0 / 0.7285 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001998/0.516, allocations: 0.7174 MB / 0.7292 GB, free: 6.059 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009447/0.5169, allocations: 452.4 kB / 0.7296 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.5195, allocations: 1.122 MB / 0.7307 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5195, allocations: 8.062 kB / 0.7307 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.521, allocations: 0.5602 MB / 0.7313 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/0.5246, allocations: 0.8101 MB / 0.7321 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.5286, allocations: 2.279 MB / 0.7343 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008467/0.5295, allocations: 1.183 MB / 0.7354 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001112/0.5306, allocations: 297.3 kB / 0.7357 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.5309, allocations: 103.4 kB / 0.7358 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.5309, allocations: 0 / 0.7358 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.2638/0.7947, allocations: 32.21 MB / 0.7673 GB, free: 149.1 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)