Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001279/0.001279, allocations: 108.6 kB / 16.51 MB, free: 6.715 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.001327/0.001327, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.324/1.324, allocations: 205.1 MB / 223.3 MB, free: 12.41 MB / 190.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.001144/0.001144, allocations: 47.94 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07786/0.07901, allocations: 46.63 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05178/0.1308, allocations: 52.36 MB / 378.3 MB, free: 336 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1546/0.2855, allocations: 5.274 MB / 383.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2857, allocations: 2.625 kB / 383.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.2864, allocations: 219.8 kB / 383.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.287, allocations: 357.4 kB / 384.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01318/0.3002, allocations: 5.593 MB / 389.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.3019, allocations: 1.606 MB / 391.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.3021, allocations: 118.4 kB / 391.5 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006707/0.3088, allocations: 3.658 MB / 395.1 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.3093, allocations: 422.3 kB / 395.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.3094, allocations: 26.81 kB / 395.6 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/0.3244, allocations: 9.955 MB / 405.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.3247, allocations: 198 kB / 405.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.3252, allocations: 278.2 kB / 406 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009507/0.3348, allocations: 5.569 MB / 411.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3348, allocations: 0 / 411.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3348, allocations: 4 kB / 411.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3348, allocations: 2.531 kB / 411.6 MB, free: 5.215 MB / 318.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.002601/0.3374, allocations: 1.344 MB / 412.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3375, allocations: 16.02 kB / 412.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.3378, allocations: 58.34 kB / 413 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3381, allocations: 369.8 kB / 413.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3382, allocations: 31.25 kB / 413.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.3382, allocations: 40 kB / 413.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3393, allocations: 0.5889 MB / 414 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3393, allocations: 4 kB / 414 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.3394, allocations: 20 kB / 414 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3394, allocations: 12 kB / 414 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3405, allocations: 0.7423 MB / 414.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.3558, allocations: 11.96 MB / 426.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.3571, allocations: 0.5206 MB / 427.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.3575, allocations: 262 kB / 427.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01432/0.3718, allocations: 11.9 MB / 439.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.3719, allocations: 39 kB / 439.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.174e-06/0.3719, allocations: 0 / 439.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005773/0.3777, allocations: 2.121 MB / 441.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3777, allocations: 59.97 kB / 441.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.3781, allocations: 322.8 kB / 441.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.3782, allocations: 41.55 kB / 442 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3783, allocations: 192.5 kB / 442.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3784, allocations: 198.3 kB / 442.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.3786, allocations: 118.1 kB / 442.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3788, allocations: 350.7 kB / 442.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.3792, allocations: 241 kB / 443.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.3798, allocations: 344.3 kB / 443.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.381, allocations: 0.5999 MB / 444 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.381, allocations: 0 / 444 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001776/0.3827, allocations: 0.7485 MB / 444.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3828, allocations: 8.062 kB / 444.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3828, allocations: 7.938 kB / 444.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/0.3833, allocations: 102.5 kB / 444.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.3838, allocations: 125.9 kB / 445 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.3862, allocations: 3.271 MB / 448.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.3866, allocations: 40.11 kB / 448.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.3867, allocations: 31.98 kB / 448.3 MB, free: 12.07 MB / 366.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.0002465/0.3869, allocations: 194.6 kB / 448.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.3872, allocations: 47.53 kB / 448.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.3888, allocations: 0.8155 MB / 449.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3888, allocations: 8 kB / 449.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3888, allocations: 11.98 kB / 449.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/0.3899, allocations: 0.7596 MB / 450.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.392, allocations: 1.295 MB / 451.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.392, allocations: 0 / 451.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.3924, allocations: 97.84 kB / 451.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009323/0.3934, allocations: 144.7 kB / 451.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.3934, allocations: 19.98 kB / 451.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003819/0.3938, allocations: 0.6514 MB / 452.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3938, allocations: 3.938 kB / 452.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.3955, allocations: 0.9033 MB / 453.3 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.3956, allocations: 116.4 kB / 453.4 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.3957, allocations: 19.98 kB / 453.4 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.3961, allocations: 31.83 kB / 453.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.3962, allocations: 36.39 kB / 453.5 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.3963, allocations: 27.97 kB / 453.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.3965, allocations: 257.9 kB / 453.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3965, allocations: 0 / 453.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003467/0.4, allocations: 1.312 MB / 455.1 MB, free: 5.141 MB / 366.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.004936/0.405, allocations: 1.693 MB / 456.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.4064, allocations: 0.7957 MB / 457.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4064, allocations: 0.5625 kB / 457.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.407, allocations: 294.4 kB / 457.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.4084, allocations: 269.3 kB / 458.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.4103, allocations: 1.264 MB / 459.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.4107, allocations: 0.8404 MB / 460.2 MB, free: 76 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005321/0.4112, allocations: 144.2 kB / 460.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.4114, allocations: 55.36 kB / 460.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4114, allocations: 0 / 460.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Templates: time 0.05939/0.4708, allocations: 45.85 MB / 0.4944 GB, free: 2.047 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)