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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.0009432/0.0009433, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4894/0.4894, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.311/1.311, allocations: 223.3 MB / 348.4 MB, free: 5.031 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.0008109/0.0008107, allocations: 102.8 kB / 420.2 MB, free: 9.672 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 19.98 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2957, allocations: 71.01 MB / 0.5595 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.539/0.8347, allocations: 324.3 MB / 0.8761 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.835, allocations: 89.94 kB / 0.8762 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.02987/0.8648, allocations: 14.16 MB / 0.89 GB, free: 8.625 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.787e-06/0.8649, allocations: 4 kB / 0.89 GB, free: 8.621 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.8649, allocations: 0 / 0.89 GB, free: 8.621 MB / 0.573 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.0006985/0.8656, allocations: 473.6 kB / 0.8905 GB, free: 8.117 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.8656, allocations: 8.031 kB / 0.8905 GB, free: 8.109 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.8657, allocations: 16.75 kB / 0.8905 GB, free: 8.094 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.8658, allocations: 184.2 kB / 0.8907 GB, free: 7.875 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.8658, allocations: 7.75 kB / 0.8907 GB, free: 7.871 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.8659, allocations: 12.06 kB / 0.8907 GB, free: 7.863 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.8662, allocations: 132.4 kB / 0.8908 GB, free: 7.754 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.8662, allocations: 192 / 0.8908 GB, free: 7.754 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.8662, allocations: 7.375 kB / 0.8908 GB, free: 7.75 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8662, allocations: 0 / 0.8908 GB, free: 7.75 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.8666, allocations: 167.2 kB / 0.891 GB, free: 7.617 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.8675, allocations: 475.7 kB / 0.8915 GB, free: 7.168 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.8677, allocations: 145.2 kB / 0.8916 GB, free: 7.051 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.8679, allocations: 82.38 kB / 0.8917 GB, free: 6.984 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.8691, allocations: 0.9565 MB / 0.8926 GB, free: 5.945 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.8691, allocations: 34.06 kB / 0.8926 GB, free: 5.906 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.8692, allocations: 3.938 kB / 0.8926 GB, free: 5.902 MB / 0.573 GB Notification: Performance of matching and sorting (n=12): time 0.0006027/0.8698, allocations: 236.6 kB / 0.8929 GB, free: 5.699 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.8698, allocations: 63.28 kB / 0.8929 GB, free: 5.625 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.8699, allocations: 160.8 kB / 0.8931 GB, free: 5.477 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.87, allocations: 29.52 kB / 0.8931 GB, free: 5.445 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.87, allocations: 103.5 kB / 0.8932 GB, free: 5.348 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.8701, allocations: 42.33 kB / 0.8933 GB, free: 5.312 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.8701, allocations: 7.938 kB / 0.8933 GB, free: 5.309 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.8702, allocations: 318.5 kB / 0.8936 GB, free: 4.992 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.8704, allocations: 89.5 kB / 0.8937 GB, free: 4.922 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.8706, allocations: 121.8 kB / 0.8938 GB, free: 4.816 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.871, allocations: 196.9 kB / 0.894 GB, free: 4.656 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.871, allocations: 0 / 0.894 GB, free: 4.656 MB / 0.573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005089/0.8715, allocations: 266.4 kB / 0.8942 GB, free: 4.441 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.8716, allocations: 4.094 kB / 0.8942 GB, free: 4.438 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8716, allocations: 8 kB / 0.8942 GB, free: 4.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8716, allocations: 0 / 0.8942 GB, free: 4.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.8719, allocations: 63.89 kB / 0.8943 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8719, allocations: 3.938 kB / 0.8943 GB, free: 4.363 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.872, allocations: 31.14 kB / 0.8943 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.8721, allocations: 15.5 kB / 0.8943 GB, free: 4.324 MB / 0.573 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.503e-05/0.8722, allocations: 122.1 kB / 0.8944 GB, free: 4.203 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.8722, allocations: 11.81 kB / 0.8945 GB, free: 4.191 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.8727, allocations: 206.8 kB / 0.8947 GB, free: 4.016 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8727, allocations: 3.984 kB / 0.8947 GB, free: 4.012 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8727, allocations: 3.938 kB / 0.8947 GB, free: 4.008 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8727, allocations: 3.938 kB / 0.8947 GB, free: 4.004 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.8729, allocations: 214.9 kB / 0.8949 GB, free: 3.766 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8729, allocations: 4 kB / 0.8949 GB, free: 3.762 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.8731, allocations: 35.97 kB / 0.8949 GB, free: 3.727 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8731, allocations: 0 / 0.8949 GB, free: 3.727 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.8731, allocations: 3.938 kB / 0.8949 GB, free: 3.727 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.8731, allocations: 7.938 kB / 0.8949 GB, free: 3.719 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8731, allocations: 3.938 kB / 0.8949 GB, free: 3.715 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.8736, allocations: 279.8 kB / 0.8952 GB, free: 3.453 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.8736, allocations: 85.02 kB / 0.8953 GB, free: 3.352 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.8736, allocations: 3.984 kB / 0.8953 GB, free: 3.348 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.8738, allocations: 19.55 kB / 0.8953 GB, free: 3.332 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.8738, allocations: 11.92 kB / 0.8953 GB, free: 3.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.8738, allocations: 4 kB / 0.8953 GB, free: 3.316 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.819e-05/0.8739, allocations: 112.8 kB / 0.8954 GB, free: 3.219 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8739, allocations: 0 / 0.8954 GB, free: 3.219 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003319/0.8743, allocations: 71.31 kB / 0.8955 GB, free: 3.156 MB / 0.573 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.0002983/0.8746, allocations: 180.5 kB / 0.8957 GB, free: 2.977 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004615/0.875, allocations: 187.2 kB / 0.8958 GB, free: 2.828 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.875, allocations: 7.938 kB / 0.8958 GB, free: 2.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.8752, allocations: 82.39 kB / 0.8959 GB, free: 2.754 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.8755, allocations: 22.59 kB / 0.8959 GB, free: 2.738 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.876, allocations: 345.9 kB / 0.8963 GB, free: 2.395 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.8763, allocations: 0.7048 MB / 0.897 GB, free: 1.664 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.8764, allocations: 24.94 kB / 0.897 GB, free: 1.637 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.8764, allocations: 19.44 kB / 0.897 GB, free: 1.621 MB / 0.573 GB Notification: Performance of SimCode: time 2.51e-07/0.8764, allocations: 0 / 0.897 GB, free: 1.621 MB / 0.573 GB Notification: Performance of Templates: time 0.005471/0.8819, allocations: 2.679 MB / 0.8996 GB, free: 14.97 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)