Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.4 MB / 304.3 MB, free: 8.18 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.0008975/0.0008976, allocations: 179.3 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0007469/0.0007469, allocations: 86.38 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000636/0.0006361, allocations: 12.16 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2073, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.5077/0.7151, allocations: 116.5 MB / 1.094 GB, free: 34.52 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01887/0.734, allocations: 14.26 MB / 1.108 GB, free: 33.56 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/0.7369, allocations: 64.72 kB / 1.108 GB, free: 33.56 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.7394, allocations: 0.6801 MB / 1.109 GB, free: 33.36 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007415/0.7469, allocations: 2.129 MB / 1.111 GB, free: 32.55 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006614/0.7535, allocations: 1.562 MB / 1.113 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.765, allocations: 5.207 MB / 1.118 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.768, allocations: 1.344 MB / 1.119 GB, free: 29.37 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.7719, allocations: 1.469 MB / 1.121 GB, free: 28.83 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003081/0.775, allocations: 1.171 MB / 1.122 GB, free: 28.44 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003854/0.7754, allocations: 70.91 kB / 1.122 GB, free: 28.44 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/0.7812, allocations: 1.711 MB / 1.123 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006805/0.782, allocations: 347.6 kB / 1.124 GB, free: 27.85 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.7839, allocations: 0.908 MB / 1.125 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0043/0.7882, allocations: 2.776 MB / 1.127 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7882, allocations: 3.938 kB / 1.127 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7882, allocations: 0 / 1.127 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.851e-05/0.7883, allocations: 1.469 kB / 1.127 GB, free: 26.81 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.004788/0.7931, allocations: 2.065 MB / 1.129 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.7931, allocations: 9.312 kB / 1.129 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005704/0.7988, allocations: 0.7536 MB / 1.13 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.8019, allocations: 1.646 MB / 1.132 GB, free: 23.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.8021, allocations: 131.1 kB / 1.132 GB, free: 23.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.8023, allocations: 125.2 kB / 1.132 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004017/0.8063, allocations: 1.737 MB / 1.134 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.8064, allocations: 1.281 kB / 1.134 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.8065, allocations: 53.94 kB / 1.134 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.318e-05/0.8066, allocations: 52.19 kB / 1.134 GB, free: 22.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004785/0.8114, allocations: 1.521 MB / 1.135 GB, free: 21.61 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.009719/0.8211, allocations: 7.568 MB / 1.143 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/0.8253, allocations: 1.184 MB / 1.144 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.8272, allocations: 0.6033 MB / 1.144 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009989/0.8282, allocations: 1.277 MB / 1.146 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002148/0.8304, allocations: 0.7006 MB / 1.146 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 4.719e-06/0.8304, allocations: 0 / 1.146 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.01772/0.8481, allocations: 3.256 MB / 1.15 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.8482, allocations: 141.5 kB / 1.15 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.8499, allocations: 1.254 MB / 1.151 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.8501, allocations: 48.8 kB / 1.151 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.8505, allocations: 0.7229 MB / 1.152 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.8508, allocations: 274.2 kB / 1.152 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.8508, allocations: 22.75 kB / 1.152 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.8509, allocations: 346.8 kB / 1.152 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.8527, allocations: 0.5272 MB / 1.153 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.8547, allocations: 0.8086 MB / 1.154 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/0.8584, allocations: 1.247 MB / 1.155 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.8584, allocations: 1.625 kB / 1.155 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005083/0.8635, allocations: 1.676 MB / 1.156 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.8637, allocations: 266.7 kB / 1.157 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.8637, allocations: 4.75 kB / 1.157 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.8656, allocations: 0.5735 MB / 1.157 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.867, allocations: 254.7 kB / 1.157 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.8688, allocations: 1.181 MB / 1.159 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.871, allocations: 234.7 kB / 1.159 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.8711, allocations: 58.52 kB / 1.159 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.8712, allocations: 3.312 kB / 1.159 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00458/0.8758, allocations: 1.511 MB / 1.16 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.8758, allocations: 9.406 kB / 1.16 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.8776, allocations: 0.5698 MB / 1.161 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.8788, allocations: 252.4 kB / 1.161 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.8806, allocations: 1.176 MB / 1.162 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.8827, allocations: 229.2 kB / 1.163 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.8828, allocations: 56.52 kB / 1.163 GB, free: 2.395 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.0008375/0.8837, allocations: 475.1 kB / 1.163 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.8839, allocations: 153.4 kB / 1.163 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.8961, allocations: 2.159 MB / 1.165 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01204/0.9082, allocations: 1.999 MB / 1.167 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.9083, allocations: 0 / 1.167 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.9095, allocations: 414.7 kB / 1.168 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.9098, allocations: 16 kB / 1.168 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.9115, allocations: 159.3 kB / 1.168 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.9116, allocations: 52.58 kB / 1.168 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007812/0.9194, allocations: 1.793 MB / 1.17 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006669/0.9261, allocations: 2.123 MB / 1.172 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001925/0.9281, allocations: 0.5558 MB / 1.172 GB, free: 9.875 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001488/0.9296, allocations: 0.8515 MB / 1.173 GB, free: 9.023 MB / 0.698 GB Notification: Performance of Backend: time 6.31e-07/0.9296, allocations: 0 / 1.173 GB, free: 9.023 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00883/0.9384, allocations: 2.652 MB / 1.176 GB, free: 6.598 MB / 0.698 GB Notification: Performance of SimCode: time 0.007199/0.9457, allocations: 4.079 MB / 1.18 GB, free: 2.48 MB / 0.698 GB Notification: Performance of Templates: time 0.0704/1.016, allocations: 43.22 MB / 1.222 GB, free: 7.523 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)