Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8114/0.8114, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 403.4 MB, free: 7.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 116.4 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1443, allocations: 80.2 MB / 0.6402 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3493/0.4936, allocations: 60.82 MB / 0.6996 GB, free: 26.03 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01632/0.51, allocations: 12.05 MB / 0.7113 GB, free: 25.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003098/0.5131, allocations: 54.53 kB / 0.7114 GB, free: 25.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002867/0.5161, allocations: 0.5515 MB / 0.7119 GB, free: 25.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008293/0.5244, allocations: 1.799 MB / 0.7137 GB, free: 25.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.5282, allocations: 1.077 MB / 0.7147 GB, free: 25.31 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005587/0.5338, allocations: 3.921 MB / 0.7186 GB, free: 23.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.5356, allocations: 0.9328 MB / 0.7195 GB, free: 23.46 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.5385, allocations: 1.166 MB / 0.7206 GB, free: 22.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.5407, allocations: 0.8923 MB / 0.7215 GB, free: 22.67 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.5411, allocations: 57.34 kB / 0.7215 GB, free: 22.67 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/0.5448, allocations: 1.366 MB / 0.7229 GB, free: 22.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004457/0.5453, allocations: 238.8 kB / 0.7231 GB, free: 22.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.5468, allocations: 0.6329 MB / 0.7237 GB, free: 21.79 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.5512, allocations: 2.25 MB / 0.7259 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5512, allocations: 0 / 0.7259 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5512, allocations: 0 / 0.7259 GB, free: 21.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.354e-05/0.5513, allocations: 0 / 0.7259 GB, free: 21.05 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004334/0.5556, allocations: 1.72 MB / 0.7276 GB, free: 19.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5557, allocations: 9.406 kB / 0.7276 GB, free: 19.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.5576, allocations: 349.8 kB / 0.7279 GB, free: 19.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.5599, allocations: 1.131 MB / 0.729 GB, free: 19.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.5603, allocations: 114.7 kB / 0.7291 GB, free: 19.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.5605, allocations: 79.7 kB / 0.7292 GB, free: 19.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.5624, allocations: 0.9443 MB / 0.7301 GB, free: 18.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5624, allocations: 1.188 kB / 0.7301 GB, free: 18.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/0.5625, allocations: 35.78 kB / 0.7302 GB, free: 18.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.5625, allocations: 19.06 kB / 0.7302 GB, free: 18.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.5648, allocations: 0.8137 MB / 0.731 GB, free: 18.09 MB / 490.7 MB 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.005828/0.5707, allocations: 4.759 MB / 0.7356 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.5722, allocations: 0.5686 MB / 0.7362 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.5729, allocations: 269.7 kB / 0.7365 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.5739, allocations: 1.371 MB / 0.7378 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.574, allocations: 45.09 kB / 0.7378 GB, free: 11.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.416e-06/0.574, allocations: 0 / 0.7378 GB, free: 11.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.007934/0.5819, allocations: 1.819 MB / 0.7396 GB, free: 10.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.582, allocations: 58.78 kB / 0.7397 GB, free: 10.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.5835, allocations: 1.055 MB / 0.7407 GB, free: 10.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/0.5836, allocations: 35.3 kB / 0.7407 GB, free: 10.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.5839, allocations: 0.5199 MB / 0.7412 GB, free: 9.746 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.584, allocations: 151 kB / 0.7414 GB, free: 9.617 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.5842, allocations: 128.2 kB / 0.7415 GB, free: 9.539 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.5842, allocations: 331.3 kB / 0.7418 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000713/0.585, allocations: 270.5 kB / 0.7421 GB, free: 9.086 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008277/0.5858, allocations: 484.8 kB / 0.7425 GB, free: 8.699 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.5871, allocations: 0.6236 MB / 0.7432 GB, free: 8.289 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.5871, allocations: 3.844 kB / 0.7432 GB, free: 8.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002276/0.5894, allocations: 0.9299 MB / 0.7441 GB, free: 7.812 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5894, allocations: 8.156 kB / 0.7441 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5894, allocations: 6.406 kB / 0.7441 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.5907, allocations: 314.1 kB / 0.7444 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.5911, allocations: 104.8 kB / 0.7445 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.5924, allocations: 0.9186 MB / 0.7454 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.5937, allocations: 161.8 kB / 0.7455 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/0.5938, allocations: 27.83 kB / 0.7456 GB, free: 6.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009882/0.5948, allocations: 487.6 kB / 0.746 GB, free: 6.531 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008131/0.5956, allocations: 485.4 kB / 0.7465 GB, free: 6.141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001273/0.5969, allocations: 0.6171 MB / 0.7471 GB, free: 5.734 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.631e-06/0.5969, allocations: 2.562 kB / 0.7471 GB, free: 5.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002456/0.5994, allocations: 0.9136 MB / 0.748 GB, free: 5.273 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5994, allocations: 5.875 kB / 0.748 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5994, allocations: 4.656 kB / 0.748 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.6005, allocations: 320.1 kB / 0.7483 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.6009, allocations: 103.9 kB / 0.7484 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.6021, allocations: 0.9132 MB / 0.7493 GB, free: 4.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.6034, allocations: 150 kB / 0.7494 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.6035, allocations: 24 kB / 0.7495 GB, free: 3.863 MB / 490.7 MB 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.6037, allocations: 221.4 kB / 0.7497 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.604, allocations: 106.7 kB / 0.7498 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/0.6074, allocations: 1.076 MB / 0.7508 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.6074, allocations: 8 kB / 0.7508 GB, free: 2.441 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6074, allocations: 7.875 kB / 0.7508 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6074, allocations: 0 / 0.7508 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004714/0.6122, allocations: 2.074 MB / 0.7529 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.6122, allocations: 4 kB / 0.7529 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.6124, allocations: 51.91 kB / 0.7529 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.6134, allocations: 309.8 kB / 0.7532 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.6135, allocations: 19.98 kB / 0.7532 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.615, allocations: 0.9577 MB / 0.7542 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.615, allocations: 0 / 0.7542 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004719/0.6197, allocations: 2.151 MB / 0.7563 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.6204, allocations: 255.6 kB / 0.7565 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.6206, allocations: 12 kB / 0.7565 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009794/0.6216, allocations: 87.84 kB / 0.7566 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.6217, allocations: 51.75 kB / 0.7566 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.6218, allocations: 20 kB / 0.7567 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001241/0.6231, allocations: 0.7389 MB / 0.7574 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6231, allocations: 0 / 0.7574 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002265/0.6253, allocations: 0.5925 MB / 0.758 GB, free: 10.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.6264, allocations: 389.7 kB / 0.7583 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003026/0.6295, allocations: 0.9994 MB / 0.7593 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.6295, allocations: 0 / 0.7593 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008338/0.6303, allocations: 325.4 kB / 0.7596 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.6334, allocations: 0.4925 MB / 0.7601 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.6374, allocations: 2.521 MB / 0.7626 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006784/0.6381, allocations: 1.073 MB / 0.7636 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009545/0.6391, allocations: 220.3 kB / 0.7638 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.6393, allocations: 75.42 kB / 0.7639 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of SimCode: time 2.444e-06/0.6393, allocations: 0 / 0.7639 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of Templates: time 0.03833/0.6776, allocations: 24.61 MB / 0.7879 GB, free: 12.47 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)