Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001081/0.001081, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00116/0.00116, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.363/1.363, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.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.001297/0.001297, allocations: 43.94 kB / 278.2 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2246, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3495/0.5741, allocations: 148.3 MB / 473.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.5754, allocations: 1.521 MB / 474.7 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.5755, allocations: 2.25 kB / 474.7 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.5757, allocations: 26 kB / 474.7 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000737/0.5765, allocations: 285.5 kB / 475 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.5766, allocations: 55.73 kB / 475 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.352e-05/0.5767, allocations: 75.8 kB / 475.1 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.5768, allocations: 5.219 kB / 475.1 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.964e-05/0.5769, allocations: 32.67 kB / 475.1 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.5769, allocations: 25.3 kB / 475.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.577, allocations: 2.5 kB / 475.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.5775, allocations: 379 kB / 475.5 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.5776, allocations: 8.562 kB / 475.6 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.5776, allocations: 27.39 kB / 475.6 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.578, allocations: 304.2 kB / 475.9 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.578, allocations: 1.094 kB / 475.9 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.578, allocations: 0 / 475.9 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.578, allocations: 0 / 475.9 MB, free: 0.9375 MB / 382.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.0008517/0.5789, allocations: 433.7 kB / 476.3 MB, free: 16.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5789, allocations: 10.22 kB / 476.3 MB, free: 16.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005935/0.5849, allocations: 455 kB / 476.8 MB, free: 16.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.585, allocations: 176.3 kB / 476.9 MB, free: 16.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.585, allocations: 8.516 kB / 476.9 MB, free: 16.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.5851, allocations: 6.344 kB / 476.9 MB, free: 16.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.5858, allocations: 299.3 kB / 477.2 MB, free: 16.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5858, allocations: 4 kB / 477.2 MB, free: 16.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.5859, allocations: 1.312 kB / 477.2 MB, free: 16.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5859, allocations: 2.094 kB / 477.2 MB, free: 16.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007261/0.5866, allocations: 280.9 kB / 477.5 MB, free: 16.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009292/0.5876, allocations: 421.7 kB / 477.9 MB, free: 16.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/0.5886, allocations: 209.7 kB / 478.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.5888, allocations: 69.11 kB / 478.2 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.5888, allocations: 6.766 kB / 478.2 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.5888, allocations: 39.69 kB / 478.2 MB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.5888, allocations: 0 / 478.2 MB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00159/0.5904, allocations: 422.2 kB / 478.7 MB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.5905, allocations: 56.64 kB / 478.7 MB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.5906, allocations: 101.6 kB / 478.8 MB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.5906, allocations: 29.08 kB / 478.8 MB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.5906, allocations: 98.77 kB / 478.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.5907, allocations: 59.25 kB / 479 MB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.5908, allocations: 47.23 kB / 479 MB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.5909, allocations: 319.7 kB / 479.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.5911, allocations: 80.31 kB / 479.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.5914, allocations: 115.2 kB / 479.5 MB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.5918, allocations: 206.2 kB / 479.7 MB, free: 15.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5919, allocations: 0 / 479.7 MB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005865/0.5924, allocations: 246.8 kB / 480 MB, free: 15.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5925, allocations: 5.156 kB / 480 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5925, allocations: 4 kB / 480 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5925, allocations: 6.078 kB / 480 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.5929, allocations: 46.44 kB / 480 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5929, allocations: 2.969 kB / 480.1 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.5931, allocations: 17.86 kB / 480.1 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.5932, allocations: 12.19 kB / 480.1 MB, free: 15.08 MB / 398.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.0001097/0.5933, allocations: 131.8 kB / 480.2 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.5933, allocations: 3.375 kB / 480.2 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007409/0.5941, allocations: 277.1 kB / 480.5 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5941, allocations: 2.562 kB / 480.5 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5941, allocations: 0 / 480.5 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5941, allocations: 3.094 kB / 480.5 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.5952, allocations: 0.5871 MB / 481.1 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5952, allocations: 2.094 kB / 481.1 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.5956, allocations: 48.41 kB / 481.1 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5956, allocations: 4.062 kB / 481.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.5956, allocations: 8.062 kB / 481.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5956, allocations: 0 / 481.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5956, allocations: 6.125 kB / 481.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.5962, allocations: 329.3 kB / 481.5 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.5963, allocations: 84.39 kB / 481.5 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.5963, allocations: 8.875 kB / 481.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.5966, allocations: 10.94 kB / 481.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.5966, allocations: 22 kB / 481.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.5967, allocations: 8 kB / 481.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.5967, allocations: 88.78 kB / 481.7 MB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5967, allocations: 0 / 481.7 MB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.5971, allocations: 44.69 kB / 481.7 MB, free: 14.23 MB / 398.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.0002411/0.5973, allocations: 126.5 kB / 481.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006026/0.5979, allocations: 205.8 kB / 482.1 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5979, allocations: 0 / 482.1 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.5982, allocations: 105.5 kB / 482.2 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.5987, allocations: 38.06 kB / 482.2 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.5995, allocations: 307.8 kB / 482.5 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.5998, allocations: 0.6942 MB / 483.2 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.6002, allocations: 55.55 kB / 483.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.6003, allocations: 32.89 kB / 483.3 MB, free: 13.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6003, allocations: 1.203 kB / 483.3 MB, free: 13.2 MB / 398.1 MB Notification: Performance of Templates: time 0.00546/0.6058, allocations: 3.044 MB / 486.3 MB, free: 12.99 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)