Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001005/0.001005, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7573/0.7573, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009485/0.0009484, allocations: 102.5 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.677e-05, allocations: 4 kB / 0.5535 GB, free: 9.051 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.5357, allocations: 82.31 MB / 0.6338 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8609/1.397, allocations: 334.7 MB / 0.9607 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/1.397, allocations: 84.94 kB / 0.9608 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03235/1.429, allocations: 14.09 MB / 0.9745 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/1.43, allocations: 4 kB / 0.9745 GB, free: 6.141 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.197e-06/1.43, allocations: 4 kB / 0.9745 GB, free: 6.137 MB / 0.6042 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.0007921/1.43, allocations: 456.9 kB / 0.975 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.43, allocations: 12.03 kB / 0.975 GB, free: 5.645 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/1.43, allocations: 7.906 kB / 0.975 GB, free: 5.637 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/1.431, allocations: 193 kB / 0.9752 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/1.431, allocations: 4 kB / 0.9752 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/1.431, allocations: 4 kB / 0.9752 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002032/1.431, allocations: 87.92 kB / 0.9753 GB, free: 5.348 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/1.431, allocations: 82.78 kB / 0.9754 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.431, allocations: 0 / 0.9754 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.431, allocations: 4 kB / 0.9754 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/1.431, allocations: 0 / 0.9754 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009599/1.432, allocations: 445.3 kB / 0.9758 GB, free: 4.859 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/1.432, allocations: 93.94 kB / 0.9759 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/1.432, allocations: 43.05 kB / 0.9759 GB, free: 4.758 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/1.434, allocations: 0.9693 MB / 0.9769 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.434, allocations: 41.89 kB / 0.9769 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/1.434, allocations: 0 / 0.9769 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004352/1.434, allocations: 131.4 kB / 0.977 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.434, allocations: 55.39 kB / 0.9771 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/1.434, allocations: 146.6 kB / 0.9772 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/1.434, allocations: 25.7 kB / 0.9772 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/1.435, allocations: 107.4 kB / 0.9773 GB, free: 3.211 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/1.435, allocations: 38.95 kB / 0.9774 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/1.435, allocations: 0 / 0.9774 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.435, allocations: 322.7 kB / 0.9777 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/1.435, allocations: 50.25 kB / 0.9777 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/1.435, allocations: 79.27 kB / 0.9778 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/1.435, allocations: 120.8 kB / 0.9779 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.435, allocations: 0 / 0.9779 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006642/1.436, allocations: 250.7 kB / 0.9782 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.436, allocations: 4 kB / 0.9782 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.436, allocations: 0 / 0.9782 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.436, allocations: 7.953 kB / 0.9782 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/1.436, allocations: 59.89 kB / 0.9782 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.436, allocations: 4.094 kB / 0.9782 GB, free: 2.387 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/1.437, allocations: 35.7 kB / 0.9783 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/1.437, allocations: 4 kB / 0.9783 GB, free: 2.352 MB / 0.6042 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 0.0001002/1.437, allocations: 108.9 kB / 0.9784 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/1.437, allocations: 15.75 kB / 0.9784 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/1.437, allocations: 151.2 kB / 0.9785 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.437, allocations: 3.953 kB / 0.9785 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.437, allocations: 3.938 kB / 0.9785 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.437, allocations: 3.984 kB / 0.9785 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/1.438, allocations: 189.4 kB / 0.9787 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/1.438, allocations: 3.984 kB / 0.9787 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/1.438, allocations: 35.72 kB / 0.9788 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.438, allocations: 4 kB / 0.9788 GB, free: 1.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.438, allocations: 4 kB / 0.9788 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.438, allocations: 0 / 0.9788 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.438, allocations: 0 / 0.9788 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/1.438, allocations: 237.5 kB / 0.979 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/1.438, allocations: 84.92 kB / 0.9791 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/1.438, allocations: 4 kB / 0.9791 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/1.438, allocations: 19.98 kB / 0.9791 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/1.438, allocations: 11.92 kB / 0.9791 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/1.438, allocations: 3.375 kB / 0.9791 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.115e-05/1.439, allocations: 112.8 kB / 0.9792 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.439, allocations: 0 / 0.9792 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003308/1.439, allocations: 63.94 kB / 0.9793 GB, free: 1.316 MB / 0.6042 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.0003102/1.439, allocations: 170.9 kB / 0.9795 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002158/1.439, allocations: 115.1 kB / 0.9796 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.439, allocations: 0 / 0.9796 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/1.439, allocations: 46.38 kB / 0.9796 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.44, allocations: 17.62 kB / 0.9796 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/1.44, allocations: 138.9 kB / 0.9798 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/1.44, allocations: 0.7086 MB / 0.9804 GB, free: 144 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001038/1.44, allocations: 25.12 kB / 0.9805 GB, free: 116 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/1.441, allocations: 19 kB / 0.9805 GB, free: 104 kB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/1.441, allocations: 0 / 0.9805 GB, free: 104 kB / 0.6042 GB Notification: Performance of Templates: time 0.00569/1.446, allocations: 2.413 MB / 0.9828 GB, free: 13.72 MB / 0.6198 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)