Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001766, allocations: 184 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5548/0.5548, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 354.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 107.1 kB / 427.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003222, allocations: 8 kB / 0.4983 GB, free: 42.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1612, allocations: 72.31 MB / 0.5689 GB, free: 1.711 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.201, allocations: 325.6 MB / 0.8869 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.201, allocations: 92.31 kB / 0.887 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02726/1.229, allocations: 14.22 MB / 0.9009 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.383e-06/1.229, allocations: 0 / 0.9009 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.229, allocations: 0 / 0.9009 GB, free: 128.3 MB / 0.5886 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.0006932/1.229, allocations: 473.2 kB / 0.9013 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.229, allocations: 11.97 kB / 0.9013 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/1.229, allocations: 23.7 kB / 0.9013 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/1.229, allocations: 181.2 kB / 0.9015 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/1.229, allocations: 11.75 kB / 0.9015 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.23, allocations: 11.56 kB / 0.9015 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/1.23, allocations: 125.6 kB / 0.9017 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.23, allocations: 0 / 0.9017 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/1.23, allocations: 3.188 kB / 0.9017 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.23, allocations: 11.95 kB / 0.9017 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/1.23, allocations: 162.2 kB / 0.9018 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008393/1.231, allocations: 467.8 kB / 0.9023 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/1.231, allocations: 133.9 kB / 0.9024 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.232, allocations: 0.9607 MB / 0.9033 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/1.232, allocations: 38.5 kB / 0.9034 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/1.232, allocations: 4 kB / 0.9034 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0006111/1.233, allocations: 238.6 kB / 0.9036 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/1.233, allocations: 51.41 kB / 0.9037 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/1.233, allocations: 145.4 kB / 0.9038 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/1.233, allocations: 37.38 kB / 0.9038 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/1.233, allocations: 102.3 kB / 0.9039 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/1.233, allocations: 49.81 kB / 0.904 GB, free: 125 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/1.233, allocations: 3.125 kB / 0.904 GB, free: 125 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/1.233, allocations: 322.2 kB / 0.9043 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/1.234, allocations: 87.75 kB / 0.9044 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/1.234, allocations: 122.6 kB / 0.9045 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/1.234, allocations: 96.34 kB / 0.9046 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.234, allocations: 0 / 0.9046 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004911/1.235, allocations: 265.2 kB / 0.9048 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.235, allocations: 14.12 kB / 0.9048 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.235, allocations: 0 / 0.9048 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.235, allocations: 4 kB / 0.9048 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/1.235, allocations: 55.91 kB / 0.9049 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.235, allocations: 0 / 0.9049 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/1.235, allocations: 38.97 kB / 0.9049 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/1.235, allocations: 15.38 kB / 0.9049 GB, free: 124.1 MB / 0.5886 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 7.557e-05/1.235, allocations: 124.4 kB / 0.9051 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/1.235, allocations: 15.81 kB / 0.9051 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/1.236, allocations: 204.3 kB / 0.9053 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.236, allocations: 0 / 0.9053 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.236, allocations: 0 / 0.9053 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.236, allocations: 0 / 0.9053 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/1.236, allocations: 216.3 kB / 0.9055 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.236, allocations: 11.95 kB / 0.9055 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/1.236, allocations: 34.78 kB / 0.9055 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.236, allocations: 0 / 0.9055 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/1.236, allocations: 4 kB / 0.9055 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.236, allocations: 4 kB / 0.9055 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.236, allocations: 0 / 0.9055 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/1.236, allocations: 281.3 kB / 0.9058 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/1.236, allocations: 92.97 kB / 0.9059 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/1.237, allocations: 3.562 kB / 0.9059 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/1.237, allocations: 19.92 kB / 0.9059 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/1.237, allocations: 7.984 kB / 0.9059 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/1.237, allocations: 7.688 kB / 0.9059 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.838e-05/1.237, allocations: 112.3 kB / 0.906 GB, free: 123 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.237, allocations: 0 / 0.906 GB, free: 123 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003168/1.237, allocations: 71.36 kB / 0.9061 GB, free: 123 MB / 0.5886 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.0002546/1.237, allocations: 173.7 kB / 0.9063 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004344/1.238, allocations: 190 kB / 0.9065 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.238, allocations: 0 / 0.9065 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/1.238, allocations: 80.11 kB / 0.9065 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.238, allocations: 22.11 kB / 0.9065 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/1.239, allocations: 352.5 kB / 0.9069 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/1.239, allocations: 0.7087 MB / 0.9076 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.773e-05/1.239, allocations: 21 kB / 0.9076 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/1.239, allocations: 23.42 kB / 0.9076 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.51e-07/1.239, allocations: 3.938 kB / 0.9076 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.004861/1.244, allocations: 2.64 MB / 0.9102 GB, free: 118.8 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)