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 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.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.8087/0.8087, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 181.5 kB / 187.3 MB, free: 11.86 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.479/1.479, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.001032/0.001032, allocations: 91.88 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001873/0.001873, allocations: 275.2 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.524e-05/4.534e-05, allocations: 15.92 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4664, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7651/1.232, allocations: 332.7 MB / 1.089 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/1.232, allocations: 86.77 kB / 1.089 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03328/1.265, allocations: 14.17 MB / 1.103 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/1.265, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.175e-05/1.265, allocations: 4 kB / 1.103 GB, free: 13.24 MB / 0.6355 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.0008121/1.266, allocations: 453 kB / 1.104 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/1.266, allocations: 12.03 kB / 1.104 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/1.266, allocations: 15.81 kB / 1.104 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/1.266, allocations: 181.3 kB / 1.104 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/1.266, allocations: 11.56 kB / 1.104 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/1.266, allocations: 7.562 kB / 1.104 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/1.267, allocations: 101.9 kB / 1.104 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.267, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/1.267, allocations: 4 kB / 1.104 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.267, allocations: 3.938 kB / 1.104 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/1.267, allocations: 94.34 kB / 1.104 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/1.268, allocations: 476.3 kB / 1.104 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/1.268, allocations: 98.62 kB / 1.104 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/1.268, allocations: 47.92 kB / 1.105 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/1.27, allocations: 0.9755 MB / 1.105 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/1.27, allocations: 34.55 kB / 1.106 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/1.27, allocations: 0 / 1.106 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0002853/1.27, allocations: 110.8 kB / 1.106 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/1.27, allocations: 59.34 kB / 1.106 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/1.27, allocations: 153.6 kB / 1.106 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/1.27, allocations: 29.14 kB / 1.106 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/1.27, allocations: 103.8 kB / 1.106 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/1.27, allocations: 42.53 kB / 1.106 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/1.27, allocations: 0 / 1.106 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.271, allocations: 325.5 kB / 1.106 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/1.271, allocations: 51.61 kB / 1.106 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/1.271, allocations: 88.67 kB / 1.106 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/1.271, allocations: 54.42 kB / 1.106 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.271, allocations: 0 / 1.106 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003249/1.271, allocations: 197.2 kB / 1.107 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.271, allocations: 4.094 kB / 1.107 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.271, allocations: 8 kB / 1.107 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.271, allocations: 3.953 kB / 1.107 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/1.272, allocations: 59.89 kB / 1.107 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.272, allocations: 4 kB / 1.107 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/1.272, allocations: 35.14 kB / 1.107 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/1.272, allocations: 12 kB / 1.107 GB, free: 9.496 MB / 0.6355 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 () * 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 8.527e-05/1.272, allocations: 108 kB / 1.107 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/1.272, allocations: 19.8 kB / 1.107 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/1.272, allocations: 136.3 kB / 1.107 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.272, allocations: 0 / 1.107 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.272, allocations: 7.891 kB / 1.107 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.272, allocations: 4 kB / 1.107 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/1.272, allocations: 213.8 kB / 1.107 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.273, allocations: 4 kB / 1.107 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/1.273, allocations: 31.97 kB / 1.107 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.273, allocations: 4 kB / 1.107 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.273, allocations: 0 / 1.107 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.273, allocations: 0 / 1.107 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.273, allocations: 3.984 kB / 1.107 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/1.273, allocations: 221.8 kB / 1.108 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/1.273, allocations: 85.02 kB / 1.108 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/1.273, allocations: 4 kB / 1.108 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/1.273, allocations: 23.16 kB / 1.108 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/1.273, allocations: 7.984 kB / 1.108 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/1.273, allocations: 2.812 kB / 1.108 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001187/1.273, allocations: 122.8 kB / 1.108 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.31e-07/1.273, allocations: 4 kB / 1.108 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005445/1.274, allocations: 71.41 kB / 1.108 GB, free: 8.457 MB / 0.6355 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 () * 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.0004684/1.274, allocations: 180.5 kB / 1.108 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003452/1.275, allocations: 111.3 kB / 1.108 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.275, allocations: 0 / 1.108 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/1.275, allocations: 56.61 kB / 1.108 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/1.275, allocations: 18.56 kB / 1.108 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/1.276, allocations: 145.7 kB / 1.108 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/1.276, allocations: 0.7126 MB / 1.109 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001129/1.276, allocations: 22.64 kB / 1.109 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/1.276, allocations: 15.44 kB / 1.109 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of SimCode: time 3.9e-07/1.276, allocations: 4 kB / 1.109 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of Templates: time 0.006342/1.283, allocations: 2.721 MB / 1.112 GB, free: 4.539 MB / 0.6355 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)