Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, 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.001349/0.001349, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.762 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.001176/0.001176, allocations: 52.23 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.189, allocations: 46.63 MB / 324.7 MB, free: 2.047 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06422/0.2533, allocations: 67.31 MB / 392 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00653/0.2599, allocations: 5.559 MB / 397.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.2602, allocations: 8 kB / 397.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008535/0.2611, allocations: 306.5 kB / 397.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007356/0.2618, allocations: 0.4935 MB / 398.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01435/0.2762, allocations: 5.907 MB / 404.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.2784, allocations: 2.304 MB / 406.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.2786, allocations: 169.4 kB / 406.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007979/0.2794, allocations: 0.5371 MB / 407.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.2801, allocations: 0.5839 MB / 407.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.2802, allocations: 40 kB / 407.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01627/0.2965, allocations: 10.28 MB / 418.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004423/0.297, allocations: 275.3 kB / 418.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.2976, allocations: 406.3 kB / 418.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.3097, allocations: 6.015 MB / 424.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3097, allocations: 0 / 424.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3097, allocations: 0 / 424.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3098, allocations: 3.938 kB / 424.8 MB, free: 15.8 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003499/0.3133, allocations: 1.548 MB / 426.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3133, allocations: 8.031 kB / 426.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/0.3138, allocations: 87.23 kB / 426.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.3144, allocations: 444.8 kB / 426.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.3144, allocations: 49.31 kB / 427 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.484e-05/0.3145, allocations: 64 kB / 427 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.3163, allocations: 0.8029 MB / 427.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.3163, allocations: 7.906 kB / 427.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.3164, allocations: 24 kB / 427.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.3164, allocations: 16 kB / 427.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.3183, allocations: 1.024 MB / 428.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/0.3355, allocations: 12.79 MB / 441.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.3372, allocations: 0.7412 MB / 442.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.3378, allocations: 418.8 kB / 442.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1512/0.4889, allocations: 12.23 MB / 455.1 MB, free: 115.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.489, allocations: 47.05 kB / 455.1 MB, free: 115.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.275e-06/0.489, allocations: 0.5312 kB / 455.1 MB, free: 115.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.00962/0.4986, allocations: 3.372 MB / 458.5 MB, free: 114.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.4987, allocations: 64.91 kB / 458.6 MB, free: 114.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.4991, allocations: 349.5 kB / 458.9 MB, free: 114.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/0.4992, allocations: 44.41 kB / 458.9 MB, free: 114.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4993, allocations: 242.4 kB / 459.2 MB, free: 114.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.4995, allocations: 309.4 kB / 459.5 MB, free: 113.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.4998, allocations: 155.5 kB / 459.6 MB, free: 113.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.4999, allocations: 362 kB / 460 MB, free: 113.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.5004, allocations: 373.1 kB / 460.3 MB, free: 113.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008792/0.5013, allocations: 490 kB / 460.8 MB, free: 113.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.503, allocations: 0.9052 MB / 461.7 MB, free: 112.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.503, allocations: 1.125 kB / 461.7 MB, free: 112.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002368/0.5054, allocations: 1.122 MB / 462.9 MB, free: 112.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.5054, allocations: 3.969 kB / 462.9 MB, free: 112.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5054, allocations: 10.28 kB / 462.9 MB, free: 112.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000795/0.5062, allocations: 158.8 kB / 463 MB, free: 112.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/0.5069, allocations: 198.2 kB / 463.2 MB, free: 112 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.5088, allocations: 3.909 MB / 467.1 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.5094, allocations: 73.23 kB / 467.2 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.5095, allocations: 43.55 kB / 467.2 MB, free: 108.1 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003064/0.5098, allocations: 221 kB / 467.5 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.5102, allocations: 64.41 kB / 467.5 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.5122, allocations: 1.276 MB / 468.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5122, allocations: 7.812 kB / 468.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5122, allocations: 0 / 468.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/0.5136, allocations: 1.327 MB / 470.1 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.5162, allocations: 1.971 MB / 472.1 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.5163, allocations: 0 / 472.1 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.5169, allocations: 163.7 kB / 472.3 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.5186, allocations: 300.4 kB / 472.6 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.5187, allocations: 25.61 kB / 472.6 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005107/0.5192, allocations: 1.291 MB / 473.9 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5192, allocations: 7.984 kB / 473.9 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.5214, allocations: 1.413 MB / 475.3 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5215, allocations: 134.1 kB / 475.4 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.5216, allocations: 22.89 kB / 475.4 MB, free: 102.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/0.5222, allocations: 45.31 kB / 475.5 MB, free: 102.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.5223, allocations: 57.64 kB / 475.5 MB, free: 102.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/0.5224, allocations: 44.12 kB / 475.6 MB, free: 102.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.5226, allocations: 282.9 kB / 475.9 MB, free: 102.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5226, allocations: 0 / 475.9 MB, free: 102.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003274/0.5259, allocations: 1.393 MB / 477.3 MB, free: 101 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004839/0.5308, allocations: 1.755 MB / 479 MB, free: 99.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.5326, allocations: 1.15 MB / 480.2 MB, free: 98.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5326, allocations: 0 / 480.2 MB, free: 98.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.5334, allocations: 493.5 kB / 480.6 MB, free: 97.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.5352, allocations: 378.1 kB / 481 MB, free: 97.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.5376, allocations: 1.914 MB / 482.9 MB, free: 95.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.538, allocations: 0.9128 MB / 483.8 MB, free: 94.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007008/0.5387, allocations: 206.7 kB / 484 MB, free: 94.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.5389, allocations: 75.41 kB / 484.1 MB, free: 94.43 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5389, allocations: 0 / 484.1 MB, free: 94.43 MB / 382.1 MB Notification: Performance of Templates: time 0.04938/0.5883, allocations: 50.56 MB / 0.5221 GB, free: 43.81 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)