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.8009/0.8009, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.00105/0.00105, allocations: 172.9 kB / 182.2 MB, free: 9.461 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.537/1.537, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009792/0.0009792, allocations: 88.08 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00166/0.00166, allocations: 277.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.633e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4621, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8603/1.322, allocations: 398.3 MB / 1.146 GB, free: 160 kB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.323, allocations: 93.95 kB / 1.146 GB, free: 116 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.028/3.351, allocations: 0.5614 GB / 1.708 GB, free: 7.551 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/3.351, allocations: 0 / 1.708 GB, free: 7.551 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001968/3.351, allocations: 51.92 kB / 1.708 GB, free: 7.5 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.005196/3.356, allocations: 1.952 MB / 1.71 GB, free: 5.484 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/3.356, allocations: 12.03 kB / 1.71 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/3.361, allocations: 0.6806 MB / 1.71 GB, free: 4.789 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/3.365, allocations: 1.86 MB / 1.712 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/3.366, allocations: 84.12 kB / 1.712 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/3.366, allocations: 79.98 kB / 1.712 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002217/3.368, allocations: 1.11 MB / 1.713 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/3.371, allocations: 1.379 MB / 1.715 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/3.371, allocations: 4 kB / 1.715 GB, free: 112 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/3.371, allocations: 7.984 kB / 1.715 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/3.371, allocations: 62.19 kB / 1.715 GB, free: 40 kB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.6193/3.99, allocations: 7.263 MB / 1.722 GB, free: 97.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/3.992, allocations: 0.8945 MB / 1.723 GB, free: 97.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/3.992, allocations: 448.4 kB / 1.723 GB, free: 97.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/3.994, allocations: 1.276 MB / 1.725 GB, free: 96.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/3.995, allocations: 0.5493 MB / 1.725 GB, free: 96.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=79): time 4.418e-06/3.995, allocations: 1 kB / 1.725 GB, free: 96.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=79): time 0.005648/4, allocations: 1.279 MB / 1.726 GB, free: 95.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/4, allocations: 162.1 kB / 1.726 GB, free: 95.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/4.002, allocations: 1.001 MB / 1.727 GB, free: 95.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/4.002, allocations: 40.38 kB / 1.728 GB, free: 95.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006406/4.003, allocations: 0.7271 MB / 1.728 GB, free: 95.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/4.003, allocations: 268.2 kB / 1.728 GB, free: 95.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/4.003, allocations: 0 / 1.728 GB, free: 95.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/4.003, allocations: 339.3 kB / 1.729 GB, free: 94.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/4.004, allocations: 376.9 kB / 1.729 GB, free: 94.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006845/4.005, allocations: 0.6616 MB / 1.73 GB, free: 94.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/4.006, allocations: 0.5463 MB / 1.73 GB, free: 94.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/4.007, allocations: 2.562 kB / 1.73 GB, free: 94.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003199/4.01, allocations: 1.369 MB / 1.732 GB, free: 94.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005786/4.01, allocations: 2.391 MB / 1.734 GB, free: 92.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/4.01, allocations: 6.719 kB / 1.734 GB, free: 92.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009779/4.011, allocations: 431.9 kB / 1.734 GB, free: 92.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/4.013, allocations: 248.5 kB / 1.735 GB, free: 92.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/4.014, allocations: 1.149 MB / 1.736 GB, free: 91.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/4.016, allocations: 216.4 kB / 1.736 GB, free: 91.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/4.016, allocations: 60.66 kB / 1.736 GB, free: 91.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/4.017, allocations: 3.719 kB / 1.736 GB, free: 91.45 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002796/4.019, allocations: 1.185 MB / 1.737 GB, free: 91.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/4.019, allocations: 8.906 kB / 1.737 GB, free: 91.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009172/4.02, allocations: 431.6 kB / 1.738 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/4.021, allocations: 241.9 kB / 1.738 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/4.023, allocations: 1.15 MB / 1.739 GB, free: 90.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/4.025, allocations: 189.6 kB / 1.739 GB, free: 90.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/4.025, allocations: 56.84 kB / 1.739 GB, free: 90.86 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 () * 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.0003708/4.025, allocations: 135.6 kB / 1.739 GB, free: 90.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/4.026, allocations: 137.5 kB / 1.739 GB, free: 90.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/4.028, allocations: 1.296 MB / 1.741 GB, free: 90.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/4.029, allocations: 10.91 kB / 1.741 GB, free: 90.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/4.029, allocations: 3.656 kB / 1.741 GB, free: 90.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002198/4.031, allocations: 1.102 MB / 1.742 GB, free: 90.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004981/4.036, allocations: 2.812 MB / 1.745 GB, free: 90.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/4.036, allocations: 1.156 kB / 1.745 GB, free: 90.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/4.037, allocations: 181.6 kB / 1.745 GB, free: 90.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008184/4.038, allocations: 426.1 kB / 1.745 GB, free: 90.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/4.038, allocations: 22.31 kB / 1.745 GB, free: 90.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/4.039, allocations: 1.145 MB / 1.746 GB, free: 89.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/4.039, allocations: 1.438 kB / 1.746 GB, free: 89.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/4.043, allocations: 1.334 MB / 1.748 GB, free: 89.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/4.044, allocations: 413.8 kB / 1.748 GB, free: 88.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/4.044, allocations: 7.766 kB / 1.748 GB, free: 88.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/4.046, allocations: 159.2 kB / 1.748 GB, free: 88.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/4.046, allocations: 54.42 kB / 1.748 GB, free: 88.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/4.046, allocations: 54.02 kB / 1.748 GB, free: 88.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001146/4.047, allocations: 0.7538 MB / 1.749 GB, free: 88.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.9e-07/4.047, allocations: 0 / 1.749 GB, free: 88.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00353/4.051, allocations: 1.039 MB / 1.75 GB, free: 88.82 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) * 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.002647/4.053, allocations: 1.184 MB / 1.751 GB, free: 88.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003055/4.056, allocations: 1.556 MB / 1.753 GB, free: 88.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/4.057, allocations: 5.188 kB / 1.753 GB, free: 88.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008114/4.057, allocations: 493.2 kB / 1.753 GB, free: 88.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/4.061, allocations: 0.6654 MB / 1.754 GB, free: 88.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/4.066, allocations: 1.874 MB / 1.756 GB, free: 88.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000921/4.067, allocations: 1.298 MB / 1.757 GB, free: 87.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002264/4.069, allocations: 463.7 kB / 1.757 GB, free: 87.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/4.07, allocations: 113.4 kB / 1.757 GB, free: 87.32 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/4.07, allocations: 0 / 1.757 GB, free: 87.32 MB / 0.698 GB Notification: Performance of Templates: time 0.06004/4.13, allocations: 38.6 MB / 1.795 GB, free: 85.68 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)