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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7158/0.7158, allocations: 133.4 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 404.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 107.3 kB / 485.9 MB, free: 7.16 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009669/0.000967, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1211, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.328/0.4491, allocations: 69.45 MB / 0.71 GB, free: 19.76 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0186/0.4678, allocations: 14.52 MB / 0.7241 GB, free: 18.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.4706, allocations: 64.22 kB / 0.7242 GB, free: 18.1 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.4728, allocations: 0.7661 MB / 0.7249 GB, free: 17.72 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006737/0.4795, allocations: 2.332 MB / 0.7272 GB, free: 16.7 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.4846, allocations: 1.784 MB / 0.729 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006983/0.4916, allocations: 5.935 MB / 0.7348 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.4937, allocations: 1.333 MB / 0.7361 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.4967, allocations: 1.493 MB / 0.7375 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.4981, allocations: 1.246 MB / 0.7387 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.4984, allocations: 88.41 kB / 0.7388 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.5023, allocations: 1.761 MB / 0.7405 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.5026, allocations: 360 kB / 0.7409 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008565/0.5035, allocations: 0.91 MB / 0.7418 GB, free: 9.941 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.5071, allocations: 3.428 MB / 0.7451 GB, free: 7.629 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5072, allocations: 0 / 0.7451 GB, free: 7.629 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5072, allocations: 0 / 0.7451 GB, free: 7.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.725e-05/0.5072, allocations: 3.938 kB / 0.7451 GB, free: 7.625 MB / 490.7 MB 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.003549/0.5108, allocations: 2.3 MB / 0.7474 GB, free: 5.891 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.5108, allocations: 8.5 kB / 0.7474 GB, free: 5.891 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/0.5161, allocations: 0.6934 MB / 0.7481 GB, free: 5.594 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.5182, allocations: 1.561 MB / 0.7496 GB, free: 4.324 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.5183, allocations: 127.2 kB / 0.7497 GB, free: 4.246 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.5185, allocations: 123.3 kB / 0.7498 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.5219, allocations: 1.637 MB / 0.7514 GB, free: 3.137 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.522, allocations: 6 kB / 0.7514 GB, free: 3.133 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.5221, allocations: 49.72 kB / 0.7515 GB, free: 3.098 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.5222, allocations: 45.47 kB / 0.7515 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004302/0.5265, allocations: 1.451 MB / 0.7529 GB, free: 2.352 MB / 490.7 MB 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.009086/0.5356, allocations: 7.008 MB / 0.7598 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.5378, allocations: 0.7322 MB / 0.7605 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.5395, allocations: 494.2 kB / 0.761 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.5407, allocations: 1.271 MB / 0.7622 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5408, allocations: 39.12 kB / 0.7622 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=68): time 3.566e-06/0.5408, allocations: 3.938 kB / 0.7622 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=68): time 0.0205/0.5613, allocations: 3.023 MB / 0.7652 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.5614, allocations: 115.3 kB / 0.7653 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.5635, allocations: 1.363 MB / 0.7666 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.5636, allocations: 41.7 kB / 0.7667 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.5643, allocations: 0.6918 MB / 0.7674 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.5645, allocations: 240.6 kB / 0.7676 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/0.5649, allocations: 230.3 kB / 0.7678 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.565, allocations: 345.9 kB / 0.7681 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.567, allocations: 0.5083 MB / 0.7686 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.5692, allocations: 0.7784 MB / 0.7694 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.5728, allocations: 1.133 MB / 0.7705 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5728, allocations: 0 / 0.7705 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005223/0.578, allocations: 1.562 MB / 0.772 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.5781, allocations: 8 kB / 0.772 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.5781, allocations: 12.5 kB / 0.772 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.5798, allocations: 491.9 kB / 0.7725 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.5812, allocations: 259.6 kB / 0.7728 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.5829, allocations: 0.9856 MB / 0.7737 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.5853, allocations: 272.9 kB / 0.774 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.5855, allocations: 55.95 kB / 0.774 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002368/0.5878, allocations: 0.7946 MB / 0.7748 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002116/0.59, allocations: 0.7802 MB / 0.7756 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003584/0.5936, allocations: 1.129 MB / 0.7767 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/0.5936, allocations: 4 kB / 0.7767 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005187/0.5988, allocations: 1.55 MB / 0.7782 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5988, allocations: 4 kB / 0.7782 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5988, allocations: 8 kB / 0.7782 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.6005, allocations: 480.9 kB / 0.7787 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6018, allocations: 259.6 kB / 0.7789 GB, free: 7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.6034, allocations: 0.9933 MB / 0.7799 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.6058, allocations: 236.7 kB / 0.7801 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.6059, allocations: 52.08 kB / 0.7802 GB, free: 5.699 MB / 0.5105 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.0003208/0.6062, allocations: 244 kB / 0.7804 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.6065, allocations: 146.2 kB / 0.7805 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/0.6108, allocations: 1.302 MB / 0.7818 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.6109, allocations: 8 kB / 0.7818 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.6109, allocations: 0 / 0.7818 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003717/0.6146, allocations: 1.119 MB / 0.7829 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007313/0.6219, allocations: 3.034 MB / 0.7859 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.622, allocations: 4 kB / 0.7859 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009079/0.6229, allocations: 151.8 kB / 0.786 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.6245, allocations: 475.3 kB / 0.7865 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.061e-05/0.6246, allocations: 27.97 kB / 0.7865 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.6263, allocations: 0.9817 MB / 0.7875 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.6263, allocations: 4 kB / 0.7875 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.124/0.7503, allocations: 24.48 MB / 0.8114 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006855/0.751, allocations: 355 kB / 0.8117 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.7512, allocations: 23.98 kB / 0.8117 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/0.7529, allocations: 139.8 kB / 0.8119 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.7531, allocations: 60.23 kB / 0.8119 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.555e-05/0.7532, allocations: 51.95 kB / 0.812 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001567/0.7548, allocations: 0.9738 MB / 0.8129 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7548, allocations: 0 / 0.8129 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004038/0.7588, allocations: 1.467 MB / 0.8144 GB, free: 1.723 MB / 0.5417 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.001572/0.7604, allocations: 0.6674 MB / 0.815 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006455/0.7669, allocations: 1.81 MB / 0.8168 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7669, allocations: 0 / 0.8168 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.7688, allocations: 0.5141 MB / 0.8173 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003866/0.7727, allocations: 0.7916 MB / 0.818 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006457/0.7791, allocations: 3.884 MB / 0.8218 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/0.7799, allocations: 1.227 MB / 0.823 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00185/0.7818, allocations: 372 kB / 0.8234 GB, free: 8.352 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.7821, allocations: 135.3 kB / 0.8235 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/0.7822, allocations: 0 / 0.8235 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of Templates: time 0.0687/0.8509, allocations: 47.94 MB / 0.8703 GB, free: 8.637 MB / 0.6042 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)