Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 108 kB / 15.6 MB, free: 124 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.001192/0.001192, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7228/0.7228, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 59.59 kB / 0.5018 GB, free: 8.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.163, allocations: 80.2 MB / 0.5801 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.3087/0.4717, allocations: 69.9 MB / 0.6483 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01546/0.4872, allocations: 14.36 MB / 0.6624 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.4896, allocations: 76.66 kB / 0.6624 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.4916, allocations: 0.918 MB / 0.6633 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.497, allocations: 2.544 MB / 0.6658 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.501, allocations: 1.961 MB / 0.6677 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006688/0.5077, allocations: 4.661 MB / 0.6723 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.5103, allocations: 1.624 MB / 0.6739 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/0.5143, allocations: 1.768 MB / 0.6756 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/0.5165, allocations: 1.269 MB / 0.6768 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003701/0.5168, allocations: 197.1 kB / 0.677 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004541/0.5214, allocations: 1.916 MB / 0.6789 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005899/0.522, allocations: 469.7 kB / 0.6793 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.5236, allocations: 1.023 MB / 0.6803 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.53, allocations: 3.498 MB / 0.6838 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.53, allocations: 4 kB / 0.6838 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.53, allocations: 0 / 0.6838 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.681e-05/0.5301, allocations: 1.375 kB / 0.6838 GB, free: 10.43 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005433/0.5355, allocations: 2.292 MB / 0.686 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5356, allocations: 10.52 kB / 0.686 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/0.5413, allocations: 0.7025 MB / 0.6867 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.5443, allocations: 1.518 MB / 0.6882 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.5445, allocations: 129.4 kB / 0.6883 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.5447, allocations: 129.2 kB / 0.6884 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/0.5489, allocations: 1.638 MB / 0.69 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.5489, allocations: 5.125 kB / 0.69 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.5491, allocations: 50.44 kB / 0.6901 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.5491, allocations: 31.84 kB / 0.6901 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004888/0.554, allocations: 1.463 MB / 0.6915 GB, free: 6.457 MB / 0.5137 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.01082/0.5649, allocations: 7.033 MB / 0.6984 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.5671, allocations: 0.7375 MB / 0.6991 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.5689, allocations: 495.5 kB / 0.6996 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.5703, allocations: 1.267 MB / 0.7008 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.5703, allocations: 44.48 kB / 0.7009 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.435e-06/0.5703, allocations: 7.875 kB / 0.7009 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.02087/0.5912, allocations: 3.013 MB / 0.7038 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.5913, allocations: 110.7 kB / 0.7039 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.5937, allocations: 1.385 MB / 0.7053 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.5939, allocations: 45.36 kB / 0.7053 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006145/0.5946, allocations: 0.6921 MB / 0.706 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.5948, allocations: 237.9 kB / 0.7062 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.5952, allocations: 230.9 kB / 0.7065 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5954, allocations: 350.9 kB / 0.7068 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/0.5973, allocations: 0.5061 MB / 0.7073 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.5996, allocations: 0.7737 MB / 0.708 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/0.6032, allocations: 1.138 MB / 0.7092 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6033, allocations: 0 / 0.7092 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005462/0.6087, allocations: 1.557 MB / 0.7107 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.6088, allocations: 7.938 kB / 0.7107 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.6088, allocations: 5.625 kB / 0.7107 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/0.6106, allocations: 0.491 MB / 0.7112 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.6121, allocations: 254 kB / 0.7114 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.6137, allocations: 0.9891 MB / 0.7124 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.6162, allocations: 235.9 kB / 0.7126 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.6163, allocations: 53.17 kB / 0.7126 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002402/0.6187, allocations: 0.8014 MB / 0.7134 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002103/0.6208, allocations: 0.7731 MB / 0.7142 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00363/0.6245, allocations: 1.133 MB / 0.7153 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.43e-06/0.6245, allocations: 1.469 kB / 0.7153 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005213/0.6297, allocations: 1.549 MB / 0.7168 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6297, allocations: 14.17 kB / 0.7168 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6298, allocations: 4 kB / 0.7168 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.6314, allocations: 492.5 kB / 0.7173 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.6328, allocations: 263.5 kB / 0.7175 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.6344, allocations: 0.9981 MB / 0.7185 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.6368, allocations: 192.6 kB / 0.7187 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.637, allocations: 55.94 kB / 0.7188 GB, free: 3.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003706/0.6373, allocations: 236.7 kB / 0.719 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.6377, allocations: 146.2 kB / 0.7191 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004301/0.642, allocations: 1.3 MB / 0.7204 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.642, allocations: 12 kB / 0.7204 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.642, allocations: 0 / 0.7204 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003629/0.6456, allocations: 1.112 MB / 0.7215 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007414/0.6531, allocations: 3.049 MB / 0.7245 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.6531, allocations: 4 kB / 0.7245 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009144/0.654, allocations: 152 kB / 0.7246 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.6557, allocations: 485 kB / 0.7251 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.6557, allocations: 27.97 kB / 0.7251 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.6573, allocations: 0.9886 MB / 0.7261 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.6573, allocations: 7.984 kB / 0.7261 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00588/0.6632, allocations: 1.92 MB / 0.728 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.6643, allocations: 362.9 kB / 0.7283 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.6646, allocations: 24.06 kB / 0.7283 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/0.6663, allocations: 107.9 kB / 0.7284 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.6664, allocations: 56.25 kB / 0.7285 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-05/0.6665, allocations: 51.94 kB / 0.7285 GB, free: 9.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001676/0.6682, allocations: 0.9894 MB / 0.7295 GB, free: 8.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6682, allocations: 0 / 0.7295 GB, free: 8.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002509/0.6707, allocations: 0.9007 MB / 0.7304 GB, free: 7.523 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.672, allocations: 0.5446 MB / 0.7309 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006685/0.6787, allocations: 1.854 MB / 0.7327 GB, free: 5.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.6787, allocations: 4 kB / 0.7327 GB, free: 5.121 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.6806, allocations: 0.518 MB / 0.7332 GB, free: 4.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/0.6847, allocations: 0.837 MB / 0.734 GB, free: 3.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.6905, allocations: 2.688 MB / 0.7367 GB, free: 1.051 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.6912, allocations: 1.207 MB / 0.7378 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001737/0.693, allocations: 374.3 kB / 0.7382 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.6933, allocations: 127.3 kB / 0.7383 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.6933, allocations: 4 kB / 0.7383 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.06076/0.7541, allocations: 39.22 MB / 0.7766 GB, free: 8.562 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)