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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001434/0.001434, allocations: 183.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5009/0.5009, allocations: 91.99 MB / 108.5 MB, free: 13.06 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.628/1.628, allocations: 223.2 MB / 354.3 MB, free: 10.44 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.000975/0.0009751, allocations: 92.22 kB / 427.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003282, allocations: 11.94 kB / 0.4982 GB, free: 42.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 72.31 MB / 0.5689 GB, free: 1.707 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.167, allocations: 391.9 MB / 0.9516 GB, free: 75.47 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/1.167, allocations: 101.3 kB / 0.9517 GB, free: 75.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.285/3.452, allocations: 0.5685 GB / 1.52 GB, free: 70.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/3.452, allocations: 0 / 1.52 GB, free: 70.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003081/3.452, allocations: 48.03 kB / 1.52 GB, free: 70.17 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.008332/3.461, allocations: 2.257 MB / 1.522 GB, free: 69.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/3.461, allocations: 7.594 kB / 1.522 GB, free: 69.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005652/3.466, allocations: 0.6813 MB / 1.523 GB, free: 69.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/3.471, allocations: 1.891 MB / 1.525 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/3.471, allocations: 137.9 kB / 1.525 GB, free: 68.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/3.472, allocations: 119.1 kB / 1.525 GB, free: 68.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003882/3.475, allocations: 1.745 MB / 1.527 GB, free: 68.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/3.475, allocations: 2.062 kB / 1.527 GB, free: 68.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/3.476, allocations: 56.08 kB / 1.527 GB, free: 68.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/3.476, allocations: 49.98 kB / 1.527 GB, free: 68.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004747/3.48, allocations: 1.533 MB / 1.528 GB, free: 68.59 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.01063/3.491, allocations: 7.524 MB / 1.536 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/3.495, allocations: 1.232 MB / 1.537 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/3.496, allocations: 1.275 MB / 1.538 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002311/3.499, allocations: 0.718 MB / 1.539 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 2.886e-06/3.499, allocations: 0 / 1.539 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79): time 0.02294/3.522, allocations: 3.583 MB / 1.542 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/3.522, allocations: 170.5 kB / 1.543 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/3.525, allocations: 1.185 MB / 1.544 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003508/3.526, allocations: 51.98 kB / 1.544 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009152/3.526, allocations: 0.7274 MB / 1.545 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000461/3.527, allocations: 280.3 kB / 1.545 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/3.527, allocations: 17.72 kB / 1.545 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001044/3.527, allocations: 348.3 kB / 1.545 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/3.529, allocations: 0.5442 MB / 1.546 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/3.531, allocations: 0.8516 MB / 1.547 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/3.533, allocations: 0.5925 MB / 1.547 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/3.533, allocations: 3.531 kB / 1.547 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00512/3.538, allocations: 1.69 MB / 1.549 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005173/3.539, allocations: 2.408 MB / 1.551 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/3.539, allocations: 10.09 kB / 1.551 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/3.541, allocations: 0.5715 MB / 1.552 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/3.542, allocations: 245.4 kB / 1.552 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/3.544, allocations: 1.189 MB / 1.553 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/3.547, allocations: 243.3 kB / 1.553 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/3.547, allocations: 63.09 kB / 1.553 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/3.547, allocations: 3.5 kB / 1.553 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004763/3.552, allocations: 1.503 MB / 1.555 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/3.552, allocations: 7.531 kB / 1.555 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/3.553, allocations: 0.5689 MB / 1.555 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/3.555, allocations: 237.1 kB / 1.556 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/3.557, allocations: 1.181 MB / 1.557 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/3.559, allocations: 226.4 kB / 1.557 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/3.559, allocations: 52.39 kB / 1.557 GB, free: 58.25 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.00129/3.561, allocations: 478.3 kB / 1.557 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/3.561, allocations: 149.7 kB / 1.558 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/3.566, allocations: 1.676 MB / 1.559 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/3.566, allocations: 9.406 kB / 1.559 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/3.566, allocations: 0 / 1.559 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004231/3.571, allocations: 1.449 MB / 1.561 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/3.581, allocations: 3.337 MB / 1.564 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/3.581, allocations: 0 / 1.564 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/3.582, allocations: 190.2 kB / 1.564 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/3.584, allocations: 0.5521 MB / 1.565 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/3.584, allocations: 34.06 kB / 1.565 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/3.586, allocations: 1.165 MB / 1.566 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/3.586, allocations: 0 / 1.566 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/3.591, allocations: 1.713 MB / 1.568 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/3.592, allocations: 427.2 kB / 1.568 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005036/3.592, allocations: 19.94 kB / 1.568 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/3.595, allocations: 160.8 kB / 1.568 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/3.595, allocations: 56.59 kB / 1.568 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/3.595, allocations: 54.03 kB / 1.568 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0018/3.597, allocations: 0.9299 MB / 1.569 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/3.597, allocations: 2.625 kB / 1.569 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00427/3.601, allocations: 1.077 MB / 1.57 GB, free: 55.89 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.003046/3.604, allocations: 1.24 MB / 1.571 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006883/3.611, allocations: 2.068 MB / 1.573 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/3.611, allocations: 1.594 kB / 1.573 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/3.613, allocations: 0.6615 MB / 1.574 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/3.617, allocations: 0.7644 MB / 1.575 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/3.624, allocations: 3.281 MB / 1.578 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/3.625, allocations: 1.302 MB / 1.579 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002265/3.628, allocations: 389.8 kB / 1.58 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004773/3.628, allocations: 145.2 kB / 1.58 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/3.628, allocations: 0 / 1.58 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.06211/3.69, allocations: 41.7 MB / 1.62 GB, free: 50.96 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)