Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001349/0.001349, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8041/0.8041, allocations: 135.2 MB / 425.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 63.89 kB / 0.5055 GB, free: 8.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3248, allocations: 80.92 MB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06559/0.3904, allocations: 74.55 MB / 0.6574 GB, free: 0 / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.021/0.4115, allocations: 15.02 MB / 0.672 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/0.4144, allocations: 59.62 kB / 0.6721 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.4173, allocations: 0.719 MB / 0.6728 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008106/0.4255, allocations: 2.411 MB / 0.6752 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.4292, allocations: 1.279 MB / 0.6764 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006324/0.4355, allocations: 4.419 MB / 0.6807 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.4378, allocations: 1.449 MB / 0.6821 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.4423, allocations: 1.65 MB / 0.6837 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.4446, allocations: 1.26 MB / 0.685 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.4449, allocations: 164 kB / 0.6851 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.4481, allocations: 1.419 MB / 0.6865 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.4486, allocations: 398.6 kB / 0.6869 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.45, allocations: 0.9021 MB / 0.6878 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.4532, allocations: 2.238 MB / 0.69 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4532, allocations: 0 / 0.69 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4532, allocations: 0 / 0.69 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.845e-05/0.4533, allocations: 0 / 0.69 GB, free: 14.52 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.003914/0.4572, allocations: 2.083 MB / 0.692 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4572, allocations: 13.11 kB / 0.692 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.4581, allocations: 230.8 kB / 0.6922 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/0.4606, allocations: 1.493 MB / 0.6937 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.4606, allocations: 78 kB / 0.6938 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.4608, allocations: 100 kB / 0.6939 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.4629, allocations: 1.1 MB / 0.6949 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.4629, allocations: 0 / 0.6949 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.463, allocations: 36 kB / 0.695 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/0.463, allocations: 35.98 kB / 0.695 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.4649, allocations: 0.89 MB / 0.6959 GB, free: 8.316 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.006134/0.471, allocations: 4.907 MB / 0.7007 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.4724, allocations: 0.6081 MB / 0.7013 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.4732, allocations: 346.3 kB / 0.7016 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/0.4739, allocations: 0.8277 MB / 0.7024 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.4739, allocations: 43.06 kB / 0.7024 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.549e-06/0.4739, allocations: 4 kB / 0.7024 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006948/0.4809, allocations: 1.689 MB / 0.7041 GB, free: 15.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.481, allocations: 59.97 kB / 0.7041 GB, free: 15.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.4827, allocations: 1.214 MB / 0.7053 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.353e-05/0.4828, allocations: 37.7 kB / 0.7054 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005428/0.4834, allocations: 0.6065 MB / 0.706 GB, free: 13.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.4836, allocations: 220.7 kB / 0.7062 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.4838, allocations: 162.5 kB / 0.7063 GB, free: 13.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.484, allocations: 337.9 kB / 0.7066 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.4846, allocations: 284.7 kB / 0.7069 GB, free: 12.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008597/0.4855, allocations: 0.489 MB / 0.7074 GB, free: 11.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.4869, allocations: 0.7168 MB / 0.7081 GB, free: 11.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4869, allocations: 0 / 0.7081 GB, free: 11.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004593/0.4915, allocations: 1.273 MB / 0.7093 GB, free: 9.797 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4916, allocations: 8 kB / 0.7093 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4916, allocations: 4 kB / 0.7093 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.4922, allocations: 140.7 kB / 0.7095 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.4928, allocations: 159.8 kB / 0.7096 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008799/0.4937, allocations: 0.7006 MB / 0.7103 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.4949, allocations: 159.8 kB / 0.7105 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/0.495, allocations: 39.97 kB / 0.7105 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001113/0.4961, allocations: 0.5535 MB / 0.7111 GB, free: 8.012 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008492/0.497, allocations: 492.8 kB / 0.7115 GB, free: 7.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001386/0.4984, allocations: 0.7089 MB / 0.7122 GB, free: 6.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.4984, allocations: 4 kB / 0.7122 GB, free: 6.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004593/0.503, allocations: 1.265 MB / 0.7135 GB, free: 5.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.503, allocations: 8 kB / 0.7135 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.503, allocations: 7.938 kB / 0.7135 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004971/0.5035, allocations: 132.8 kB / 0.7136 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.5041, allocations: 163.8 kB / 0.7138 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008151/0.505, allocations: 0.6994 MB / 0.7144 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.5061, allocations: 139.5 kB / 0.7146 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.726e-05/0.5062, allocations: 35.98 kB / 0.7146 GB, free: 4.207 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.0002706/0.5065, allocations: 228 kB / 0.7148 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.5067, allocations: 130.4 kB / 0.7149 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004651/0.5114, allocations: 1.271 MB / 0.7162 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.5114, allocations: 8 kB / 0.7162 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5114, allocations: 0 / 0.7162 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004008/0.5154, allocations: 1.099 MB / 0.7173 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006608/0.5221, allocations: 2.602 MB / 0.7198 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.5221, allocations: 4 kB / 0.7198 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.5226, allocations: 115.8 kB / 0.7199 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.5231, allocations: 136 kB / 0.7201 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.5232, allocations: 19.98 kB / 0.7201 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.5282, allocations: 2.622 MB / 0.7226 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.5282, allocations: 7.938 kB / 0.7226 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.5336, allocations: 1.699 MB / 0.7243 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/0.5343, allocations: 311.1 kB / 0.7246 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.5345, allocations: 16 kB / 0.7246 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/0.5354, allocations: 83.91 kB / 0.7247 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5355, allocations: 56.25 kB / 0.7247 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.5356, allocations: 39.98 kB / 0.7248 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001249/0.5369, allocations: 0.8662 MB / 0.7256 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5369, allocations: 0 / 0.7256 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001829/0.5387, allocations: 0.7174 MB / 0.7263 GB, free: 7.781 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.0009353/0.5397, allocations: 454.3 kB / 0.7268 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002794/0.5425, allocations: 1.153 MB / 0.7279 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.5425, allocations: 4 kB / 0.7279 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.544, allocations: 0.5565 MB / 0.7284 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.5473, allocations: 0.8141 MB / 0.7292 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.5514, allocations: 2.798 MB / 0.732 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/0.5523, allocations: 1.172 MB / 0.7331 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.5526, allocations: 107.4 kB / 0.7332 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.5526, allocations: 4 kB / 0.7332 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of Templates: time 0.2706/0.8232, allocations: 30.96 MB / 0.7634 GB, free: 150.2 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)