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.8243/0.8243, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001213/0.001213, allocations: 187.5 kB / 191.5 MB, free: 5.754 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.723/1.723, allocations: 223.2 MB / 447.7 MB, free: 6.547 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.001053/0.001053, allocations: 96.27 kB / 0.5188 GB, free: 2.898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001813, allocations: 259.3 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 16 kB / 0.6929 GB, free: 2.293 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3825, allocations: 82.77 MB / 0.7737 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6618/1.044, allocations: 332.8 MB / 1.099 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.045, allocations: 90.19 kB / 1.099 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03143/1.076, allocations: 14.24 MB / 1.113 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.503e-06/1.076, allocations: 0 / 1.113 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.702e-06/1.076, allocations: 0 / 1.113 GB, free: 10.64 MB / 0.6511 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.0007449/1.077, allocations: 477.2 kB / 1.113 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/1.077, allocations: 8.031 kB / 1.113 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/1.077, allocations: 11.91 kB / 1.113 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.077, allocations: 183.4 kB / 1.113 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/1.077, allocations: 11.94 kB / 1.113 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/1.077, allocations: 11 kB / 1.113 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/1.078, allocations: 123.7 kB / 1.113 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/1.078, allocations: 0 / 1.113 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.078, allocations: 6.859 kB / 1.113 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.078, allocations: 8 kB / 1.113 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/1.078, allocations: 160.6 kB / 1.114 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/1.079, allocations: 474.2 kB / 1.114 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/1.079, allocations: 135 kB / 1.114 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/1.08, allocations: 0.9493 MB / 1.115 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/1.081, allocations: 41.5 kB / 1.115 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/1.081, allocations: 4 kB / 1.115 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0006633/1.081, allocations: 247.6 kB / 1.115 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/1.081, allocations: 51.41 kB / 1.115 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/1.081, allocations: 148.6 kB / 1.116 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/1.081, allocations: 31.14 kB / 1.116 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/1.082, allocations: 103.6 kB / 1.116 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/1.082, allocations: 45.02 kB / 1.116 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/1.082, allocations: 3.75 kB / 1.116 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.082, allocations: 324.6 kB / 1.116 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.082, allocations: 88 kB / 1.116 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/1.082, allocations: 112.9 kB / 1.116 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/1.082, allocations: 99.39 kB / 1.116 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.082, allocations: 0 / 1.116 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005389/1.083, allocations: 267.9 kB / 1.117 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.083, allocations: 12.09 kB / 1.117 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.083, allocations: 3.938 kB / 1.117 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.083, allocations: 4 kB / 1.117 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/1.083, allocations: 63.55 kB / 1.117 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.083, allocations: 0 / 1.117 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/1.083, allocations: 38.97 kB / 1.117 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/1.084, allocations: 12 kB / 1.117 GB, free: 6.527 MB / 0.6511 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 9.594e-05/1.084, allocations: 122.8 kB / 1.117 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/1.084, allocations: 15.84 kB / 1.117 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004731/1.084, allocations: 189.4 kB / 1.117 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.084, allocations: 0 / 1.117 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.084, allocations: 3.953 kB / 1.117 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.084, allocations: 0 / 1.117 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/1.084, allocations: 225.1 kB / 1.117 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.084, allocations: 8 kB / 1.117 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/1.085, allocations: 31.97 kB / 1.117 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.085, allocations: 0 / 1.117 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/1.085, allocations: 4 kB / 1.117 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.085, allocations: 3.938 kB / 1.117 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.085, allocations: 4 kB / 1.117 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/1.085, allocations: 282.1 kB / 1.118 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/1.085, allocations: 88.92 kB / 1.118 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/1.085, allocations: 0 / 1.118 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/1.085, allocations: 19.48 kB / 1.118 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/1.085, allocations: 7.984 kB / 1.118 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/1.085, allocations: 11.17 kB / 1.118 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.864e-05/1.085, allocations: 117.4 kB / 1.118 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.085, allocations: 4 kB / 1.118 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003249/1.086, allocations: 74.5 kB / 1.118 GB, free: 5.371 MB / 0.6511 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.0002817/1.086, allocations: 178.4 kB / 1.118 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000486/1.087, allocations: 187.7 kB / 1.118 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.087, allocations: 0 / 1.118 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/1.087, allocations: 80.98 kB / 1.118 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/1.087, allocations: 24.27 kB / 1.118 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/1.087, allocations: 355.8 kB / 1.119 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/1.088, allocations: 0.7126 MB / 1.119 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000106/1.088, allocations: 16.72 kB / 1.119 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/1.088, allocations: 19.42 kB / 1.119 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.088, allocations: 0 / 1.119 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of Templates: time 0.005461/1.093, allocations: 2.653 MB / 1.122 GB, free: 1.215 MB / 0.6511 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)