Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 178 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4984/0.4984, allocations: 91.99 MB / 108.5 MB, free: 13.04 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.501/1.501, allocations: 223.2 MB / 354.3 MB, free: 12.2 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.0009668/0.0009666, allocations: 100.3 kB / 427.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003509, allocations: 12 kB / 0.4983 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 72.31 MB / 0.5689 GB, free: 1.93 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5688/0.7208, allocations: 103.5 MB / 0.6699 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.7212, allocations: 83.95 kB / 0.67 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0164/0.7376, allocations: 5.37 MB / 0.6752 GB, free: 11.55 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.7377, allocations: 0 / 0.6752 GB, free: 11.55 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.7377, allocations: 0 / 0.6752 GB, free: 11.55 MB / 474.7 MB 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.0006627/0.7384, allocations: 411.5 kB / 0.6756 GB, free: 11.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.7385, allocations: 12.03 kB / 0.6756 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.7386, allocations: 15.8 kB / 0.6757 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.7389, allocations: 191 kB / 0.6758 GB, free: 10.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.7389, allocations: 8 kB / 0.6758 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.739, allocations: 0 / 0.6758 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.7392, allocations: 65.66 kB / 0.6759 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.7392, allocations: 3.938 kB / 0.6759 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.7392, allocations: 11.98 kB / 0.6759 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.7393, allocations: 3.953 kB / 0.6759 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.7394, allocations: 51.97 kB / 0.676 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.7401, allocations: 304.8 kB / 0.6763 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.7403, allocations: 58.55 kB / 0.6763 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.7403, allocations: 4.062 kB / 0.6763 GB, free: 10.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.7404, allocations: 42.45 kB / 0.6764 GB, free: 10.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 2.325e-06/0.7404, allocations: 0 / 0.6764 GB, free: 10.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004706/0.7409, allocations: 113.7 kB / 0.6765 GB, free: 10.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.7409, allocations: 51.41 kB / 0.6765 GB, free: 10.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.7411, allocations: 130.7 kB / 0.6766 GB, free: 9.914 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.7411, allocations: 25.7 kB / 0.6767 GB, free: 9.883 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.7412, allocations: 92.14 kB / 0.6768 GB, free: 9.789 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.7413, allocations: 15.73 kB / 0.6768 GB, free: 9.773 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.7413, allocations: 0 / 0.6768 GB, free: 9.773 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7414, allocations: 322.8 kB / 0.6771 GB, free: 9.449 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/0.7415, allocations: 27.97 kB / 0.6771 GB, free: 9.422 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-05/0.7416, allocations: 35.92 kB / 0.6771 GB, free: 9.387 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.762e-05/0.7417, allocations: 23.98 kB / 0.6772 GB, free: 9.363 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7417, allocations: 0 / 0.6772 GB, free: 9.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002532/0.742, allocations: 101.6 kB / 0.6773 GB, free: 9.258 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.742, allocations: 5.875 kB / 0.6773 GB, free: 9.254 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.742, allocations: 0 / 0.6773 GB, free: 9.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.7421, allocations: 3.953 kB / 0.6773 GB, free: 9.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.7422, allocations: 19.98 kB / 0.6773 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.7422, allocations: 0 / 0.6773 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.7423, allocations: 11.89 kB / 0.6773 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.7423, allocations: 4.625 kB / 0.6773 GB, free: 9.215 MB / 474.7 MB 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.0001152/0.7424, allocations: 117.8 kB / 0.6774 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.7425, allocations: 4 kB / 0.6774 GB, free: 9.086 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.7429, allocations: 109.9 kB / 0.6775 GB, free: 8.965 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.7429, allocations: 7.953 kB / 0.6775 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.7429, allocations: 4 kB / 0.6775 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.7429, allocations: 0 / 0.6775 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.7432, allocations: 178 kB / 0.6777 GB, free: 8.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7432, allocations: 0 / 0.6777 GB, free: 8.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.7433, allocations: 23.98 kB / 0.6777 GB, free: 8.707 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.7433, allocations: 4 kB / 0.6777 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.7433, allocations: 0 / 0.6777 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7433, allocations: 0 / 0.6777 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.7434, allocations: 3.953 kB / 0.6777 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.7437, allocations: 199.4 kB / 0.6779 GB, free: 8.488 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.7438, allocations: 85.02 kB / 0.678 GB, free: 8.387 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.7438, allocations: 3.984 kB / 0.678 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.7439, allocations: 4 kB / 0.678 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.744, allocations: 11.98 kB / 0.678 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.744, allocations: 3.953 kB / 0.678 GB, free: 8.363 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.577e-05/0.7441, allocations: 99.27 kB / 0.6781 GB, free: 8.266 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7441, allocations: 0 / 0.6781 GB, free: 8.266 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003301/0.7444, allocations: 27.94 kB / 0.6782 GB, free: 8.238 MB / 474.7 MB 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.0002885/0.7447, allocations: 115.2 kB / 0.6783 GB, free: 8.117 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.745, allocations: 67.91 kB / 0.6783 GB, free: 8.051 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7451, allocations: 0 / 0.6783 GB, free: 8.051 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.75e-05/0.7452, allocations: 27.98 kB / 0.6784 GB, free: 8.023 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.7455, allocations: 15.92 kB / 0.6784 GB, free: 8.008 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.7461, allocations: 222.8 kB / 0.6786 GB, free: 7.762 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.7465, allocations: 0.6926 MB / 0.6793 GB, free: 7.043 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.7466, allocations: 8.188 kB / 0.6793 GB, free: 7.035 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.7467, allocations: 19.42 kB / 0.6793 GB, free: 7.02 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7467, allocations: 0 / 0.6793 GB, free: 7.02 MB / 474.7 MB Notification: Performance of Templates: time 0.004419/0.7511, allocations: 0.9585 MB / 0.6802 GB, free: 6.078 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)