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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 175.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4762/0.4762, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 348.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007966/0.0007968, allocations: 96.08 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 12 kB / 0.4901 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3386, allocations: 71.02 MB / 0.5594 GB, free: 43.92 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8658/1.204, allocations: 389.5 MB / 0.9399 GB, free: 230.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.205, allocations: 100.5 kB / 0.94 GB, free: 230.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.59/2.794, allocations: 0.5567 GB / 1.497 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/2.795, allocations: 0 / 1.497 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001365/2.795, allocations: 54.31 kB / 1.497 GB, free: 83.54 MB / 0.6042 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.003655/2.798, allocations: 2.213 MB / 1.499 GB, free: 82.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/2.798, allocations: 10.88 kB / 1.499 GB, free: 82.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004088/2.802, allocations: 0.6737 MB / 1.5 GB, free: 82.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/2.805, allocations: 1.883 MB / 1.501 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/2.805, allocations: 137 kB / 1.502 GB, free: 81.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/2.806, allocations: 123.6 kB / 1.502 GB, free: 81.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/2.809, allocations: 1.747 MB / 1.503 GB, free: 81.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/2.809, allocations: 1.875 kB / 1.503 GB, free: 81.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/2.809, allocations: 53.22 kB / 1.503 GB, free: 81.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/2.809, allocations: 40.03 kB / 1.503 GB, free: 81.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003978/2.813, allocations: 1.54 MB / 1.505 GB, free: 81.61 MB / 0.6042 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.008247/2.821, allocations: 7.491 MB / 1.512 GB, free: 78.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/2.825, allocations: 1.205 MB / 1.513 GB, free: 78.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/2.826, allocations: 0.6241 MB / 1.514 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/2.827, allocations: 1.275 MB / 1.515 GB, free: 76.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/2.829, allocations: 0.7213 MB / 1.516 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 3.306e-06/2.829, allocations: 0 / 1.516 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79): time 0.01931/2.849, allocations: 3.617 MB / 1.52 GB, free: 76.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/2.849, allocations: 164.7 kB / 1.52 GB, free: 76.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/2.85, allocations: 1.289 MB / 1.521 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/2.851, allocations: 47.8 kB / 1.521 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/2.851, allocations: 0.7267 MB / 1.522 GB, free: 75.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/2.851, allocations: 276 kB / 1.522 GB, free: 75.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/2.851, allocations: 18.75 kB / 1.522 GB, free: 75.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.414e-05/2.851, allocations: 346.8 kB / 1.522 GB, free: 75.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/2.853, allocations: 0.5426 MB / 1.523 GB, free: 75.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/2.855, allocations: 0.854 MB / 1.524 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/2.858, allocations: 1.266 MB / 1.525 GB, free: 74.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/2.858, allocations: 3.594 kB / 1.525 GB, free: 74.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.004471/2.863, allocations: 1.69 MB / 1.527 GB, free: 74.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.702e-05/2.863, allocations: 276.2 kB / 1.527 GB, free: 74.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/2.863, allocations: 6.094 kB / 1.527 GB, free: 74.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/2.865, allocations: 0.5748 MB / 1.527 GB, free: 74.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/2.866, allocations: 241.7 kB / 1.528 GB, free: 74.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/2.867, allocations: 1.189 MB / 1.529 GB, free: 73.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/2.869, allocations: 240.9 kB / 1.529 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/2.869, allocations: 55.86 kB / 1.529 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/2.869, allocations: 6.312 kB / 1.529 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004019/2.873, allocations: 1.504 MB / 1.531 GB, free: 73.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/2.873, allocations: 7.531 kB / 1.531 GB, free: 73.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/2.875, allocations: 0.5737 MB / 1.531 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/2.876, allocations: 239.4 kB / 1.531 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/2.878, allocations: 1.179 MB / 1.533 GB, free: 73.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/2.88, allocations: 221.1 kB / 1.533 GB, free: 73.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/2.88, allocations: 57.53 kB / 1.533 GB, free: 73.05 MB / 0.6042 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 (83): * Single equations (assignments): 82 * 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.0008446/2.881, allocations: 464.1 kB / 1.533 GB, free: 72.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/2.881, allocations: 151.3 kB / 1.533 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004489/2.885, allocations: 1.673 MB / 1.535 GB, free: 72.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/2.885, allocations: 10.59 kB / 1.535 GB, free: 72.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/2.885, allocations: 0 / 1.535 GB, free: 72.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003768/2.889, allocations: 1.458 MB / 1.536 GB, free: 72.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006391/2.896, allocations: 3.313 MB / 1.54 GB, free: 72.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/2.896, allocations: 0 / 1.54 GB, free: 72.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009892/2.897, allocations: 190 kB / 1.54 GB, free: 72.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/2.898, allocations: 0.5443 MB / 1.54 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/2.898, allocations: 37.56 kB / 1.54 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/2.9, allocations: 1.176 MB / 1.542 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/2.9, allocations: 6.969 kB / 1.542 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/2.904, allocations: 1.654 MB / 1.543 GB, free: 70.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/2.905, allocations: 412.6 kB / 1.544 GB, free: 70.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/2.905, allocations: 23.25 kB / 1.544 GB, free: 70.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/2.907, allocations: 171.4 kB / 1.544 GB, free: 70.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/2.907, allocations: 52.69 kB / 1.544 GB, free: 70.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.822e-05/2.907, allocations: 55.88 kB / 1.544 GB, free: 70.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001162/2.908, allocations: 0.8894 MB / 1.545 GB, free: 69.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/2.908, allocations: 0 / 1.545 GB, free: 69.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002479/2.911, allocations: 1.035 MB / 1.546 GB, free: 69.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (56): * Single equations (assignments): 51 * 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.002008/2.913, allocations: 1.181 MB / 1.547 GB, free: 69.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00584/2.919, allocations: 2.071 MB / 1.549 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/2.919, allocations: 0 / 1.549 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/2.92, allocations: 0.6596 MB / 1.55 GB, free: 68.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/2.924, allocations: 0.7765 MB / 1.55 GB, free: 68.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/2.929, allocations: 3.284 MB / 1.554 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/2.93, allocations: 1.261 MB / 1.555 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001702/2.931, allocations: 386.2 kB / 1.555 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/2.932, allocations: 143.2 kB / 1.555 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/2.932, allocations: 0 / 1.555 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.05152/2.983, allocations: 41.74 MB / 1.596 GB, free: 37.26 MB / 0.6042 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)