Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001574/0.001574, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001992/0.001992, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0004353/0.0004354, allocations: 12 kB / 278.9 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 47.58 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1458/0.3572, allocations: 125.4 MB / 451.9 MB, free: 5.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.3597, allocations: 2.116 MB / 454 MB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.3598, allocations: 4 kB / 454 MB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.3599, allocations: 23.88 kB / 454 MB, free: 3.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008153/0.3608, allocations: 279.1 kB / 454.3 MB, free: 3.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.3609, allocations: 43.94 kB / 454.3 MB, free: 3.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.185e-05/0.361, allocations: 59.83 kB / 454.4 MB, free: 3.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.3611, allocations: 4 kB / 454.4 MB, free: 3.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.3612, allocations: 47.84 kB / 454.4 MB, free: 3.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.3613, allocations: 23.91 kB / 454.5 MB, free: 3.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.554e-06/0.3613, allocations: 0 / 454.5 MB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.362, allocations: 383.5 kB / 454.8 MB, free: 2.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.3621, allocations: 7.984 kB / 454.8 MB, free: 2.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.3621, allocations: 41.64 kB / 454.9 MB, free: 2.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.3625, allocations: 208.9 kB / 455.1 MB, free: 2.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.3625, allocations: 0 / 455.1 MB, free: 2.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3625, allocations: 0 / 455.1 MB, free: 2.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3625, allocations: 0 / 455.1 MB, free: 2.578 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.0008112/0.3633, allocations: 423.1 kB / 455.5 MB, free: 2.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3633, allocations: 12.03 kB / 455.5 MB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006021/0.3694, allocations: 447.3 kB / 455.9 MB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3695, allocations: 167 kB / 456.1 MB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3695, allocations: 7.938 kB / 456.1 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.3696, allocations: 8 kB / 456.1 MB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.3704, allocations: 305.1 kB / 456.4 MB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3704, allocations: 4 kB / 456.4 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.3705, allocations: 4 kB / 456.4 MB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3705, allocations: 0 / 456.4 MB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000781/0.3713, allocations: 271.8 kB / 456.7 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009547/0.3722, allocations: 425.6 kB / 457.1 MB, free: 412 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009995/0.3732, allocations: 210.3 kB / 457.3 MB, free: 192 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3733, allocations: 7.984 kB / 457.3 MB, free: 184 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3733, allocations: 38.52 kB / 457.4 MB, free: 136 kB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3733, allocations: 0 / 457.4 MB, free: 136 kB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.1467/0.5201, allocations: 413.8 kB / 457.8 MB, free: 127.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.5201, allocations: 57.5 kB / 457.8 MB, free: 127.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.5202, allocations: 101.2 kB / 457.9 MB, free: 127.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.5202, allocations: 29.42 kB / 457.9 MB, free: 127.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.5203, allocations: 91.06 kB / 458 MB, free: 127.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.5203, allocations: 56.19 kB / 458.1 MB, free: 127.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.5204, allocations: 3.969 kB / 458.1 MB, free: 127.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.5204, allocations: 322.5 kB / 458.4 MB, free: 127.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.5208, allocations: 75.97 kB / 458.5 MB, free: 127.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.5211, allocations: 117.4 kB / 458.6 MB, free: 127.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.5214, allocations: 82.28 kB / 458.7 MB, free: 127.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5215, allocations: 0.5 kB / 458.7 MB, free: 127.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007405/0.5222, allocations: 253.3 kB / 458.9 MB, free: 127.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5222, allocations: 5.375 kB / 458.9 MB, free: 127.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5222, allocations: 1.656 kB / 458.9 MB, free: 127.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.5223, allocations: 2.062 kB / 458.9 MB, free: 127.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.5227, allocations: 53.64 kB / 459 MB, free: 127.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.5227, allocations: 2.094 kB / 459 MB, free: 127.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.523, allocations: 16.09 kB / 459 MB, free: 127.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.5231, allocations: 10.59 kB / 459 MB, free: 127.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.5232, allocations: 130 kB / 459.1 MB, free: 127.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.5232, allocations: 9.156 kB / 459.2 MB, free: 127.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/0.5241, allocations: 279.3 kB / 459.4 MB, free: 127 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5241, allocations: 2.344 kB / 459.4 MB, free: 127 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5241, allocations: 3.438 kB / 459.4 MB, free: 127 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5241, allocations: 3.5 kB / 459.4 MB, free: 127 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.5254, allocations: 0.572 MB / 460 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5254, allocations: 0.6875 kB / 460 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.5257, allocations: 47.95 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.5258, allocations: 1.969 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.5258, allocations: 15.98 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5258, allocations: 1.094 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5258, allocations: 1.094 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.5264, allocations: 357.5 kB / 460.4 MB, free: 126.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.5265, allocations: 86.11 kB / 460.5 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.5265, allocations: 5.953 kB / 460.5 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.5268, allocations: 14.23 kB / 460.5 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.5268, allocations: 14.59 kB / 460.5 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.5269, allocations: 16.88 kB / 460.6 MB, free: 126.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.502e-05/0.5269, allocations: 83.45 kB / 460.6 MB, free: 126.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5269, allocations: 0 / 460.6 MB, free: 126.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.5273, allocations: 44.72 kB / 460.7 MB, free: 126.2 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 (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.000201/0.5275, allocations: 123 kB / 460.8 MB, free: 126.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006141/0.5281, allocations: 198.5 kB / 461 MB, free: 126 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5281, allocations: 0 / 461 MB, free: 126 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.5284, allocations: 97.41 kB / 461.1 MB, free: 126 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.5287, allocations: 44.08 kB / 461.1 MB, free: 126 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.5295, allocations: 315.5 kB / 461.4 MB, free: 125.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.5296, allocations: 0.6924 MB / 462.1 MB, free: 125.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.53, allocations: 61.52 kB / 462.2 MB, free: 125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.5301, allocations: 34.78 kB / 462.2 MB, free: 125 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5301, allocations: 0 / 462.2 MB, free: 125 MB / 382.1 MB Notification: Performance of Templates: time 0.0059/0.5361, allocations: 2.853 MB / 465.1 MB, free: 123.6 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) Environment - environmentSimulation: