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.008041/0.008041, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001163/0.001163, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.001138/0.001138, allocations: 45.42 kB / 326.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08606, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05304/0.1391, allocations: 50.69 MB / 423.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006035/0.1452, allocations: 5.191 MB / 429.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.1455, allocations: 4 kB / 429.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007459/0.1463, allocations: 254.5 kB / 429.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.1469, allocations: 366 kB / 429.7 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01656/0.1634, allocations: 6.745 MB / 436.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.1648, allocations: 1.095 MB / 437.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.1651, allocations: 145.5 kB / 437.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006383/0.1715, allocations: 3.59 MB / 441.3 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005349/0.172, allocations: 402.6 kB / 441.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.843e-05/0.1721, allocations: 60 kB / 441.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01667/0.1888, allocations: 9.818 MB / 451.5 MB, free: 2.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.1892, allocations: 219.5 kB / 451.7 MB, free: 2.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.1896, allocations: 306.9 kB / 452 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2172/0.4069, allocations: 5.493 MB / 457.5 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4069, allocations: 0 / 457.5 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4069, allocations: 0 / 457.5 MB, free: 17.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.4069, allocations: 1.062 kB / 457.5 MB, free: 17.39 MB / 382.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.005811/0.4128, allocations: 1.389 MB / 458.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4128, allocations: 9.656 kB / 458.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.4132, allocations: 61.39 kB / 459 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.4137, allocations: 373.3 kB / 459.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.4137, allocations: 33.91 kB / 459.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.4138, allocations: 39.69 kB / 459.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.4152, allocations: 0.5884 MB / 460 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.4152, allocations: 1 kB / 460 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.4153, allocations: 20.62 kB / 460 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.4153, allocations: 10.72 kB / 460 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.4168, allocations: 0.7517 MB / 460.8 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.4312, allocations: 11.96 MB / 472.8 MB, free: 21.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.4325, allocations: 0.5256 MB / 473.3 MB, free: 21.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.4329, allocations: 263.5 kB / 473.5 MB, free: 21.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/0.4469, allocations: 11.89 MB / 485.4 MB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.447, allocations: 38.19 kB / 485.5 MB, free: 9.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.946e-06/0.447, allocations: 1.375 kB / 485.5 MB, free: 9.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.006084/0.4531, allocations: 2.127 MB / 487.6 MB, free: 9.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.4532, allocations: 59.28 kB / 487.7 MB, free: 9.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.4535, allocations: 325 kB / 488 MB, free: 8.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.4536, allocations: 37.11 kB / 488 MB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4537, allocations: 203.2 kB / 488.2 MB, free: 8.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.4538, allocations: 203.6 kB / 488.4 MB, free: 8.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.454, allocations: 110.2 kB / 488.5 MB, free: 8.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4541, allocations: 353.2 kB / 488.9 MB, free: 8.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.4545, allocations: 233.1 kB / 489.1 MB, free: 8.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.4551, allocations: 346.4 kB / 489.4 MB, free: 8.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.4561, allocations: 0.5967 MB / 490 MB, free: 8.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4561, allocations: 8.906 kB / 490 MB, free: 8.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001616/0.4577, allocations: 0.7522 MB / 490.8 MB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4577, allocations: 9.469 kB / 490.8 MB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.4577, allocations: 0.875 kB / 490.8 MB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004609/0.4582, allocations: 107.8 kB / 490.9 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.4587, allocations: 130.1 kB / 491 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.4616, allocations: 3.473 MB / 494.5 MB, free: 20.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.462, allocations: 13.19 kB / 494.5 MB, free: 20.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.4621, allocations: 34.48 kB / 494.5 MB, free: 20.74 MB / 414.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.0003104/0.4624, allocations: 196.9 kB / 494.7 MB, free: 20.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.4627, allocations: 47.27 kB / 494.8 MB, free: 20.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.4641, allocations: 0.8198 MB / 495.6 MB, free: 20.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4641, allocations: 5.562 kB / 495.6 MB, free: 20.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4641, allocations: 4 kB / 495.6 MB, free: 20.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/0.4652, allocations: 0.7547 MB / 496.4 MB, free: 20.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.4669, allocations: 1.305 MB / 497.7 MB, free: 19.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4669, allocations: 2.562 kB / 497.7 MB, free: 19.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.4674, allocations: 101.2 kB / 497.8 MB, free: 19.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008659/0.4682, allocations: 148.2 kB / 497.9 MB, free: 19.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.4683, allocations: 17.22 kB / 497.9 MB, free: 19.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003752/0.4687, allocations: 0.6474 MB / 498.6 MB, free: 19.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4687, allocations: 5.562 kB / 498.6 MB, free: 19.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.4701, allocations: 0.9049 MB / 499.5 MB, free: 18.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.4703, allocations: 119.2 kB / 499.6 MB, free: 18.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.4703, allocations: 18.03 kB / 499.6 MB, free: 18.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.4707, allocations: 20.58 kB / 499.6 MB, free: 18.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.4708, allocations: 34.83 kB / 499.7 MB, free: 18.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.4709, allocations: 29.8 kB / 499.7 MB, free: 18.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.4711, allocations: 254.4 kB / 500 MB, free: 18.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4711, allocations: 3.531 kB / 500 MB, free: 18.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005669/0.4768, allocations: 1.318 MB / 0.4895 GB, free: 18.58 MB / 414.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.007702/0.4845, allocations: 1.714 MB / 0.4912 GB, free: 18.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.4862, allocations: 0.8065 MB / 0.492 GB, free: 18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.4862, allocations: 1.844 kB / 0.492 GB, free: 18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.4867, allocations: 293.8 kB / 0.4923 GB, free: 17.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.4882, allocations: 284.5 kB / 0.4925 GB, free: 17.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.4899, allocations: 1.109 MB / 0.4936 GB, free: 17.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.4903, allocations: 0.836 MB / 0.4944 GB, free: 16.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004604/0.4908, allocations: 144.9 kB / 0.4946 GB, free: 16.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.4909, allocations: 59.72 kB / 0.4946 GB, free: 16.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4909, allocations: 6.234 kB / 0.4946 GB, free: 16.68 MB / 414.1 MB Notification: Performance of Templates: time 0.05908/0.55, allocations: 46.41 MB / 0.54 GB, free: 8.188 MB / 446.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)