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.0009531/0.0009533, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001226/0.001226, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7338/0.7338, allocations: 132.4 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003084, allocations: 9.875 kB / 0.5034 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3442, allocations: 81.57 MB / 0.5831 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06214/0.4064, allocations: 64.47 MB / 0.646 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01835/0.4248, allocations: 13.44 MB / 0.6592 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.4268, allocations: 67.56 kB / 0.6592 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.4287, allocations: 0.6405 MB / 0.6598 GB, free: 1.758 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005051/0.4337, allocations: 1.996 MB / 0.6618 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.4374, allocations: 1.412 MB / 0.6632 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005437/0.4429, allocations: 5.104 MB / 0.6682 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.4447, allocations: 1.156 MB / 0.6693 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.4471, allocations: 1.373 MB / 0.6706 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.4488, allocations: 1.128 MB / 0.6717 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000256/0.4491, allocations: 68 kB / 0.6718 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.452, allocations: 1.438 MB / 0.6732 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.4524, allocations: 318.6 kB / 0.6735 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005019/0.4529, allocations: 396.8 kB / 0.6739 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.4556, allocations: 2.591 MB / 0.6764 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4556, allocations: 0 / 0.6764 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.277e-06/0.4556, allocations: 0 / 0.6764 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.4557, allocations: 3.938 kB / 0.6764 GB, free: 0.7383 MB / 0.4981 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.003174/0.4588, allocations: 1.944 MB / 0.6783 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.4589, allocations: 12.03 kB / 0.6783 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005059/0.4639, allocations: 0.7353 MB / 0.679 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.4661, allocations: 1.503 MB / 0.6805 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.4663, allocations: 132 kB / 0.6806 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.4664, allocations: 123.9 kB / 0.6808 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0035/0.4699, allocations: 1.652 MB / 0.6824 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.47, allocations: 3.938 kB / 0.6824 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.4701, allocations: 48 kB / 0.6824 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.4702, allocations: 39.95 kB / 0.6825 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004207/0.4744, allocations: 1.488 MB / 0.6839 GB, free: 8.832 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.008655/0.4831, allocations: 7.011 MB / 0.6908 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.4851, allocations: 0.7561 MB / 0.6915 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.4866, allocations: 0.5048 MB / 0.692 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.4878, allocations: 1.267 MB / 0.6932 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4878, allocations: 47.12 kB / 0.6933 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.605e-06/0.4878, allocations: 0 / 0.6933 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01756/0.5054, allocations: 3.11 MB / 0.6963 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.5055, allocations: 115.4 kB / 0.6964 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.5073, allocations: 1.351 MB / 0.6977 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.411e-05/0.5074, allocations: 49.69 kB / 0.6978 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000562/0.508, allocations: 0.6879 MB / 0.6985 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.5082, allocations: 240.6 kB / 0.6987 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.5083, allocations: 20 kB / 0.6987 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5084, allocations: 345.9 kB / 0.699 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.5102, allocations: 0.5133 MB / 0.6995 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.5121, allocations: 0.7901 MB / 0.7003 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.514, allocations: 0.5652 MB / 0.7009 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.514, allocations: 7.938 kB / 0.7009 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01097/0.525, allocations: 2.159 MB / 0.703 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.5251, allocations: 276.4 kB / 0.7032 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5251, allocations: 4 kB / 0.7032 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.5268, allocations: 489.2 kB / 0.7037 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.5281, allocations: 267.6 kB / 0.704 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.5296, allocations: 0.9934 MB / 0.7049 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.5317, allocations: 283.1 kB / 0.7052 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.5318, allocations: 55.95 kB / 0.7053 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.5318, allocations: 4 kB / 0.7053 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01049/0.5423, allocations: 1.998 MB / 0.7072 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5423, allocations: 8 kB / 0.7072 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.5439, allocations: 492.7 kB / 0.7077 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.5452, allocations: 267.6 kB / 0.7079 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.5466, allocations: 0.9963 MB / 0.7089 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.5485, allocations: 242.8 kB / 0.7092 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.5487, allocations: 59.94 kB / 0.7092 GB, free: 13.95 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 ($PRE.heaPum.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006999/0.5494, allocations: 446.4 kB / 0.7096 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.5496, allocations: 146.3 kB / 0.7098 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.5536, allocations: 1.339 MB / 0.7111 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.5536, allocations: 11.95 kB / 0.7111 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5536, allocations: 0 / 0.7111 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003384/0.557, allocations: 1.147 MB / 0.7122 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00639/0.5634, allocations: 3.065 MB / 0.7152 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5634, allocations: 4 kB / 0.7152 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000878/0.5643, allocations: 151.9 kB / 0.7154 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.5658, allocations: 484.1 kB / 0.7158 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.5659, allocations: 27.97 kB / 0.7158 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.5674, allocations: 0.9915 MB / 0.7168 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.5674, allocations: 11.94 kB / 0.7168 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005282/0.5727, allocations: 1.975 MB / 0.7188 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005872/0.5733, allocations: 398.8 kB / 0.7191 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.5735, allocations: 27.98 kB / 0.7192 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.575, allocations: 143.3 kB / 0.7193 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5751, allocations: 68.25 kB / 0.7194 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-05/0.5752, allocations: 47.94 kB / 0.7194 GB, free: 3.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001456/0.5767, allocations: 0.966 MB / 0.7203 GB, free: 2.234 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5767, allocations: 0 / 0.7203 GB, free: 2.234 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002172/0.5789, allocations: 0.885 MB / 0.7212 GB, free: 1.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009677/0.5799, allocations: 0.5278 MB / 0.7217 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005625/0.5855, allocations: 1.861 MB / 0.7235 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5855, allocations: 0 / 0.7235 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.5871, allocations: 0.5298 MB / 0.7241 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/0.5903, allocations: 0.7877 MB / 0.7248 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/0.5958, allocations: 3.158 MB / 0.7279 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.5965, allocations: 1.207 MB / 0.7291 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001608/0.5982, allocations: 376.7 kB / 0.7295 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.5985, allocations: 127.3 kB / 0.7296 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.5985, allocations: 0 / 0.7296 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of Templates: time 0.05476/0.6533, allocations: 36.14 MB / 0.7649 GB, free: 4.992 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)