Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01025/0.01025, allocations: 169.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7711/0.7711, allocations: 132.3 MB / 148.1 MB, free: 244 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 223.2 MB / 403.2 MB, free: 6.781 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.0009553/0.0009557, allocations: 96.17 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003652, allocations: 16 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4864, allocations: 81.57 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8774/1.364, allocations: 335.2 MB / 0.9711 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/1.364, allocations: 92.72 kB / 0.9712 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03169/1.396, allocations: 14.22 MB / 0.9851 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/1.396, allocations: 3.938 kB / 0.9851 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.396, allocations: 0 / 0.9851 GB, free: 1.316 MB / 0.6198 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.0009131/1.397, allocations: 474.8 kB / 0.9855 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.397, allocations: 8.031 kB / 0.9855 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/1.397, allocations: 11.81 kB / 0.9855 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/1.397, allocations: 184.8 kB / 0.9857 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/1.397, allocations: 14.62 kB / 0.9857 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/1.397, allocations: 11.81 kB / 0.9857 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/1.398, allocations: 130.9 kB / 0.9859 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.398, allocations: 0 / 0.9859 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/1.398, allocations: 3.875 kB / 0.9859 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/1.398, allocations: 11.94 kB / 0.9859 GB, free: 444 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/1.398, allocations: 160.2 kB / 0.986 GB, free: 316 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/1.399, allocations: 474 kB / 0.9865 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/1.4, allocations: 133.1 kB / 0.9866 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/1.401, allocations: 0.9665 MB / 0.9876 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/1.401, allocations: 34.56 kB / 0.9876 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/1.401, allocations: 0 / 0.9876 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0007285/1.402, allocations: 239.6 kB / 0.9878 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.402, allocations: 55.34 kB / 0.9879 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/1.402, allocations: 154.3 kB / 0.988 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/1.402, allocations: 29.7 kB / 0.988 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/1.402, allocations: 111.1 kB / 0.9881 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/1.402, allocations: 43.33 kB / 0.9882 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/1.402, allocations: 3.438 kB / 0.9882 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.402, allocations: 326 kB / 0.9885 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/1.402, allocations: 83.02 kB / 0.9886 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/1.403, allocations: 121.9 kB / 0.9887 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/1.403, allocations: 89.41 kB / 0.9888 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.403, allocations: 0 / 0.9888 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005741/1.404, allocations: 270.9 kB / 0.989 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.404, allocations: 12.09 kB / 0.9891 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.404, allocations: 0 / 0.9891 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.404, allocations: 0 / 0.9891 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/1.404, allocations: 59.95 kB / 0.9891 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.404, allocations: 3.938 kB / 0.9891 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/1.404, allocations: 35.23 kB / 0.9891 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/1.404, allocations: 15.56 kB / 0.9892 GB, free: 13.19 MB / 0.6355 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 0.0001054/1.404, allocations: 117.2 kB / 0.9893 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/1.404, allocations: 15.86 kB / 0.9893 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/1.405, allocations: 206.8 kB / 0.9895 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.405, allocations: 0 / 0.9895 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/1.405, allocations: 0 / 0.9895 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.405, allocations: 7.922 kB / 0.9895 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/1.405, allocations: 214.4 kB / 0.9897 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.405, allocations: 4 kB / 0.9897 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/1.405, allocations: 35.48 kB / 0.9897 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/1.405, allocations: 0 / 0.9897 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/1.405, allocations: 11.94 kB / 0.9897 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.405, allocations: 0 / 0.9897 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.405, allocations: 0 / 0.9897 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/1.406, allocations: 279.8 kB / 0.99 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/1.406, allocations: 85.02 kB / 0.9901 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/1.406, allocations: 3.688 kB / 0.9901 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.406, allocations: 19.94 kB / 0.9901 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/1.406, allocations: 11.92 kB / 0.9901 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.406, allocations: 11.55 kB / 0.9901 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.105e-05/1.406, allocations: 112.6 kB / 0.9902 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.406, allocations: 0 / 0.9902 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003785/1.407, allocations: 67.3 kB / 0.9903 GB, free: 12.03 MB / 0.6355 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.0003595/1.407, allocations: 177.6 kB / 0.9905 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004976/1.408, allocations: 192.1 kB / 0.9907 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.408, allocations: 0 / 0.9907 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/1.408, allocations: 82.62 kB / 0.9907 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/1.408, allocations: 22.12 kB / 0.9908 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/1.409, allocations: 353.4 kB / 0.9911 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/1.409, allocations: 0.7163 MB / 0.9918 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001088/1.409, allocations: 17.02 kB / 0.9918 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/1.409, allocations: 19.44 kB / 0.9918 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.409, allocations: 0 / 0.9918 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.006417/1.416, allocations: 2.627 MB / 0.9944 GB, free: 7.883 MB / 0.6355 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)