Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0008201/0.00082, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005981/0.005981, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 11.73 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 162.2 MB / 1.074 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1199/0.4462, allocations: 123.4 MB / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02351/0.4698, allocations: 15.42 MB / 1.21 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.4731, allocations: 63.56 kB / 1.21 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.4759, allocations: 0.7926 MB / 1.21 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007524/0.4834, allocations: 2.391 MB / 1.213 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005143/0.4886, allocations: 1.923 MB / 1.215 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007554/0.4961, allocations: 6.006 MB / 1.221 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.4986, allocations: 1.364 MB / 1.222 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/0.502, allocations: 1.481 MB / 1.223 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002734/0.5048, allocations: 1.244 MB / 1.225 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005716/0.5054, allocations: 72 kB / 1.225 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005201/0.5106, allocations: 1.801 MB / 1.226 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007763/0.5114, allocations: 370.3 kB / 1.227 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00232/0.5137, allocations: 0.946 MB / 1.228 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007555/0.5213, allocations: 3.524 MB / 1.231 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5213, allocations: 0 / 1.231 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5213, allocations: 3.938 kB / 1.231 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001033/0.5214, allocations: 4 kB / 1.231 GB, free: 6.344 MB / 0.9825 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.004782/0.5262, allocations: 2.059 MB / 1.233 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.5263, allocations: 11.97 kB / 1.233 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00586/0.5321, allocations: 0.7517 MB / 1.234 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/0.5352, allocations: 1.666 MB / 1.235 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.5353, allocations: 136.1 kB / 1.236 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.5356, allocations: 124 kB / 1.236 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.5398, allocations: 1.743 MB / 1.237 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.5399, allocations: 7.938 kB / 1.237 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.54, allocations: 56 kB / 1.238 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/0.5401, allocations: 36 kB / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004925/0.545, allocations: 1.543 MB / 1.239 GB, free: 13.97 MB / 0.9981 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.0107/0.5557, allocations: 7.564 MB / 1.246 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/0.56, allocations: 1.183 MB / 1.248 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.562, allocations: 0.604 MB / 1.248 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/0.5635, allocations: 1.278 MB / 1.249 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002353/0.5659, allocations: 0.703 MB / 1.25 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 2.985e-06/0.5659, allocations: 4 kB / 1.25 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.7547/1.321, allocations: 3.257 MB / 1.253 GB, free: 110.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.321, allocations: 138.9 kB / 1.253 GB, free: 110.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/1.323, allocations: 1.271 MB / 1.255 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/1.323, allocations: 48.64 kB / 1.255 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/1.324, allocations: 0.7162 MB / 1.255 GB, free: 110.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/1.324, allocations: 283.8 kB / 1.256 GB, free: 110.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/1.324, allocations: 84.67 kB / 1.256 GB, free: 110.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/1.324, allocations: 343 kB / 1.256 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/1.326, allocations: 0.5293 MB / 1.257 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/1.329, allocations: 0.8158 MB / 1.257 GB, free: 109.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/1.333, allocations: 1.26 MB / 1.259 GB, free: 109.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/1.333, allocations: 2.062 kB / 1.259 GB, free: 109.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005561/1.339, allocations: 1.683 MB / 1.26 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.339, allocations: 274.1 kB / 1.261 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.339, allocations: 15.55 kB / 1.261 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/1.341, allocations: 0.5637 MB / 1.261 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.342, allocations: 255.7 kB / 1.261 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/1.344, allocations: 1.177 MB / 1.263 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.346, allocations: 236.1 kB / 1.263 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.346, allocations: 58.7 kB / 1.263 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.966e-06/1.346, allocations: 2.625 kB / 1.263 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004839/1.351, allocations: 1.513 MB / 1.264 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.351, allocations: 5.062 kB / 1.264 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/1.353, allocations: 0.5772 MB / 1.265 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.354, allocations: 250.2 kB / 1.265 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/1.356, allocations: 1.175 MB / 1.266 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.358, allocations: 221.9 kB / 1.266 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.359, allocations: 58.88 kB / 1.266 GB, free: 107.6 MB / 0.9981 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.0008569/1.359, allocations: 477.4 kB / 1.267 GB, free: 107.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/1.36, allocations: 147.8 kB / 1.267 GB, free: 107.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/1.373, allocations: 2.168 MB / 1.269 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/1.373, allocations: 10.11 kB / 1.269 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.373, allocations: 0 / 1.269 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01321/1.387, allocations: 2.011 MB / 1.271 GB, free: 106.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009392/1.396, allocations: 3.671 MB / 1.275 GB, free: 106.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.396, allocations: 5.531 kB / 1.275 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/1.397, allocations: 183.1 kB / 1.275 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/1.399, allocations: 0.5575 MB / 1.275 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/1.399, allocations: 34.47 kB / 1.276 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/1.401, allocations: 1.163 MB / 1.277 GB, free: 105.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.401, allocations: 2.406 kB / 1.277 GB, free: 105.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005797/1.407, allocations: 1.616 MB / 1.278 GB, free: 105.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000962/1.408, allocations: 408.7 kB / 1.279 GB, free: 105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.408, allocations: 18.28 kB / 1.279 GB, free: 105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.41, allocations: 162.4 kB / 1.279 GB, free: 105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.41, allocations: 57.59 kB / 1.279 GB, free: 105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.411, allocations: 56 kB / 1.279 GB, free: 105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001602/1.412, allocations: 0.8711 MB / 1.28 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.412, allocations: 0 / 1.28 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00301/1.415, allocations: 0.9621 MB / 1.281 GB, free: 104.8 MB / 0.9981 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.002253/1.417, allocations: 0.8829 MB / 1.282 GB, free: 104.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007428/1.425, allocations: 2.048 MB / 1.284 GB, free: 104.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.425, allocations: 6.031 kB / 1.284 GB, free: 104.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002365/1.427, allocations: 0.6351 MB / 1.284 GB, free: 104.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/1.432, allocations: 0.7517 MB / 1.285 GB, free: 104.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006255/1.438, allocations: 3.4 MB / 1.288 GB, free: 102.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008119/1.439, allocations: 1.256 MB / 1.289 GB, free: 102 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002142/1.441, allocations: 367.3 kB / 1.29 GB, free: 101.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/1.442, allocations: 145.2 kB / 1.29 GB, free: 101.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/1.442, allocations: 2.812 kB / 1.29 GB, free: 101.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06028/1.502, allocations: 38.21 MB / 1.327 GB, free: 85.25 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)