Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001682/0.001682, allocations: 191 kB / 17.29 MB, free: 5.516 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7635/0.7635, allocations: 132.2 MB / 423.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3081, allocations: 80.18 MB / 0.5815 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06192/0.3701, allocations: 75.22 MB / 0.6549 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01907/0.3892, allocations: 15.13 MB / 0.6697 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.3917, allocations: 63.62 kB / 0.6698 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00232/0.3941, allocations: 0.8268 MB / 0.6706 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006388/0.4005, allocations: 2.589 MB / 0.6731 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.4038, allocations: 1.391 MB / 0.6745 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004986/0.4088, allocations: 4.4 MB / 0.6788 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.4105, allocations: 1.453 MB / 0.6802 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.4135, allocations: 1.642 MB / 0.6818 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.4151, allocations: 1.217 MB / 0.683 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.4153, allocations: 164 kB / 0.6831 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.4179, allocations: 1.427 MB / 0.6845 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.4183, allocations: 394.6 kB / 0.6849 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009026/0.4193, allocations: 0.906 MB / 0.6858 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.4227, allocations: 2.886 MB / 0.6886 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4227, allocations: 0 / 0.6886 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4227, allocations: 0 / 0.6886 GB, free: 232 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.4227, allocations: 0 / 0.6886 GB, free: 232 kB / 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.003512/0.4262, allocations: 2.099 MB / 0.6907 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4263, allocations: 11.97 kB / 0.6907 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/0.427, allocations: 226.8 kB / 0.6909 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.4296, allocations: 1.539 MB / 0.6924 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.4297, allocations: 85.97 kB / 0.6925 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.4298, allocations: 103.9 kB / 0.6926 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.4317, allocations: 1.1 MB / 0.6936 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.4317, allocations: 7.938 kB / 0.6936 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.4318, allocations: 36 kB / 0.6937 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.4319, allocations: 24 kB / 0.6937 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.4337, allocations: 0.8939 MB / 0.6946 GB, free: 9.953 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.005713/0.4394, allocations: 4.903 MB / 0.6994 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.4408, allocations: 0.6235 MB / 0.7 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006871/0.4415, allocations: 357.3 kB / 0.7003 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006595/0.4421, allocations: 0.8355 MB / 0.7011 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.4422, allocations: 39.12 kB / 0.7012 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.084e-06/0.4422, allocations: 0 / 0.7012 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.00456/0.4468, allocations: 1.405 MB / 0.7025 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.4468, allocations: 59.97 kB / 0.7026 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.4483, allocations: 1.23 MB / 0.7038 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.4483, allocations: 37.7 kB / 0.7038 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.4488, allocations: 0.6066 MB / 0.7044 GB, free: 15.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.449, allocations: 216.8 kB / 0.7046 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.4493, allocations: 154.6 kB / 0.7048 GB, free: 14.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4494, allocations: 333.9 kB / 0.7051 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.45, allocations: 292.7 kB / 0.7054 GB, free: 14.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008061/0.4508, allocations: 499.8 kB / 0.7059 GB, free: 13.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.4522, allocations: 0.7081 MB / 0.7065 GB, free: 13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.4522, allocations: 0 / 0.7065 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00431/0.4565, allocations: 1.265 MB / 0.7078 GB, free: 11.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4565, allocations: 4 kB / 0.7078 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4566, allocations: 8 kB / 0.7078 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.4572, allocations: 157.1 kB / 0.7079 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.4578, allocations: 159.8 kB / 0.7081 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008225/0.4586, allocations: 0.72 MB / 0.7088 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/0.4595, allocations: 115 kB / 0.7089 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.4596, allocations: 35.98 kB / 0.7089 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009723/0.4606, allocations: 0.5566 MB / 0.7095 GB, free: 9.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000779/0.4614, allocations: 491.8 kB / 0.71 GB, free: 9.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001313/0.4627, allocations: 0.7004 MB / 0.7106 GB, free: 8.641 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.4627, allocations: 3.938 kB / 0.7106 GB, free: 8.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004234/0.4669, allocations: 1.265 MB / 0.7119 GB, free: 7.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.467, allocations: 4 kB / 0.7119 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.467, allocations: 4 kB / 0.7119 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.4675, allocations: 157 kB / 0.712 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.4681, allocations: 159.7 kB / 0.7122 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007712/0.4689, allocations: 0.7123 MB / 0.7129 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009278/0.4699, allocations: 99.52 kB / 0.713 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.4699, allocations: 39.97 kB / 0.713 GB, free: 6.164 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.4702, allocations: 225.4 kB / 0.7132 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.4704, allocations: 146.2 kB / 0.7134 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.4747, allocations: 1.251 MB / 0.7146 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.4747, allocations: 15.94 kB / 0.7146 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4747, allocations: 0 / 0.7146 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003702/0.4784, allocations: 1.088 MB / 0.7157 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.4821, allocations: 2.314 MB / 0.7179 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.4822, allocations: 4 kB / 0.7179 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.4826, allocations: 116.3 kB / 0.718 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/0.4832, allocations: 144.7 kB / 0.7182 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.4833, allocations: 23.94 kB / 0.7182 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007636/0.484, allocations: 0.708 MB / 0.7189 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.484, allocations: 7.938 kB / 0.7189 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.4866, allocations: 1.387 MB / 0.7203 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004963/0.4871, allocations: 315.1 kB / 0.7206 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.4873, allocations: 20 kB / 0.7206 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007604/0.488, allocations: 59.98 kB / 0.7206 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4882, allocations: 56.25 kB / 0.7207 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.4882, allocations: 27.98 kB / 0.7207 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001144/0.4894, allocations: 0.8935 MB / 0.7216 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.4894, allocations: 0 / 0.7216 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001622/0.491, allocations: 0.7096 MB / 0.7223 GB, free: 12.39 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008078/0.4918, allocations: 464.1 kB / 0.7227 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002433/0.4943, allocations: 1.121 MB / 0.7238 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4943, allocations: 3.938 kB / 0.7238 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008798/0.4952, allocations: 399.3 kB / 0.7242 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/0.4982, allocations: 0.798 MB / 0.725 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.5016, allocations: 2.281 MB / 0.7272 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.5023, allocations: 1.168 MB / 0.7284 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009251/0.5032, allocations: 316.6 kB / 0.7287 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.5035, allocations: 107.4 kB / 0.7288 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.5035, allocations: 0 / 0.7288 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of Templates: time 0.273/0.7764, allocations: 32.01 MB / 0.76 GB, free: 149.7 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)