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.00549/0.00549, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.0011/0.0011, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.489/1.489, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001366/0.001366, allocations: 49.17 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.0852, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.055/0.1402, allocations: 50.69 MB / 423.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.147, allocations: 5.187 MB / 429.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.1474, allocations: 8 kB / 429.1 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.1485, allocations: 258.5 kB / 429.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008973/0.1495, allocations: 370 kB / 429.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01714/0.1666, allocations: 6.777 MB / 436.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.1681, allocations: 1.091 MB / 437.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.1684, allocations: 157.4 kB / 437.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006831/0.1752, allocations: 3.597 MB / 441.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007819/0.1761, allocations: 402.6 kB / 441.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.1763, allocations: 56 kB / 441.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01863/0.1949, allocations: 9.822 MB / 451.6 MB, free: 2.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.1954, allocations: 219.4 kB / 451.8 MB, free: 2.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000652/0.1961, allocations: 306.9 kB / 452.1 MB, free: 2.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2311/0.4272, allocations: 5.474 MB / 457.6 MB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4272, allocations: 0 / 457.6 MB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4272, allocations: 1.688 kB / 457.6 MB, free: 17.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.4273, allocations: 1.719 kB / 457.6 MB, free: 17.34 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.004874/0.4321, allocations: 1.353 MB / 458.9 MB, free: 16.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4322, allocations: 10.28 kB / 458.9 MB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.4326, allocations: 58.72 kB / 459 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.433, allocations: 368.7 kB / 459.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.433, allocations: 31.72 kB / 459.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.4331, allocations: 41.66 kB / 459.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.4345, allocations: 0.5931 MB / 460 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.4346, allocations: 1.062 kB / 460 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.4346, allocations: 16.66 kB / 460 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.4346, allocations: 11.03 kB / 460 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.4359, allocations: 0.7497 MB / 460.8 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.4496, allocations: 11.95 MB / 472.7 MB, free: 21.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.4509, allocations: 0.5301 MB / 473.3 MB, free: 21.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.4513, allocations: 254.5 kB / 473.5 MB, free: 21.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/0.465, allocations: 11.9 MB / 485.4 MB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.465, allocations: 39.12 kB / 485.5 MB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.815e-06/0.465, allocations: 0 / 485.5 MB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.005539/0.4706, allocations: 2.114 MB / 487.6 MB, free: 9.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.4706, allocations: 61.25 kB / 487.6 MB, free: 9.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.471, allocations: 324.9 kB / 487.9 MB, free: 9.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.4711, allocations: 45.45 kB / 488 MB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4712, allocations: 200.8 kB / 488.2 MB, free: 8.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.914e-05/0.4713, allocations: 193.9 kB / 488.4 MB, free: 8.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.4714, allocations: 107.4 kB / 488.5 MB, free: 8.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4716, allocations: 347.6 kB / 488.8 MB, free: 8.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.4719, allocations: 237.7 kB / 489.1 MB, free: 8.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.4725, allocations: 344.9 kB / 489.4 MB, free: 8.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.4735, allocations: 0.5989 MB / 490 MB, free: 8.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4735, allocations: 2.594 kB / 490 MB, free: 8.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001646/0.4752, allocations: 0.7538 MB / 490.7 MB, free: 8.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4752, allocations: 10.72 kB / 490.8 MB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4752, allocations: 3.469 kB / 490.8 MB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004554/0.4757, allocations: 105.3 kB / 490.9 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.4762, allocations: 122 kB / 491 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/0.4788, allocations: 3.47 MB / 494.5 MB, free: 20.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.4792, allocations: 16.59 kB / 494.5 MB, free: 20.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/0.4792, allocations: 29.66 kB / 494.5 MB, free: 20.82 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.0002946/0.4795, allocations: 204.3 kB / 494.7 MB, free: 20.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.4798, allocations: 50.06 kB / 494.7 MB, free: 20.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.4813, allocations: 0.8129 MB / 495.6 MB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.4813, allocations: 5.125 kB / 495.6 MB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4813, allocations: 0 / 495.6 MB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/0.4824, allocations: 0.7636 MB / 496.3 MB, free: 20.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.4842, allocations: 1.303 MB / 497.6 MB, free: 19.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.4842, allocations: 0 / 497.6 MB, free: 19.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.4846, allocations: 102 kB / 497.7 MB, free: 19.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008661/0.4855, allocations: 148.4 kB / 497.9 MB, free: 19.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.4855, allocations: 15.94 kB / 497.9 MB, free: 19.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000367/0.4859, allocations: 0.6474 MB / 498.5 MB, free: 19.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4859, allocations: 1.812 kB / 498.5 MB, free: 19.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.4874, allocations: 0.905 MB / 499.4 MB, free: 19.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.4875, allocations: 119.3 kB / 499.6 MB, free: 18.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.4876, allocations: 15.5 kB / 499.6 MB, free: 18.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.488, allocations: 17.7 kB / 499.6 MB, free: 18.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.4881, allocations: 35.06 kB / 499.6 MB, free: 18.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.4882, allocations: 32.42 kB / 499.7 MB, free: 18.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.4884, allocations: 257.2 kB / 499.9 MB, free: 18.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4884, allocations: 0 / 499.9 MB, free: 18.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005598/0.494, allocations: 1.303 MB / 0.4895 GB, free: 18.68 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.006515/0.5005, allocations: 1.709 MB / 0.4911 GB, free: 18.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.5019, allocations: 0.8083 MB / 0.4919 GB, free: 18.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5019, allocations: 2.812 kB / 0.4919 GB, free: 18.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.5024, allocations: 286.4 kB / 0.4922 GB, free: 18.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.5038, allocations: 284.1 kB / 0.4925 GB, free: 18.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.5054, allocations: 1.108 MB / 0.4936 GB, free: 17.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5058, allocations: 0.8283 MB / 0.4944 GB, free: 16.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.5062, allocations: 142 kB / 0.4945 GB, free: 16.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.5063, allocations: 58.89 kB / 0.4946 GB, free: 16.81 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5063, allocations: 0 / 0.4946 GB, free: 16.81 MB / 414.1 MB Notification: Performance of Templates: time 0.06079/0.5671, allocations: 46.42 MB / 0.5399 GB, free: 8.414 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)