Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 102.9 kB / 16.94 MB, free: 5.777 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.002012/0.002013, allocations: 191.3 kB / 17.87 MB, free: 5.16 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.458/1.458, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8022/0.8022, allocations: 122.8 MB / 414.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 63.91 kB / 0.4917 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4303, allocations: 77.92 MB / 0.5678 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1203/0.5507, allocations: 126.1 MB / 0.691 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02353/0.5743, allocations: 15.43 MB / 0.706 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.5779, allocations: 75.56 kB / 0.7061 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.5812, allocations: 0.9588 MB / 0.7071 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008225/0.5895, allocations: 2.618 MB / 0.7096 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006314/0.5958, allocations: 2.103 MB / 0.7117 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007519/0.6033, allocations: 4.791 MB / 0.7163 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.6063, allocations: 1.699 MB / 0.718 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.6113, allocations: 1.826 MB / 0.7198 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.6141, allocations: 1.334 MB / 0.7211 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000615/0.6147, allocations: 204 kB / 0.7213 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005173/0.6199, allocations: 1.982 MB / 0.7232 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007144/0.6207, allocations: 0.4944 MB / 0.7237 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.6224, allocations: 1.085 MB / 0.7248 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006037/0.6284, allocations: 3.666 MB / 0.7283 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.6285, allocations: 4 kB / 0.7283 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6285, allocations: 3.938 kB / 0.7283 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.383e-05/0.6285, allocations: 0 / 0.7283 GB, free: 6.141 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004529/0.6331, allocations: 2.447 MB / 0.7307 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6331, allocations: 12.62 kB / 0.7308 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00547/0.6386, allocations: 0.7127 MB / 0.7314 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.6414, allocations: 1.623 MB / 0.733 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.6416, allocations: 136.1 kB / 0.7332 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.6418, allocations: 128 kB / 0.7333 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.6457, allocations: 1.733 MB / 0.735 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.6458, allocations: 4 kB / 0.735 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.6459, allocations: 56 kB / 0.735 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/0.646, allocations: 43.98 kB / 0.7351 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004658/0.6506, allocations: 1.508 MB / 0.7365 GB, free: 13.5 MB / 0.5762 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.01043/0.6611, allocations: 7.603 MB / 0.744 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.6652, allocations: 1.158 MB / 0.7451 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.6672, allocations: 0.6035 MB / 0.7457 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.6685, allocations: 1.271 MB / 0.7469 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002238/0.6708, allocations: 0.6913 MB / 0.7476 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.777e-06/0.6708, allocations: 0 / 0.7476 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.377/1.048, allocations: 3.165 MB / 0.7507 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/1.048, allocations: 138.7 kB / 0.7508 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/1.05, allocations: 1.289 MB / 0.7521 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/1.051, allocations: 46.38 kB / 0.7521 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007196/1.051, allocations: 0.7207 MB / 0.7528 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/1.052, allocations: 280.8 kB / 0.7531 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004781/1.052, allocations: 223.8 kB / 0.7533 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.052, allocations: 347 kB / 0.7537 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/1.055, allocations: 0.5288 MB / 0.7542 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/1.057, allocations: 0.8008 MB / 0.7549 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/1.061, allocations: 1.232 MB / 0.7562 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.061, allocations: 1.969 kB / 0.7562 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005737/1.067, allocations: 1.655 MB / 0.7578 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.067, allocations: 6.531 kB / 0.7578 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/1.067, allocations: 11.09 kB / 0.7578 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/1.069, allocations: 0.5644 MB / 0.7583 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.071, allocations: 248 kB / 0.7586 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/1.073, allocations: 1.171 MB / 0.7597 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.075, allocations: 181.5 kB / 0.7599 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.075, allocations: 57.52 kB / 0.7599 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002629/1.078, allocations: 0.8263 MB / 0.7608 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002206/1.08, allocations: 0.7913 MB / 0.7615 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003882/1.084, allocations: 1.215 MB / 0.7627 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.805e-06/1.084, allocations: 2.75 kB / 0.7627 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005262/1.089, allocations: 1.64 MB / 0.7643 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.089, allocations: 7.75 kB / 0.7643 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.089, allocations: 8.062 kB / 0.7643 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/1.091, allocations: 0.5723 MB / 0.7649 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.092, allocations: 246.5 kB / 0.7651 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/1.094, allocations: 1.17 MB / 0.7663 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.096, allocations: 155.7 kB / 0.7664 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.096, allocations: 58.62 kB / 0.7665 GB, free: 158.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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 {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/1.097, allocations: 246.8 kB / 0.7667 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/1.097, allocations: 151.3 kB / 0.7669 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.109, allocations: 2.118 MB / 0.7689 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.109, allocations: 8.969 kB / 0.7689 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.109, allocations: 0 / 0.7689 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01171/1.121, allocations: 1.955 MB / 0.7708 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008428/1.13, allocations: 3.648 MB / 0.7744 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.13, allocations: 1.375 kB / 0.7744 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.131, allocations: 181.1 kB / 0.7746 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/1.133, allocations: 0.5603 MB / 0.7751 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.802e-05/1.133, allocations: 31.83 kB / 0.7752 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/1.134, allocations: 1.16 MB / 0.7763 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.134, allocations: 0 / 0.7763 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/1.139, allocations: 1.591 MB / 0.7778 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/1.14, allocations: 381.8 kB / 0.7782 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/1.14, allocations: 15.97 kB / 0.7782 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.142, allocations: 110.3 kB / 0.7783 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.142, allocations: 52.12 kB / 0.7784 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.815e-05/1.142, allocations: 54.02 kB / 0.7784 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00108/1.143, allocations: 0.8886 MB / 0.7793 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/1.143, allocations: 0 / 0.7793 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002436/1.146, allocations: 0.9673 MB / 0.7802 GB, free: 150.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002023/1.148, allocations: 0.8972 MB / 0.7811 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006867/1.154, allocations: 2.08 MB / 0.7831 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.155, allocations: 0 / 0.7831 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/1.157, allocations: 0.6242 MB / 0.7838 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.16, allocations: 0.7704 MB / 0.7845 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/1.166, allocations: 2.78 MB / 0.7872 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/1.166, allocations: 1.255 MB / 0.7884 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/1.167, allocations: 163.3 kB / 0.7886 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/1.167, allocations: 0 / 0.7886 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.04076/1.207, allocations: 37.39 MB / 0.8251 GB, free: 107.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)