Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.979/2.979, allocations: 287.3 MB / 302.3 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001585, allocations: 186.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.268/2.268, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 84.48 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004947, allocations: 12.19 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.8668/1.085, allocations: 105.5 MB / 1.081 GB, free: 31.09 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02705/1.112, allocations: 12.92 MB / 1.094 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/1.116, allocations: 64.25 kB / 1.094 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004538/1.121, allocations: 0.8237 MB / 1.095 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/1.132, allocations: 2.221 MB / 1.097 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009845/1.142, allocations: 1.973 MB / 1.099 GB, free: 30.89 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007765/1.149, allocations: 2.725 MB / 1.101 GB, free: 30.88 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00324/1.153, allocations: 1.23 MB / 1.103 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/1.158, allocations: 1.314 MB / 1.104 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/1.161, allocations: 0.8636 MB / 1.105 GB, free: 30.72 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008526/1.162, allocations: 70.59 kB / 1.105 GB, free: 30.72 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006749/1.168, allocations: 1.216 MB / 1.106 GB, free: 30.72 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/1.17, allocations: 336.3 kB / 1.106 GB, free: 30.66 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001779/1.172, allocations: 419.5 kB / 1.107 GB, free: 30.57 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009529/1.181, allocations: 2.569 MB / 1.109 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.181, allocations: 0 / 1.109 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.767e-06/1.181, allocations: 0 / 1.109 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001119/1.182, allocations: 0 / 1.109 GB, free: 30.39 MB / 0.6823 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.009016/1.191, allocations: 2.045 MB / 1.111 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.191, allocations: 11.34 kB / 1.111 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/1.202, allocations: 0.7515 MB / 1.112 GB, free: 29.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004644/1.207, allocations: 1.535 MB / 1.113 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/1.207, allocations: 130.8 kB / 1.114 GB, free: 28.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004616/1.208, allocations: 130.9 kB / 1.114 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007626/1.215, allocations: 1.726 MB / 1.115 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/1.215, allocations: 0 / 1.115 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/1.216, allocations: 59.67 kB / 1.115 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/1.216, allocations: 37.25 kB / 1.116 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00919/1.225, allocations: 1.534 MB / 1.117 GB, free: 28.31 MB / 0.6823 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.01823/1.243, allocations: 7.601 MB / 1.124 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008917/1.252, allocations: 1.182 MB / 1.126 GB, free: 23.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/1.254, allocations: 1.274 MB / 1.127 GB, free: 21.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004773/1.259, allocations: 0.7054 MB / 1.128 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 5.611e-06/1.259, allocations: 0 / 1.128 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.03482/1.294, allocations: 3.225 MB / 1.131 GB, free: 20.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/1.294, allocations: 137.1 kB / 1.131 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/1.297, allocations: 1.314 MB / 1.132 GB, free: 19.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004272/1.297, allocations: 46.83 kB / 1.132 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008095/1.298, allocations: 0.7163 MB / 1.133 GB, free: 18.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005019/1.299, allocations: 280.3 kB / 1.133 GB, free: 18.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/1.299, allocations: 19.25 kB / 1.133 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.299, allocations: 347.3 kB / 1.133 GB, free: 17.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003943/1.303, allocations: 0.5299 MB / 1.134 GB, free: 17.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/1.307, allocations: 0.8091 MB / 1.135 GB, free: 17.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/1.311, allocations: 0.5763 MB / 1.135 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/1.311, allocations: 3.562 kB / 1.135 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01059/1.322, allocations: 1.673 MB / 1.137 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000523/1.323, allocations: 2.399 MB / 1.139 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.323, allocations: 5.312 kB / 1.139 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003533/1.326, allocations: 0.5847 MB / 1.14 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/1.329, allocations: 254.8 kB / 1.14 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/1.333, allocations: 1.172 MB / 1.141 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/1.337, allocations: 248.7 kB / 1.142 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004004/1.337, allocations: 59.25 kB / 1.142 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.337, allocations: 2.781 kB / 1.142 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009847/1.347, allocations: 1.507 MB / 1.143 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/1.347, allocations: 6.406 kB / 1.143 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003337/1.351, allocations: 0.5688 MB / 1.144 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/1.354, allocations: 245.4 kB / 1.144 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/1.357, allocations: 1.182 MB / 1.145 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/1.361, allocations: 229.8 kB / 1.145 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004041/1.362, allocations: 58.09 kB / 1.145 GB, free: 9.965 MB / 0.6823 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 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$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 (91): * Single equations (assignments): 90 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001587/1.363, allocations: 471 kB / 1.146 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009673/1.364, allocations: 150.6 kB / 1.146 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03791/1.402, allocations: 2.165 MB / 1.148 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/1.402, allocations: 6.562 kB / 1.148 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/1.402, allocations: 0 / 1.148 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03496/1.437, allocations: 2.006 MB / 1.15 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/1.454, allocations: 3.681 MB / 1.154 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.455, allocations: 0 / 1.154 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/1.457, allocations: 179.8 kB / 1.154 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/1.46, allocations: 0.5488 MB / 1.154 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/1.46, allocations: 42.14 kB / 1.154 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/1.463, allocations: 1.161 MB / 1.155 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.463, allocations: 3.188 kB / 1.155 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009294/1.473, allocations: 1.704 MB / 1.157 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.474, allocations: 422.7 kB / 1.157 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005679/1.475, allocations: 17.59 kB / 1.157 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003949/1.479, allocations: 168.7 kB / 1.158 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/1.479, allocations: 53.92 kB / 1.158 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002709/1.48, allocations: 57.42 kB / 1.158 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002099/1.482, allocations: 0.8885 MB / 1.159 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/1.482, allocations: 3.938 kB / 1.159 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005477/1.487, allocations: 0.9725 MB / 1.16 GB, free: 1.207 MB / 0.6823 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 (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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003328/1.491, allocations: 0.8871 MB / 1.16 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0136/1.504, allocations: 2.04 MB / 1.162 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.504, allocations: 0 / 1.162 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004535/1.509, allocations: 0.6399 MB / 1.163 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006937/1.516, allocations: 0.7458 MB / 1.164 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.527, allocations: 3.217 MB / 1.167 GB, free: 10.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.529, allocations: 1.292 MB / 1.168 GB, free: 9.062 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003319/1.532, allocations: 371.9 kB / 1.169 GB, free: 8.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/1.533, allocations: 147.2 kB / 1.169 GB, free: 8.551 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.533, allocations: 0 / 1.169 GB, free: 8.551 MB / 0.698 GB Notification: Performance of Templates: time 0.1295/1.662, allocations: 38.14 MB / 1.206 GB, free: 2.828 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)