Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001795/0.001796, allocations: 192.9 kB / 16.14 MB, free: 6.707 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.375/1.375, allocations: 205.1 MB / 222 MB, free: 4.781 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.001148/0.001148, allocations: 47.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1928, allocations: 46.64 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05181/0.2447, allocations: 52.37 MB / 377 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006015/0.2507, allocations: 5.286 MB / 382.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.251, allocations: 4 kB / 382.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.2517, allocations: 218.9 kB / 382.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.2523, allocations: 354.2 kB / 382.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01403/0.2663, allocations: 5.599 MB / 388.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2678, allocations: 1.606 MB / 390.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.268, allocations: 118.1 kB / 390.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006914/0.2749, allocations: 3.659 MB / 393.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.2754, allocations: 414.6 kB / 394.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.2755, allocations: 28 kB / 394.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0157/0.2912, allocations: 9.95 MB / 404.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.2915, allocations: 199.5 kB / 404.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.2919, allocations: 282.8 kB / 404.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3024, allocations: 5.571 MB / 410.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3025, allocations: 0 / 410.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3025, allocations: 0 / 410.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3025, allocations: 3.938 kB / 410.3 MB, free: 14.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002844/0.3054, allocations: 1.341 MB / 411.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3054, allocations: 12.03 kB / 411.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.3057, allocations: 55.52 kB / 411.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.3062, allocations: 373.8 kB / 412.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.3062, allocations: 33 kB / 412.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.3063, allocations: 44 kB / 412.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.3076, allocations: 0.5804 MB / 412.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.3076, allocations: 4 kB / 412.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.3076, allocations: 16 kB / 412.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3077, allocations: 12 kB / 412.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.309, allocations: 0.7417 MB / 413.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/0.325, allocations: 11.97 MB / 425.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.3262, allocations: 0.5275 MB / 426 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.3266, allocations: 250.1 kB / 426.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01498/0.3416, allocations: 11.9 MB / 438.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.3417, allocations: 39 kB / 438.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/0.3417, allocations: 0 / 438.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.00609/0.3478, allocations: 2.112 MB / 440.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3479, allocations: 59.97 kB / 440.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.3483, allocations: 322.9 kB / 440.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.3483, allocations: 37.7 kB / 440.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3485, allocations: 204.4 kB / 440.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.3486, allocations: 193.2 kB / 441.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.3488, allocations: 114.1 kB / 441.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.349, allocations: 346.8 kB / 441.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.3494, allocations: 241 kB / 441.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/0.3501, allocations: 339.3 kB / 442.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.3512, allocations: 0.6034 MB / 442.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3512, allocations: 0 / 442.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001853/0.3531, allocations: 0.7441 MB / 443.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3531, allocations: 15.92 kB / 443.5 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3531, allocations: 4 kB / 443.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.3536, allocations: 102.5 kB / 443.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.3541, allocations: 128.1 kB / 443.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.3565, allocations: 3.267 MB / 447 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.3569, allocations: 55.81 kB / 447 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.357, allocations: 31.98 kB / 447.1 MB, free: 4.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.3573, allocations: 185.8 kB / 447.2 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.3576, allocations: 43.53 kB / 447.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.3591, allocations: 0.8188 MB / 448.1 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3592, allocations: 4 kB / 448.1 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.3592, allocations: 0 / 448.1 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.3603, allocations: 0.7712 MB / 448.9 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.3623, allocations: 1.294 MB / 450.2 MB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3624, allocations: 8.062 kB / 450.2 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/0.3628, allocations: 103.8 kB / 450.3 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009416/0.3638, allocations: 148.6 kB / 450.4 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.3638, allocations: 12 kB / 450.4 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003826/0.3642, allocations: 0.6561 MB / 451.1 MB, free: 256 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3642, allocations: 0 / 451.1 MB, free: 256 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1489/0.5132, allocations: 0.8981 MB / 452 MB, free: 117.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.5133, allocations: 115.9 kB / 452.1 MB, free: 117.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.5134, allocations: 17.39 kB / 452.1 MB, free: 117.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.5139, allocations: 30.77 kB / 452.2 MB, free: 117.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.514, allocations: 38.36 kB / 452.2 MB, free: 117.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.5141, allocations: 28.89 kB / 452.2 MB, free: 117.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003618/0.5144, allocations: 253.8 kB / 452.5 MB, free: 117.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5144, allocations: 2.406 kB / 452.5 MB, free: 117.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004008/0.5185, allocations: 1.309 MB / 453.8 MB, free: 117.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005253/0.5237, allocations: 1.7 MB / 455.5 MB, free: 117.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.5251, allocations: 0.8067 MB / 456.3 MB, free: 117.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5252, allocations: 0 / 456.3 MB, free: 117.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.5257, allocations: 287.2 kB / 456.6 MB, free: 117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.527, allocations: 274 kB / 456.8 MB, free: 116.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.5286, allocations: 1.253 MB / 458.1 MB, free: 116.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.5288, allocations: 0.8376 MB / 458.9 MB, free: 115.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004698/0.5293, allocations: 141.8 kB / 459.1 MB, free: 115.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.5295, allocations: 61.55 kB / 459.1 MB, free: 115.6 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5295, allocations: 0 / 459.1 MB, free: 115.6 MB / 382.1 MB Notification: Performance of Templates: time 0.04412/0.5736, allocations: 45.84 MB / 0.4931 GB, free: 73.48 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)