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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9608/0.9608, allocations: 143.4 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 171.6 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 447.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000856/0.0008558, allocations: 88.27 kB / 0.5188 GB, free: 2.879 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 267.3 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004558, allocations: 12 kB / 0.6929 GB, free: 2.297 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3909, allocations: 82.78 MB / 0.7737 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8042/1.195, allocations: 399 MB / 1.163 GB, free: 5.836 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/1.195, allocations: 102.6 kB / 1.163 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.356/3.551, allocations: 0.5661 GB / 1.73 GB, free: 100.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.986e-06/3.551, allocations: 0 / 1.73 GB, free: 100.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001505/3.551, allocations: 46.33 kB / 1.73 GB, free: 100.1 MB / 0.698 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.004801/3.556, allocations: 2.245 MB / 1.732 GB, free: 99.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/3.556, allocations: 11.83 kB / 1.732 GB, free: 99.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/3.561, allocations: 0.6804 MB / 1.733 GB, free: 99.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/3.566, allocations: 1.878 MB / 1.734 GB, free: 98.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/3.566, allocations: 133.3 kB / 1.734 GB, free: 98.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/3.566, allocations: 125.3 kB / 1.735 GB, free: 98.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004249/3.57, allocations: 1.737 MB / 1.736 GB, free: 98.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/3.57, allocations: 4.531 kB / 1.736 GB, free: 98.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/3.571, allocations: 58.36 kB / 1.736 GB, free: 98.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/3.571, allocations: 49 kB / 1.736 GB, free: 98.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005257/3.576, allocations: 1.537 MB / 1.738 GB, free: 98.53 MB / 0.698 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.0104/3.586, allocations: 7.525 MB / 1.745 GB, free: 95.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/3.59, allocations: 1.223 MB / 1.746 GB, free: 95.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/3.592, allocations: 1.275 MB / 1.748 GB, free: 93.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002211/3.594, allocations: 0.7228 MB / 1.748 GB, free: 93.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=79): time 3.436e-06/3.594, allocations: 2.844 kB / 1.748 GB, free: 93.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=79): time 0.02211/3.616, allocations: 3.582 MB / 1.752 GB, free: 93.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/3.616, allocations: 165.5 kB / 1.752 GB, free: 93.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/3.618, allocations: 1.18 MB / 1.753 GB, free: 93.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002176/3.618, allocations: 52.58 kB / 1.753 GB, free: 93.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/3.619, allocations: 0.727 MB / 1.754 GB, free: 92.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/3.619, allocations: 276 kB / 1.754 GB, free: 92.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/3.619, allocations: 17.75 kB / 1.754 GB, free: 92.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/3.619, allocations: 343.4 kB / 1.755 GB, free: 92.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/3.621, allocations: 0.5447 MB / 1.755 GB, free: 92.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/3.623, allocations: 0.8532 MB / 1.756 GB, free: 92.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/3.625, allocations: 0.589 MB / 1.757 GB, free: 92.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/3.625, allocations: 4.688 kB / 1.757 GB, free: 92.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005171/3.63, allocations: 1.691 MB / 1.758 GB, free: 91.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000444/3.631, allocations: 2.408 MB / 1.761 GB, free: 89.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/3.631, allocations: 7.656 kB / 1.761 GB, free: 89.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/3.633, allocations: 0.5729 MB / 1.761 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/3.634, allocations: 246 kB / 1.761 GB, free: 89.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/3.636, allocations: 1.189 MB / 1.762 GB, free: 88.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/3.638, allocations: 254.6 kB / 1.763 GB, free: 88.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/3.639, allocations: 58.11 kB / 1.763 GB, free: 88.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/3.639, allocations: 3.875 kB / 1.763 GB, free: 88.87 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004628/3.643, allocations: 1.505 MB / 1.764 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/3.643, allocations: 3.938 kB / 1.764 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/3.645, allocations: 0.5718 MB / 1.765 GB, free: 88.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/3.646, allocations: 239.5 kB / 1.765 GB, free: 88.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/3.648, allocations: 1.185 MB / 1.766 GB, free: 88.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/3.651, allocations: 222 kB / 1.766 GB, free: 88.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/3.651, allocations: 58.42 kB / 1.766 GB, free: 88.25 MB / 0.698 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.00115/3.652, allocations: 475.4 kB / 1.767 GB, free: 88.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/3.652, allocations: 144.7 kB / 1.767 GB, free: 87.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/3.657, allocations: 1.679 MB / 1.769 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/3.657, allocations: 11.2 kB / 1.769 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/3.657, allocations: 0 / 1.769 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004297/3.662, allocations: 1.451 MB / 1.77 GB, free: 87.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/3.669, allocations: 3.33 MB / 1.773 GB, free: 87.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/3.669, allocations: 3.969 kB / 1.773 GB, free: 87.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/3.67, allocations: 181.2 kB / 1.774 GB, free: 87.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001741/3.672, allocations: 0.5451 MB / 1.774 GB, free: 87.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-05/3.672, allocations: 39.34 kB / 1.774 GB, free: 87.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/3.674, allocations: 1.182 MB / 1.775 GB, free: 86.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/3.674, allocations: 3.891 kB / 1.775 GB, free: 86.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004897/3.679, allocations: 1.706 MB / 1.777 GB, free: 86.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/3.68, allocations: 420.5 kB / 1.777 GB, free: 86.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/3.68, allocations: 20.34 kB / 1.777 GB, free: 86.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/3.682, allocations: 162.4 kB / 1.778 GB, free: 86.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/3.682, allocations: 57.58 kB / 1.778 GB, free: 86.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/3.682, allocations: 60.41 kB / 1.778 GB, free: 86.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00128/3.684, allocations: 0.9185 MB / 1.779 GB, free: 86.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/3.684, allocations: 2.125 kB / 1.779 GB, free: 86.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003035/3.687, allocations: 1.076 MB / 1.78 GB, free: 85.89 MB / 0.698 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.002292/3.689, allocations: 1.248 MB / 1.781 GB, free: 85.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006842/3.696, allocations: 2.079 MB / 1.783 GB, free: 85.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/3.696, allocations: 3.969 kB / 1.783 GB, free: 85.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/3.698, allocations: 0.6611 MB / 1.783 GB, free: 85.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/3.701, allocations: 0.7656 MB / 1.784 GB, free: 85.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/3.707, allocations: 3.275 MB / 1.787 GB, free: 84.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/3.708, allocations: 1.298 MB / 1.789 GB, free: 83.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00202/3.71, allocations: 386.6 kB / 1.789 GB, free: 83.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/3.71, allocations: 145 kB / 1.789 GB, free: 83.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/3.711, allocations: 0 / 1.789 GB, free: 83.43 MB / 0.698 GB Notification: Performance of Templates: time 0.05789/3.768, allocations: 41.96 MB / 1.83 GB, free: 81.15 MB / 0.698 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)