Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001119/0.001119, allocations: 102.5 kB / 15.06 MB, free: 1.098 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.001339/0.00134, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 251.9 MB / 0.51 GB, free: 4.82 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005481/0.0005485, allocations: 19.44 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4979, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06153/0.5595, allocations: 58.52 MB / 0.7851 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.5787, allocations: 12.33 MB / 0.7972 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.5814, allocations: 63.5 kB / 0.7972 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.5844, allocations: 0.7812 MB / 0.798 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008/0.5925, allocations: 2.169 MB / 0.8001 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007976/0.6005, allocations: 1.907 MB / 0.802 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007007/0.6075, allocations: 2.631 MB / 0.8045 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.6099, allocations: 1.152 MB / 0.8056 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.6133, allocations: 1.261 MB / 0.8069 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.6151, allocations: 0.8049 MB / 0.8077 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.6154, allocations: 68 kB / 0.8077 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.619, allocations: 1.268 MB / 0.809 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004212/0.6194, allocations: 298.8 kB / 0.8093 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007758/0.6202, allocations: 400.8 kB / 0.8096 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.6244, allocations: 2.47 MB / 0.812 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6244, allocations: 0 / 0.812 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6244, allocations: 0 / 0.812 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.145e-05/0.6245, allocations: 0 / 0.812 GB, free: 5.102 MB / 0.6231 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.00424/0.6287, allocations: 1.936 MB / 0.8139 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.6288, allocations: 12.03 kB / 0.814 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005747/0.6346, allocations: 0.7354 MB / 0.8147 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/0.6381, allocations: 1.421 MB / 0.8161 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.6384, allocations: 128 kB / 0.8162 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.6386, allocations: 127.9 kB / 0.8163 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/0.6426, allocations: 1.617 MB / 0.8179 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.6427, allocations: 7.844 kB / 0.8179 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.6428, allocations: 56 kB / 0.8179 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-05/0.6429, allocations: 32 kB / 0.818 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004677/0.6476, allocations: 1.488 MB / 0.8194 GB, free: 13.31 MB / 0.6387 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.01135/0.659, allocations: 7.053 MB / 0.8263 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.6612, allocations: 0.7559 MB / 0.8271 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.6626, allocations: 1.274 MB / 0.8283 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.6626, allocations: 39.12 kB / 0.8283 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=68): time 2.976e-06/0.6627, allocations: 0 / 0.8283 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68): time 0.01969/0.6823, allocations: 3.099 MB / 0.8314 GB, free: 444 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.6825, allocations: 115.4 kB / 0.8315 GB, free: 304 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.6848, allocations: 1.394 MB / 0.8328 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.685, allocations: 45.7 kB / 0.8329 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006416/0.6856, allocations: 0.6994 MB / 0.8336 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.6859, allocations: 236.6 kB / 0.8338 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.686, allocations: 16 kB / 0.8338 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6861, allocations: 341.9 kB / 0.8341 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.6881, allocations: 0.5132 MB / 0.8346 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.6902, allocations: 0.794 MB / 0.8354 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/0.6922, allocations: 0.5614 MB / 0.8359 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6922, allocations: 0 / 0.8359 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01239/0.7046, allocations: 2.16 MB / 0.8381 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.7058, allocations: 2.483 MB / 0.8405 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.7058, allocations: 11.94 kB / 0.8405 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.7079, allocations: 482.4 kB / 0.841 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.7095, allocations: 263.6 kB / 0.8412 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.7115, allocations: 0.9973 MB / 0.8422 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/0.7145, allocations: 286.5 kB / 0.8425 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000292/0.7148, allocations: 55.94 kB / 0.8425 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7148, allocations: 4 kB / 0.8425 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01241/0.7272, allocations: 1.999 MB / 0.8445 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.7273, allocations: 4 kB / 0.8445 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/0.7291, allocations: 474.5 kB / 0.8449 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.7307, allocations: 267.6 kB / 0.8452 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.7325, allocations: 1 MB / 0.8461 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.7351, allocations: 254.8 kB / 0.8464 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/0.7354, allocations: 51.95 kB / 0.8464 GB, free: 0.6016 MB / 0.6544 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.001201/0.7366, allocations: 464.8 kB / 0.8469 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/0.7372, allocations: 142.4 kB / 0.847 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004812/0.742, allocations: 1.329 MB / 0.8483 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.7421, allocations: 11.98 kB / 0.8483 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7421, allocations: 4 kB / 0.8483 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003889/0.746, allocations: 1.139 MB / 0.8494 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008725/0.7547, allocations: 3.073 MB / 0.8524 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.7548, allocations: 4 kB / 0.8525 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/0.7558, allocations: 155.8 kB / 0.8526 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.7575, allocations: 459.2 kB / 0.853 GB, free: 9.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.312e-05/0.7576, allocations: 27.97 kB / 0.8531 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.7594, allocations: 0.9933 MB / 0.854 GB, free: 8.613 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.7594, allocations: 4 kB / 0.854 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006477/0.7659, allocations: 2.249 MB / 0.8562 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.7671, allocations: 406.9 kB / 0.8566 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004597/0.7676, allocations: 19.94 kB / 0.8566 GB, free: 5.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/0.7696, allocations: 163.8 kB / 0.8568 GB, free: 5.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.7697, allocations: 52.31 kB / 0.8568 GB, free: 5.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.7699, allocations: 43.95 kB / 0.8569 GB, free: 5.402 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00211/0.772, allocations: 1.005 MB / 0.8579 GB, free: 4.398 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.4e-07/0.772, allocations: 0 / 0.8579 GB, free: 4.398 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003412/0.7754, allocations: 0.9397 MB / 0.8588 GB, free: 3.457 MB / 0.67 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.001665/0.7771, allocations: 0.604 MB / 0.8594 GB, free: 2.852 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006755/0.7839, allocations: 1.861 MB / 0.8612 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.7839, allocations: 0.5625 kB / 0.8612 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.7858, allocations: 0.5293 MB / 0.8617 GB, free: 476 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/0.7902, allocations: 0.7766 MB / 0.8625 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00744/0.7976, allocations: 3.152 MB / 0.8655 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.7988, allocations: 1.234 MB / 0.8668 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002214/0.8011, allocations: 365.4 kB / 0.8671 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.8015, allocations: 127.3 kB / 0.8672 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of SimCode: time 7.92e-07/0.8015, allocations: 0 / 0.8672 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of Templates: time 0.06256/0.8641, allocations: 37.02 MB / 0.9034 GB, free: 6.164 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: