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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7768/0.7768, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 178.2 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000853/0.0008531, allocations: 88.2 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.0018/0.0018, allocations: 270.5 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004868, allocations: 24 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3972, allocations: 79.31 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.765/1.162, allocations: 395.9 MB / 1.126 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.163, allocations: 100.3 kB / 1.126 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.104/3.267, allocations: 0.5469 GB / 1.673 GB, free: 94.07 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.783e-06/3.267, allocations: 0 / 1.673 GB, free: 94.07 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002751/3.267, allocations: 47.83 kB / 1.673 GB, free: 94.07 MB / 0.6667 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.006358/3.274, allocations: 2.217 MB / 1.675 GB, free: 93.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/3.274, allocations: 8.688 kB / 1.675 GB, free: 93.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/3.279, allocations: 0.6812 MB / 1.676 GB, free: 93.17 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004929/3.284, allocations: 1.883 MB / 1.678 GB, free: 92.79 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/3.284, allocations: 134 kB / 1.678 GB, free: 92.76 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004065/3.284, allocations: 128.6 kB / 1.678 GB, free: 92.76 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004495/3.289, allocations: 1.747 MB / 1.68 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/3.289, allocations: 3.75 kB / 1.68 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/3.289, allocations: 53.09 kB / 1.68 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/3.289, allocations: 44.38 kB / 1.68 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/3.294, allocations: 1.533 MB / 1.681 GB, free: 92.45 MB / 0.6667 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.01036/3.304, allocations: 7.498 MB / 1.689 GB, free: 89.09 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/3.308, allocations: 1.206 MB / 1.69 GB, free: 89.06 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/3.309, allocations: 0.6218 MB / 1.69 GB, free: 89.04 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/3.311, allocations: 1.269 MB / 1.692 GB, free: 87.63 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002269/3.313, allocations: 0.7264 MB / 1.692 GB, free: 87.58 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=79): time 4.207e-06/3.313, allocations: 0 / 1.692 GB, free: 87.58 MB / 0.6667 GB Notification: Performance of matching and sorting (n=79): time 0.02039/3.333, allocations: 3.613 MB / 1.696 GB, free: 87.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/3.333, allocations: 164.7 kB / 1.696 GB, free: 87.16 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/3.336, allocations: 1.285 MB / 1.697 GB, free: 86.99 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002789/3.336, allocations: 44.77 kB / 1.697 GB, free: 86.96 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007105/3.337, allocations: 0.7349 MB / 1.698 GB, free: 86.74 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000385/3.337, allocations: 273.9 kB / 1.698 GB, free: 86.58 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.704e-05/3.338, allocations: 19.12 kB / 1.698 GB, free: 86.58 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/3.338, allocations: 339.4 kB / 1.699 GB, free: 86.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/3.339, allocations: 0.5528 MB / 1.699 GB, free: 86.27 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/3.341, allocations: 0.8506 MB / 1.7 GB, free: 85.95 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/3.345, allocations: 1.266 MB / 1.701 GB, free: 85.72 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/3.345, allocations: 2.406 kB / 1.701 GB, free: 85.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005025/3.35, allocations: 1.693 MB / 1.703 GB, free: 85.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000179/3.35, allocations: 271.9 kB / 1.703 GB, free: 85.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/3.35, allocations: 7.531 kB / 1.703 GB, free: 85.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/3.352, allocations: 0.5764 MB / 1.704 GB, free: 85.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/3.353, allocations: 248 kB / 1.704 GB, free: 85.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/3.355, allocations: 1.183 MB / 1.705 GB, free: 84.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/3.358, allocations: 245.3 kB / 1.705 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/3.358, allocations: 55.94 kB / 1.705 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/3.358, allocations: 2.938 kB / 1.705 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004272/3.362, allocations: 1.507 MB / 1.707 GB, free: 84.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/3.362, allocations: 10.95 kB / 1.707 GB, free: 84.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/3.364, allocations: 0.5747 MB / 1.708 GB, free: 84.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/3.365, allocations: 239.4 kB / 1.708 GB, free: 84.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/3.367, allocations: 1.177 MB / 1.709 GB, free: 84.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/3.369, allocations: 223.9 kB / 1.709 GB, free: 84.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/3.369, allocations: 58.81 kB / 1.709 GB, free: 84.08 MB / 0.6667 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.001515/3.371, allocations: 475.7 kB / 1.71 GB, free: 83.89 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006895/3.371, allocations: 152.3 kB / 1.71 GB, free: 83.81 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/3.376, allocations: 1.666 MB / 1.711 GB, free: 83.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/3.376, allocations: 9.438 kB / 1.711 GB, free: 83.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/3.377, allocations: 3.094 kB / 1.711 GB, free: 83.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003883/3.38, allocations: 1.454 MB / 1.713 GB, free: 83.51 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008094/3.389, allocations: 3.311 MB / 1.716 GB, free: 83.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/3.389, allocations: 0 / 1.716 GB, free: 83.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/3.39, allocations: 181.7 kB / 1.716 GB, free: 83.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/3.391, allocations: 0.5584 MB / 1.717 GB, free: 83.08 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/3.391, allocations: 37.44 kB / 1.717 GB, free: 83.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/3.393, allocations: 1.169 MB / 1.718 GB, free: 82.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/3.393, allocations: 3.375 kB / 1.718 GB, free: 82.55 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004701/3.398, allocations: 1.656 MB / 1.72 GB, free: 82.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/3.399, allocations: 410.7 kB / 1.72 GB, free: 82.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004824/3.399, allocations: 19.81 kB / 1.72 GB, free: 82.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/3.401, allocations: 167.6 kB / 1.72 GB, free: 82.08 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/3.402, allocations: 55.59 kB / 1.72 GB, free: 82.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/3.402, allocations: 54.78 kB / 1.72 GB, free: 82.08 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001715/3.403, allocations: 0.8833 MB / 1.721 GB, free: 81.97 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.7e-07/3.403, allocations: 0 / 1.721 GB, free: 81.97 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003973/3.407, allocations: 1.033 MB / 1.722 GB, free: 81.81 MB / 0.6667 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.002881/3.41, allocations: 1.182 MB / 1.723 GB, free: 81.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00654/3.417, allocations: 2.072 MB / 1.725 GB, free: 81.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/3.417, allocations: 9.281 kB / 1.725 GB, free: 81.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/3.419, allocations: 0.6597 MB / 1.726 GB, free: 81.47 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004754/3.424, allocations: 0.7766 MB / 1.727 GB, free: 81.46 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/3.431, allocations: 3.292 MB / 1.73 GB, free: 80 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/3.432, allocations: 1.27 MB / 1.731 GB, free: 79.29 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002245/3.434, allocations: 391.3 kB / 1.732 GB, free: 79.27 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/3.434, allocations: 140.3 kB / 1.732 GB, free: 79.26 MB / 0.6667 GB Notification: Performance of SimCode: time 1.082e-06/3.434, allocations: 2.156 kB / 1.732 GB, free: 79.26 MB / 0.6667 GB Notification: Performance of Templates: time 0.06022/3.495, allocations: 41.76 MB / 1.772 GB, free: 76.86 MB / 0.6667 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)