Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001077/0.001077, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.0009913/0.0009913, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 291.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 95.86 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4198, allocations: 86.97 MB / 0.7671 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1198/0.5397, allocations: 126.1 MB / 0.8902 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.5614, allocations: 15.44 MB / 0.9053 GB, free: 6.008 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.564, allocations: 75.56 kB / 0.9054 GB, free: 5.934 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.5669, allocations: 0.9588 MB / 0.9063 GB, free: 4.969 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.5737, allocations: 2.612 MB / 0.9089 GB, free: 2.348 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005232/0.579, allocations: 2.133 MB / 0.9109 GB, free: 240 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005837/0.5848, allocations: 4.793 MB / 0.9156 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.5873, allocations: 1.708 MB / 0.9173 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003674/0.591, allocations: 1.862 MB / 0.9191 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.5934, allocations: 1.339 MB / 0.9204 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002968/0.5937, allocations: 204 kB / 0.9206 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.5974, allocations: 2.044 MB / 0.9226 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004191/0.5979, allocations: 0.5023 MB / 0.9231 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.5989, allocations: 1.073 MB / 0.9242 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004315/0.6032, allocations: 3.711 MB / 0.9278 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6033, allocations: 0 / 0.9278 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6033, allocations: 0 / 0.9278 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.774e-05/0.6033, allocations: 0 / 0.9278 GB, free: 14.93 MB / 0.7012 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.003852/0.6071, allocations: 2.447 MB / 0.9302 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.6072, allocations: 8.031 kB / 0.9302 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005743/0.6129, allocations: 0.7127 MB / 0.9309 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.6155, allocations: 1.693 MB / 0.9325 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.6156, allocations: 132.1 kB / 0.9326 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.6158, allocations: 131.9 kB / 0.9328 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/0.6197, allocations: 1.728 MB / 0.9345 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.6198, allocations: 3.938 kB / 0.9345 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.6199, allocations: 55.98 kB / 0.9345 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/0.62, allocations: 36 kB / 0.9346 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004822/0.6248, allocations: 1.511 MB / 0.936 GB, free: 6.227 MB / 0.7012 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.009747/0.6346, allocations: 7.533 MB / 0.9434 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/0.6389, allocations: 1.159 MB / 0.9445 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.6409, allocations: 0.5938 MB / 0.9451 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.6424, allocations: 1.275 MB / 0.9463 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002266/0.6447, allocations: 0.6952 MB / 0.947 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=80): time 3.506e-06/0.6447, allocations: 0 / 0.947 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80): time 0.01834/0.663, allocations: 3.171 MB / 0.9501 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.6631, allocations: 137.2 kB / 0.9502 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.6648, allocations: 1.286 MB / 0.9515 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.6649, allocations: 49.7 kB / 0.9516 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/0.6656, allocations: 0.7192 MB / 0.9523 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.6659, allocations: 276.1 kB / 0.9525 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/0.6663, allocations: 218.4 kB / 0.9527 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6665, allocations: 349.9 kB / 0.9531 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.6685, allocations: 0.5278 MB / 0.9536 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.6707, allocations: 0.7944 MB / 0.9543 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004039/0.6747, allocations: 1.233 MB / 0.9556 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.6748, allocations: 0 / 0.9556 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.3221/0.9968, allocations: 1.658 MB / 0.9572 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.9969, allocations: 8.547 kB / 0.9572 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.9969, allocations: 9.906 kB / 0.9572 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.9991, allocations: 0.5623 MB / 0.9577 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.001, allocations: 247.6 kB / 0.958 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/1.003, allocations: 1.166 MB / 0.9591 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/1.005, allocations: 180.1 kB / 0.9593 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.005, allocations: 60.84 kB / 0.9593 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002393/1.007, allocations: 0.8296 MB / 0.9602 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002057/1.009, allocations: 0.7908 MB / 0.9609 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003831/1.013, allocations: 1.213 MB / 0.9621 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.48e-06/1.013, allocations: 2.5 kB / 0.9621 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005019/1.018, allocations: 1.64 MB / 0.9637 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.018, allocations: 11.25 kB / 0.9637 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.018, allocations: 7.531 kB / 0.9637 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/1.02, allocations: 0.5724 MB / 0.9643 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.021, allocations: 239.8 kB / 0.9645 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/1.023, allocations: 1.179 MB / 0.9657 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/1.025, allocations: 160.1 kB / 0.9658 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.985e-05/1.025, allocations: 53.3 kB / 0.9659 GB, free: 180.2 MB / 0.7169 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.0003516/1.025, allocations: 245.3 kB / 0.9661 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/1.026, allocations: 155.8 kB / 0.9663 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.038, allocations: 2.122 MB / 0.9683 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0119/1.05, allocations: 1.953 MB / 0.9702 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.05, allocations: 0 / 0.9702 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/1.051, allocations: 382.1 kB / 0.9706 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.051, allocations: 15.94 kB / 0.9706 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/1.052, allocations: 112.5 kB / 0.9707 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/1.053, allocations: 47.19 kB / 0.9708 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007158/1.06, allocations: 1.744 MB / 0.9725 GB, free: 178 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005857/1.066, allocations: 2.087 MB / 0.9745 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001777/1.067, allocations: 0.5447 MB / 0.975 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009624/1.068, allocations: 0.8865 MB / 0.9759 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of Backend: time 1.122e-06/1.068, allocations: 0 / 0.9759 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007449/1.076, allocations: 2.64 MB / 0.9785 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004914/1.081, allocations: 3.563 MB / 0.982 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.05113/1.132, allocations: 45.81 MB / 1.027 GB, free: 125 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)