Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001262/0.001262, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001395/0.001395, allocations: 193.6 kB / 16.25 MB, free: 6.629 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.334/1.334, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.00109/0.00109, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1927, allocations: 46.62 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06321/0.256, allocations: 65.51 MB / 390.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006557/0.2626, allocations: 5.438 MB / 395.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.2629, allocations: 11.94 kB / 395.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009131/0.2639, allocations: 306.5 kB / 396.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007521/0.2646, allocations: 493.4 kB / 396.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01512/0.2798, allocations: 6.399 MB / 403 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.2814, allocations: 1.551 MB / 404.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.2817, allocations: 208.9 kB / 404.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007593/0.2825, allocations: 0.623 MB / 405.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.2831, allocations: 0.6034 MB / 406 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2832, allocations: 84 kB / 406 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01465/0.2979, allocations: 10.06 MB / 416.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.2983, allocations: 319.3 kB / 416.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005035/0.2988, allocations: 442.3 kB / 416.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.3092, allocations: 6.058 MB / 422.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3093, allocations: 0 / 422.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3093, allocations: 0 / 422.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3093, allocations: 0 / 422.9 MB, free: 1.742 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00327/0.3126, allocations: 1.552 MB / 424.5 MB, free: 144 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3126, allocations: 12.03 kB / 424.5 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.313, allocations: 87.23 kB / 424.6 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.3136, allocations: 448.7 kB / 425 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.3137, allocations: 45.31 kB / 425 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.3138, allocations: 60 kB / 425.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.3155, allocations: 0.8069 MB / 425.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.3155, allocations: 3.906 kB / 425.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/0.3156, allocations: 31.98 kB / 425.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3156, allocations: 16 kB / 426 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3175, allocations: 1.02 MB / 427 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.3347, allocations: 12.79 MB / 439.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.3363, allocations: 0.7374 MB / 440.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.3369, allocations: 418.8 kB / 440.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1584/0.4953, allocations: 12.24 MB / 453.1 MB, free: 117.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.4954, allocations: 45.22 kB / 453.2 MB, free: 117.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.256e-06/0.4954, allocations: 0.5625 kB / 453.2 MB, free: 117.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.0095/0.5049, allocations: 3.379 MB / 456.6 MB, free: 116.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5049, allocations: 64.75 kB / 456.6 MB, free: 116.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.5053, allocations: 356.5 kB / 457 MB, free: 116.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.5054, allocations: 43.39 kB / 457 MB, free: 116.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.5055, allocations: 240.7 kB / 457.3 MB, free: 116.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.5057, allocations: 305.5 kB / 457.6 MB, free: 116.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.5059, allocations: 164 kB / 457.7 MB, free: 116 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.5061, allocations: 359.2 kB / 458.1 MB, free: 115.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.5066, allocations: 368.7 kB / 458.4 MB, free: 115.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/0.5075, allocations: 498.5 kB / 458.9 MB, free: 115.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.509, allocations: 0.9036 MB / 459.8 MB, free: 114.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.509, allocations: 0 / 459.8 MB, free: 114.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002207/0.5112, allocations: 1.116 MB / 460.9 MB, free: 114.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5112, allocations: 6.219 kB / 460.9 MB, free: 114.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5113, allocations: 3.938 kB / 460.9 MB, free: 114.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007563/0.512, allocations: 160.4 kB / 461.1 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.5127, allocations: 201.6 kB / 461.3 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.5146, allocations: 4.108 MB / 465.4 MB, free: 110.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.5151, allocations: 66.45 kB / 465.5 MB, free: 110.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/0.5152, allocations: 50.8 kB / 465.5 MB, free: 110.2 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.0003324/0.5156, allocations: 220.7 kB / 465.7 MB, free: 110 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/0.516, allocations: 55.86 kB / 465.8 MB, free: 110 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.5179, allocations: 1.295 MB / 467.1 MB, free: 109.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5179, allocations: 7.906 kB / 467.1 MB, free: 109.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.518, allocations: 3.938 kB / 467.1 MB, free: 109.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/0.5194, allocations: 1.321 MB / 468.4 MB, free: 108.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.5219, allocations: 1.964 MB / 470.4 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5219, allocations: 4 kB / 470.4 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006693/0.5226, allocations: 164.5 kB / 470.5 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.5242, allocations: 297.2 kB / 470.8 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.5243, allocations: 32.61 kB / 470.9 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005026/0.5248, allocations: 1.287 MB / 472.2 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5248, allocations: 0 / 472.2 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.527, allocations: 1.415 MB / 473.6 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.5271, allocations: 136.4 kB / 473.7 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/0.5272, allocations: 19.47 kB / 473.7 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.5278, allocations: 49.42 kB / 473.8 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.5279, allocations: 58.92 kB / 473.8 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.5279, allocations: 47.95 kB / 473.9 MB, free: 104.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.5282, allocations: 279 kB / 474.1 MB, free: 104.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5282, allocations: 0 / 474.1 MB, free: 104.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003141/0.5313, allocations: 1.397 MB / 475.5 MB, free: 103 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.004823/0.5362, allocations: 1.746 MB / 477.3 MB, free: 101.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.5385, allocations: 1.271 MB / 478.6 MB, free: 100.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5386, allocations: 4 kB / 478.6 MB, free: 100.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.5393, allocations: 491.2 kB / 479 MB, free: 99.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.541, allocations: 399 kB / 479.4 MB, free: 99.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.5433, allocations: 1.907 MB / 481.3 MB, free: 97.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.5436, allocations: 0.9128 MB / 482.2 MB, free: 96.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006755/0.5443, allocations: 205.2 kB / 482.4 MB, free: 96.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.5444, allocations: 79.42 kB / 482.5 MB, free: 96.24 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5444, allocations: 0 / 482.5 MB, free: 96.24 MB / 382.1 MB Notification: Performance of Templates: time 0.06156/0.606, allocations: 51.22 MB / 0.5212 GB, free: 44.96 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)