Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7692/0.7692, 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.001061/0.001061, allocations: 179.8 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.769/1.769, 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.0008743/0.0008741, allocations: 86.3 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001933/0.001933, allocations: 271 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004849, allocations: 20 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4116, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6986/1.11, allocations: 331.2 MB / 1.063 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.111, allocations: 92.27 kB / 1.063 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03198/1.143, allocations: 13.87 MB / 1.077 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.837e-06/1.143, allocations: 0 / 1.077 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.837e-05/1.143, allocations: 4 kB / 1.077 GB, free: 1.738 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009411/1.144, allocations: 473 kB / 1.077 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.144, allocations: 8.031 kB / 1.077 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/1.144, allocations: 16.75 kB / 1.077 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/1.144, allocations: 178.2 kB / 1.077 GB, free: 1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/1.144, allocations: 15.19 kB / 1.077 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/1.144, allocations: 16.31 kB / 1.077 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/1.144, allocations: 129.3 kB / 1.077 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.144, allocations: 192 / 1.077 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/1.144, allocations: 7.938 kB / 1.077 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.144, allocations: 0 / 1.077 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/1.145, allocations: 166.3 kB / 1.077 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/1.146, allocations: 477.1 kB / 1.078 GB, free: 292 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/1.146, allocations: 134.9 kB / 1.078 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/1.146, allocations: 82.62 kB / 1.078 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/1.148, allocations: 0.9536 MB / 1.079 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/1.148, allocations: 37.38 kB / 1.079 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.963e-06/1.148, allocations: 0 / 1.079 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006801/1.149, allocations: 253.6 kB / 1.079 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/1.149, allocations: 55.34 kB / 1.079 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/1.149, allocations: 167.7 kB / 1.08 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/1.149, allocations: 33.27 kB / 1.08 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/1.149, allocations: 102.6 kB / 1.08 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/1.149, allocations: 37.64 kB / 1.08 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/1.149, allocations: 2.812 kB / 1.08 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.149, allocations: 328.5 kB / 1.08 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/1.149, allocations: 82.44 kB / 1.08 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/1.15, allocations: 117.8 kB / 1.08 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/1.15, allocations: 202.7 kB / 1.08 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.15, allocations: 0 / 1.08 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006067/1.151, allocations: 264.5 kB / 1.081 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/1.151, allocations: 5.25 kB / 1.081 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.151, allocations: 0 / 1.081 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.151, allocations: 7.938 kB / 1.081 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/1.151, allocations: 55.95 kB / 1.081 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/1.151, allocations: 7.938 kB / 1.081 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/1.151, allocations: 39.48 kB / 1.081 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/1.151, allocations: 14.98 kB / 1.081 GB, free: 13.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001355/1.151, allocations: 121.4 kB / 1.081 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/1.151, allocations: 11.81 kB / 1.081 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/1.152, allocations: 198.7 kB / 1.081 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.152, allocations: 8 kB / 1.081 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.152, allocations: 3.938 kB / 1.081 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.152, allocations: 4 kB / 1.081 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/1.152, allocations: 216.5 kB / 1.081 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.152, allocations: 0 / 1.081 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/1.153, allocations: 35.97 kB / 1.081 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.153, allocations: 0 / 1.081 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/1.153, allocations: 0 / 1.081 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.153, allocations: 0 / 1.081 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.153, allocations: 7.875 kB / 1.081 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/1.153, allocations: 286 kB / 1.082 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/1.153, allocations: 85.02 kB / 1.082 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/1.153, allocations: 7.984 kB / 1.082 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/1.153, allocations: 19.55 kB / 1.082 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/1.153, allocations: 11.92 kB / 1.082 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/1.153, allocations: 0 / 1.082 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.069e-05/1.153, allocations: 119.5 kB / 1.082 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.6e-07/1.153, allocations: 0 / 1.082 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003943/1.154, allocations: 65.62 kB / 1.082 GB, free: 12.27 MB / 0.6198 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 (12): * Single equations (assignments): 12 * 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.0004266/1.154, allocations: 182.2 kB / 1.082 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004981/1.155, allocations: 192.6 kB / 1.082 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.155, allocations: 0 / 1.082 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/1.155, allocations: 82.02 kB / 1.082 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/1.155, allocations: 25.64 kB / 1.082 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/1.156, allocations: 339.8 kB / 1.083 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/1.157, allocations: 0.7048 MB / 1.083 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001313/1.157, allocations: 24.95 kB / 1.083 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/1.157, allocations: 19.42 kB / 1.083 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/1.157, allocations: 0 / 1.083 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.006797/1.164, allocations: 2.692 MB / 1.086 GB, free: 8.07 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)