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.001077/0.001077, allocations: 107.8 kB / 16.92 MB, free: 6.145 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.001076/0.001076, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.351/1.351, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001162/0.001162, allocations: 51.91 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09449, allocations: 46.64 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05239/0.1469, allocations: 50.69 MB / 377.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1676/0.3146, allocations: 5.182 MB / 382.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.3149, allocations: 7.031 kB / 382.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008956/0.3159, allocations: 246 kB / 382.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007769/0.3167, allocations: 368.2 kB / 383.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01712/0.3338, allocations: 6.754 MB / 389.8 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.3352, allocations: 1.091 MB / 390.9 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.3355, allocations: 148.4 kB / 391.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006586/0.3421, allocations: 3.592 MB / 394.7 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.3426, allocations: 398.3 kB / 395.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.997e-05/0.3427, allocations: 57.19 kB / 395.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01804/0.3608, allocations: 9.648 MB / 404.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004456/0.3613, allocations: 231.2 kB / 405 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000575/0.3619, allocations: 307 kB / 405.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.3744, allocations: 5.475 MB / 410.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3745, allocations: 4 kB / 410.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3745, allocations: 0 / 410.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3745, allocations: 3.984 kB / 410.8 MB, free: 4.449 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.00373/0.3782, allocations: 1.347 MB / 412.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3783, allocations: 8.031 kB / 412.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.3787, allocations: 59.52 kB / 412.2 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.3791, allocations: 368.1 kB / 412.6 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3791, allocations: 29 kB / 412.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.3792, allocations: 44 kB / 412.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.3802, allocations: 0.593 MB / 413.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3803, allocations: 0 / 413.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.3803, allocations: 16 kB / 413.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3803, allocations: 15.66 kB / 413.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.3814, allocations: 0.7462 MB / 414 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.3973, allocations: 11.98 MB / 426 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.3986, allocations: 0.527 MB / 426.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.399, allocations: 262 kB / 426.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01471/0.4138, allocations: 11.89 MB / 438.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.4138, allocations: 39 kB / 438.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.914e-06/0.4138, allocations: 0 / 438.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005814/0.4197, allocations: 2.124 MB / 440.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.4197, allocations: 63.16 kB / 440.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.4201, allocations: 322.8 kB / 441.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.4202, allocations: 37.7 kB / 441.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.4203, allocations: 199.5 kB / 441.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.4204, allocations: 188.7 kB / 441.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.4206, allocations: 114.1 kB / 441.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4208, allocations: 354.8 kB / 442.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.4212, allocations: 237 kB / 442.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/0.4218, allocations: 339.3 kB / 442.6 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.423, allocations: 0.5994 MB / 443.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.423, allocations: 4 kB / 443.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001833/0.4248, allocations: 0.7505 MB / 444 MB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4249, allocations: 4 kB / 444 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4249, allocations: 16.22 kB / 444 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.4254, allocations: 101.5 kB / 444.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.4259, allocations: 125.2 kB / 444.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.4284, allocations: 3.47 MB / 447.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.4288, allocations: 15.98 kB / 447.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.4288, allocations: 32 kB / 447.7 MB, free: 10.98 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.0002735/0.4291, allocations: 192.2 kB / 447.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.4294, allocations: 47.78 kB / 448 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.4309, allocations: 0.8201 MB / 448.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.431, allocations: 8 kB / 448.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.431, allocations: 4 kB / 448.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.4321, allocations: 0.7558 MB / 449.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.4341, allocations: 1.303 MB / 450.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4341, allocations: 0 / 450.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.4346, allocations: 101.8 kB / 451 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009051/0.4355, allocations: 153.9 kB / 451.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.4356, allocations: 23.94 kB / 451.1 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003916/0.436, allocations: 0.6407 MB / 451.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.436, allocations: 4.031 kB / 451.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.4377, allocations: 0.9077 MB / 452.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.4378, allocations: 116.7 kB / 452.8 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.4379, allocations: 12 kB / 452.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.4383, allocations: 19.98 kB / 452.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.4384, allocations: 32.39 kB / 452.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.4384, allocations: 27.98 kB / 452.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002666/0.4387, allocations: 257 kB / 453.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4387, allocations: 0 / 453.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003935/0.4427, allocations: 1.312 MB / 454.5 MB, free: 4.07 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.006015/0.4487, allocations: 1.698 MB / 456.1 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.4506, allocations: 0.8495 MB / 457 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.4506, allocations: 7.938 kB / 457 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.4512, allocations: 289.2 kB / 457.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.4527, allocations: 269.3 kB / 457.6 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.4547, allocations: 1.112 MB / 458.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4551, allocations: 0.8326 MB / 459.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.4557, allocations: 148.2 kB / 459.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.4558, allocations: 55.42 kB / 459.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4558, allocations: 0 / 459.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of Templates: time 0.09641/0.5522, allocations: 46.38 MB / 0.4942 GB, free: 0.5312 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)