Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7787/0.7787, allocations: 140.1 MB / 156 MB, free: 5.188 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.001083/0.001083, allocations: 172 kB / 188.5 MB, free: 15.84 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.613/1.613, allocations: 205.4 MB / 426.3 MB, free: 8.484 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.0008521/0.0008521, allocations: 86.36 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001649/0.001649, allocations: 270.6 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004771, allocations: 16 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4697, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.6226, allocations: 109.1 MB / 0.846 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.6229, allocations: 79.95 kB / 0.8461 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01577/0.6387, allocations: 5.298 MB / 0.8512 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6388, allocations: 4 kB / 0.8512 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.6388, allocations: 0 / 0.8512 GB, free: 11.75 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005335/0.6393, allocations: 411.1 kB / 0.8516 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.6394, allocations: 11.97 kB / 0.8516 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.6395, allocations: 8.844 kB / 0.8517 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.6398, allocations: 197.8 kB / 0.8518 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.6398, allocations: 8.375 kB / 0.8519 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.6398, allocations: 4.375 kB / 0.8519 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.64, allocations: 62.22 kB / 0.8519 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6401, allocations: 7.938 kB / 0.8519 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.6401, allocations: 4 kB / 0.8519 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6401, allocations: 0 / 0.8519 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.6403, allocations: 59.91 kB / 0.852 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.6408, allocations: 300.8 kB / 0.8523 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.641, allocations: 66.55 kB / 0.8523 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.6411, allocations: 28.97 kB / 0.8524 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.6411, allocations: 3.984 kB / 0.8524 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.6411, allocations: 34.56 kB / 0.8524 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.6411, allocations: 4 kB / 0.8524 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.000389/0.6415, allocations: 125.5 kB / 0.8525 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.6416, allocations: 51.41 kB / 0.8526 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.6417, allocations: 127.1 kB / 0.8527 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.6417, allocations: 29.7 kB / 0.8527 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.6418, allocations: 92.14 kB / 0.8528 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.6418, allocations: 23.77 kB / 0.8528 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.6418, allocations: 0 / 0.8528 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.642, allocations: 322.8 kB / 0.8531 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.6421, allocations: 23.98 kB / 0.8532 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.6421, allocations: 31.97 kB / 0.8532 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.6423, allocations: 64.78 kB / 0.8533 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6423, allocations: 0 / 0.8533 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002139/0.6425, allocations: 93.66 kB / 0.8533 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6426, allocations: 8 kB / 0.8534 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6426, allocations: 0 / 0.8534 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6426, allocations: 0 / 0.8534 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.6427, allocations: 15.98 kB / 0.8534 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6427, allocations: 0 / 0.8534 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.633e-05/0.6428, allocations: 19.83 kB / 0.8534 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.6428, allocations: 4 kB / 0.8534 GB, free: 9.328 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.6429, allocations: 121.7 kB / 0.8535 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.643, allocations: 11.84 kB / 0.8535 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.6432, allocations: 109.9 kB / 0.8536 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6433, allocations: 4 kB / 0.8536 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6433, allocations: 0.5 kB / 0.8536 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6433, allocations: 0 / 0.8536 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.6435, allocations: 185.6 kB / 0.8538 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6435, allocations: 0 / 0.8538 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.6436, allocations: 19.98 kB / 0.8538 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6436, allocations: 0 / 0.8538 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.6436, allocations: 0 / 0.8538 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6436, allocations: 0 / 0.8538 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6436, allocations: 4 kB / 0.8538 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.6439, allocations: 203.3 kB / 0.854 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.644, allocations: 81.02 kB / 0.8541 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.644, allocations: 0 / 0.8541 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.6441, allocations: 19.98 kB / 0.8541 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.6441, allocations: 0 / 0.8541 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.6441, allocations: 4 kB / 0.8541 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.323e-05/0.6442, allocations: 104.2 kB / 0.8542 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6442, allocations: 0 / 0.8542 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00023/0.6445, allocations: 27.94 kB / 0.8542 GB, free: 8.352 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/0.6446, allocations: 107.2 kB / 0.8543 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.6449, allocations: 71.89 kB / 0.8544 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6449, allocations: 0 / 0.8544 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.645, allocations: 31.98 kB / 0.8544 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.6453, allocations: 15.92 kB / 0.8545 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.6457, allocations: 218.4 kB / 0.8547 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.6461, allocations: 0.6913 MB / 0.8553 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.6461, allocations: 8 kB / 0.8554 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.6462, allocations: 15.42 kB / 0.8554 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6462, allocations: 0 / 0.8554 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of Templates: time 0.003538/0.6497, allocations: 0.9767 MB / 0.8563 GB, free: 6.176 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)