Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001312/0.001312, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9446/0.9446, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 59.62 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2028, allocations: 80.93 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.3834/0.5862, allocations: 69.44 MB / 0.6515 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.6029, allocations: 14.53 MB / 0.6657 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.606, allocations: 68.59 kB / 0.6658 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.6085, allocations: 0.7577 MB / 0.6665 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007948/0.6165, allocations: 2.336 MB / 0.6688 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005303/0.6218, allocations: 1.77 MB / 0.6705 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008434/0.6302, allocations: 5.918 MB / 0.6763 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/0.6332, allocations: 1.318 MB / 0.6776 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/0.6371, allocations: 1.477 MB / 0.679 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.6396, allocations: 1.25 MB / 0.6803 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.6399, allocations: 87.66 kB / 0.6803 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004239/0.6442, allocations: 1.756 MB / 0.6821 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004968/0.6447, allocations: 365.7 kB / 0.6824 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.6461, allocations: 0.9097 MB / 0.6833 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005287/0.6514, allocations: 3.431 MB / 0.6866 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6514, allocations: 0 / 0.6866 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6514, allocations: 0 / 0.6866 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.026e-05/0.6515, allocations: 0 / 0.6866 GB, free: 7.355 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.004811/0.6563, allocations: 2.295 MB / 0.6889 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.6563, allocations: 9.281 kB / 0.6889 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006183/0.6625, allocations: 0.6963 MB / 0.6896 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.6658, allocations: 1.565 MB / 0.6911 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.666, allocations: 137.1 kB / 0.6912 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.6662, allocations: 121.4 kB / 0.6914 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004684/0.6709, allocations: 1.637 MB / 0.693 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.6709, allocations: 1.969 kB / 0.693 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.6711, allocations: 50.25 kB / 0.693 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/0.6712, allocations: 40.77 kB / 0.693 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004951/0.6761, allocations: 1.455 MB / 0.6945 GB, free: 3.367 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.0129/0.689, allocations: 6.993 MB / 0.7013 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.6913, allocations: 0.7375 MB / 0.702 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.693, allocations: 497.5 kB / 0.7025 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/0.6945, allocations: 1.266 MB / 0.7037 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.6945, allocations: 47.7 kB / 0.7038 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 3.186e-06/0.6945, allocations: 1.031 kB / 0.7038 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.02045/0.715, allocations: 3.015 MB / 0.7067 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.7152, allocations: 113.7 kB / 0.7068 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/0.7175, allocations: 1.369 MB / 0.7082 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.7177, allocations: 42.52 kB / 0.7082 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006662/0.7184, allocations: 0.6884 MB / 0.7089 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.7187, allocations: 242 kB / 0.7091 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.7191, allocations: 230.7 kB / 0.7093 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7193, allocations: 342.4 kB / 0.7096 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.7213, allocations: 0.5067 MB / 0.7101 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.7235, allocations: 0.7776 MB / 0.7109 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.7272, allocations: 1.133 MB / 0.712 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.7272, allocations: 5.125 kB / 0.712 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005338/0.7326, allocations: 1.558 MB / 0.7135 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.7326, allocations: 5.438 kB / 0.7135 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.7327, allocations: 8.281 kB / 0.7135 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.7344, allocations: 488.9 kB / 0.714 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.7358, allocations: 258.5 kB / 0.7143 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.7375, allocations: 0.9935 MB / 0.7152 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.7403, allocations: 269.8 kB / 0.7155 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.7404, allocations: 53.33 kB / 0.7155 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002559/0.743, allocations: 0.7998 MB / 0.7163 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002185/0.7452, allocations: 0.7816 MB / 0.7171 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003691/0.7489, allocations: 1.129 MB / 0.7182 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.336e-06/0.7489, allocations: 4 kB / 0.7182 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005244/0.7542, allocations: 1.562 MB / 0.7197 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7542, allocations: 8 kB / 0.7197 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.7542, allocations: 4 kB / 0.7197 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.7559, allocations: 492.1 kB / 0.7202 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.7573, allocations: 255.6 kB / 0.7204 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.7589, allocations: 1 MB / 0.7214 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/0.7617, allocations: 223.3 kB / 0.7216 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.7619, allocations: 51.95 kB / 0.7217 GB, free: 15.04 MB / 0.545 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.0004136/0.7623, allocations: 240 kB / 0.7219 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.7627, allocations: 146.2 kB / 0.722 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.767, allocations: 1.295 MB / 0.7233 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.7671, allocations: 12 kB / 0.7233 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.7671, allocations: 0 / 0.7233 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00358/0.7707, allocations: 1.111 MB / 0.7244 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008138/0.7788, allocations: 3.04 MB / 0.7274 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.7789, allocations: 7.984 kB / 0.7274 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/0.7798, allocations: 147.7 kB / 0.7275 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.7815, allocations: 480.7 kB / 0.728 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.192e-05/0.7816, allocations: 35.97 kB / 0.728 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.7833, allocations: 0.9826 MB / 0.729 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7833, allocations: 4 kB / 0.729 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006351/0.7897, allocations: 1.92 MB / 0.7309 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.7907, allocations: 367 kB / 0.7312 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.791, allocations: 16 kB / 0.7312 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/0.7929, allocations: 147.8 kB / 0.7314 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7931, allocations: 52.25 kB / 0.7314 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.7932, allocations: 47.94 kB / 0.7315 GB, free: 4.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001703/0.7949, allocations: 0.9738 MB / 0.7324 GB, free: 3.742 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.7949, allocations: 3.938 kB / 0.7324 GB, free: 3.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003183/0.7981, allocations: 0.8967 MB / 0.7333 GB, free: 2.84 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.001501/0.7996, allocations: 0.5439 MB / 0.7338 GB, free: 2.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006696/0.8063, allocations: 1.811 MB / 0.7356 GB, free: 500 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.8063, allocations: 8 kB / 0.7356 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.8083, allocations: 0.5132 MB / 0.7361 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004352/0.8127, allocations: 0.7819 MB / 0.7369 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.8191, allocations: 3.202 MB / 0.74 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008187/0.82, allocations: 1.211 MB / 0.7412 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002095/0.8221, allocations: 368.8 kB / 0.7415 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.8225, allocations: 131.3 kB / 0.7416 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.8225, allocations: 0 / 0.7416 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06177/0.8843, allocations: 37.34 MB / 0.7781 GB, free: 5.246 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)