Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 107.6 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 51.92 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.08054, allocations: 46.62 MB / 325.9 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2909/0.3715, allocations: 148.2 MB / 474.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3732, allocations: 1.563 MB / 475.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.3732, allocations: 4 kB / 475.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3734, allocations: 22.64 kB / 475.7 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006769/0.3741, allocations: 276.7 kB / 476 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.3742, allocations: 47.83 kB / 476.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.945e-05/0.3743, allocations: 75.55 kB / 476.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.322e-05/0.3743, allocations: 7.969 kB / 476.1 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.3744, allocations: 29.42 kB / 476.2 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.3745, allocations: 27.86 kB / 476.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.3745, allocations: 4 kB / 476.2 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.3751, allocations: 367.4 kB / 476.6 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.3751, allocations: 15.02 kB / 476.6 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.3752, allocations: 27.88 kB / 476.6 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.3756, allocations: 299.5 kB / 476.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3756, allocations: 3.938 kB / 476.9 MB, free: 0.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3756, allocations: 0 / 476.9 MB, free: 0.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3757, allocations: 0 / 476.9 MB, free: 0.543 MB / 366.1 MB 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.0008135/0.3765, allocations: 435.9 kB / 477.3 MB, free: 72 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3765, allocations: 12.03 kB / 477.3 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006109/0.3826, allocations: 452.2 kB / 477.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3828, allocations: 168.5 kB / 477.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3828, allocations: 3.938 kB / 477.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.3829, allocations: 8 kB / 477.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.3837, allocations: 301.2 kB / 478.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3837, allocations: 4 kB / 478.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.3837, allocations: 4 kB / 478.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3838, allocations: 0 / 478.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.3845, allocations: 275.7 kB / 478.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3856, allocations: 434.8 kB / 478.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/0.3866, allocations: 202.4 kB / 479.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3868, allocations: 69.06 kB / 479.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3869, allocations: 15.98 kB / 479.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3869, allocations: 38.5 kB / 479.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3869, allocations: 0 / 479.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001706/0.3886, allocations: 424.5 kB / 479.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.3887, allocations: 55.41 kB / 479.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.3887, allocations: 97.86 kB / 479.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.3888, allocations: 25.7 kB / 479.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.3888, allocations: 103.9 kB / 480 MB, free: 13.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.3889, allocations: 55.11 kB / 480 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.389, allocations: 45.69 kB / 480.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3891, allocations: 318.8 kB / 480.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.3893, allocations: 79.94 kB / 480.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.3896, allocations: 116.2 kB / 480.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.3901, allocations: 204.1 kB / 480.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3902, allocations: 2.688 kB / 480.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006196/0.3908, allocations: 245.2 kB / 481 MB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3908, allocations: 12.12 kB / 481 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3908, allocations: 0 / 481 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3908, allocations: 0 / 481 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.3912, allocations: 51.89 kB / 481.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3912, allocations: 4 kB / 481.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.3915, allocations: 15.98 kB / 481.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.3915, allocations: 11.98 kB / 481.1 MB, free: 12.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.3917, allocations: 125.8 kB / 481.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.3917, allocations: 7.938 kB / 481.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008096/0.3925, allocations: 277.1 kB / 481.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3926, allocations: 3.984 kB / 481.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3926, allocations: 0 / 481.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3926, allocations: 4 kB / 481.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.3938, allocations: 0.5867 MB / 482.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3939, allocations: 4 kB / 482.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.3942, allocations: 43.91 kB / 482.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.3942, allocations: 8.047 kB / 482.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.3942, allocations: 8.875 kB / 482.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3942, allocations: 0 / 482.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3943, allocations: 0 / 482.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006631/0.3949, allocations: 336.8 kB / 482.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.395, allocations: 89 kB / 482.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.395, allocations: 0 / 482.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.3953, allocations: 15.98 kB / 482.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.3953, allocations: 19.86 kB / 482.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.3954, allocations: 12 kB / 482.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.224e-05/0.3954, allocations: 83.27 kB / 482.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3954, allocations: 0 / 482.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.3958, allocations: 48 kB / 482.7 MB, free: 10.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002043/0.396, allocations: 127.1 kB / 482.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.3966, allocations: 195.8 kB / 483.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3966, allocations: 0 / 483.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.3969, allocations: 100.2 kB / 483.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.3973, allocations: 39.89 kB / 483.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008366/0.3982, allocations: 308.7 kB / 483.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3984, allocations: 0.6969 MB / 484.2 MB, free: 8.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000408/0.3989, allocations: 56.75 kB / 484.2 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.399, allocations: 31.41 kB / 484.3 MB, free: 8.734 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.399, allocations: 0 / 484.3 MB, free: 8.734 MB / 382.1 MB Notification: Performance of Templates: time 0.005595/0.4046, allocations: 2.945 MB / 487.2 MB, free: 5.805 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)