Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.007854/0.007854, allocations: 101.1 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.001845/0.001845, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.384/1.384, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.001185/0.001185, allocations: 54.59 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08251/0.0837, allocations: 46.62 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05527/0.139, allocations: 50.7 MB / 423.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006688/0.1457, allocations: 5.187 MB / 429.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004488/0.1462, allocations: 7.938 kB / 429.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009884/0.1473, allocations: 254.6 kB / 429.3 MB, free: 8.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009295/0.1482, allocations: 373.9 kB / 429.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01776/0.166, allocations: 6.784 MB / 436.5 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.1676, allocations: 1.087 MB / 437.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.168, allocations: 149.5 kB / 437.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007233/0.1752, allocations: 3.597 MB / 441.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007347/0.176, allocations: 406.6 kB / 441.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.1762, allocations: 60 kB / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01817/0.1943, allocations: 9.822 MB / 451.6 MB, free: 2.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.1948, allocations: 219.5 kB / 451.8 MB, free: 2.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005778/0.1954, allocations: 306.8 kB / 452.1 MB, free: 2.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2218/0.4172, allocations: 5.474 MB / 457.6 MB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4173, allocations: 0.7031 kB / 457.6 MB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4173, allocations: 0 / 457.6 MB, free: 17.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.4173, allocations: 1.312 kB / 457.6 MB, free: 17.32 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.005091/0.4224, allocations: 1.347 MB / 458.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.4225, allocations: 11.12 kB / 458.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.4229, allocations: 62.08 kB / 459 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.4233, allocations: 373.4 kB / 459.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.4234, allocations: 31.78 kB / 459.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-05/0.4234, allocations: 44.92 kB / 459.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.4248, allocations: 0.5831 MB / 460 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4248, allocations: 1.25 kB / 460 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.4249, allocations: 20.62 kB / 460 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.4249, allocations: 10.59 kB / 460 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.4263, allocations: 0.7471 MB / 460.8 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.4402, allocations: 11.96 MB / 472.7 MB, free: 21.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.4414, allocations: 0.5281 MB / 473.3 MB, free: 21.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.4418, allocations: 257 kB / 473.5 MB, free: 21.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/0.4563, allocations: 11.9 MB / 485.4 MB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.4564, allocations: 38.75 kB / 485.5 MB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 3.347e-06/0.4564, allocations: 0 / 485.5 MB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.005906/0.4623, allocations: 2.115 MB / 487.6 MB, free: 9.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.4624, allocations: 57.16 kB / 487.6 MB, free: 9.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.4628, allocations: 326.1 kB / 488 MB, free: 9.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.4628, allocations: 38.27 kB / 488 MB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.4629, allocations: 203.8 kB / 488.2 MB, free: 8.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.98e-05/0.463, allocations: 193.5 kB / 488.4 MB, free: 8.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.4632, allocations: 111.9 kB / 488.5 MB, free: 8.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4634, allocations: 347.7 kB / 488.8 MB, free: 8.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.4637, allocations: 243.4 kB / 489.1 MB, free: 8.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.4643, allocations: 345 kB / 489.4 MB, free: 8.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.4653, allocations: 0.5959 MB / 490 MB, free: 8.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4653, allocations: 4.094 kB / 490 MB, free: 8.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001631/0.4669, allocations: 0.7473 MB / 490.7 MB, free: 8.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.467, allocations: 5.625 kB / 490.8 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.467, allocations: 3.25 kB / 490.8 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/0.4675, allocations: 109.2 kB / 490.9 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.468, allocations: 122.9 kB / 491 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.4705, allocations: 3.477 MB / 494.5 MB, free: 20.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.4709, allocations: 19.44 kB / 494.5 MB, free: 20.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.4709, allocations: 32.17 kB / 494.5 MB, free: 20.81 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.000299/0.4712, allocations: 196.4 kB / 494.7 MB, free: 20.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.4715, allocations: 47.5 kB / 494.8 MB, free: 20.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.4729, allocations: 0.8165 MB / 495.6 MB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.473, allocations: 3.562 kB / 495.6 MB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.473, allocations: 3.938 kB / 495.6 MB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/0.474, allocations: 0.7573 MB / 496.3 MB, free: 20.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.4758, allocations: 1.307 MB / 497.6 MB, free: 19.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4759, allocations: 0 / 497.6 MB, free: 19.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.4763, allocations: 99.73 kB / 497.7 MB, free: 19.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/0.4772, allocations: 148.1 kB / 497.9 MB, free: 19.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.4773, allocations: 18.67 kB / 497.9 MB, free: 19.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003722/0.4777, allocations: 0.6461 MB / 498.5 MB, free: 19.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4777, allocations: 3.188 kB / 498.5 MB, free: 19.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.4792, allocations: 0.9021 MB / 499.5 MB, free: 19.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.4793, allocations: 120.9 kB / 499.6 MB, free: 18.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/0.4794, allocations: 10.62 kB / 499.6 MB, free: 18.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.4798, allocations: 20.33 kB / 499.6 MB, free: 18.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.4799, allocations: 36.17 kB / 499.6 MB, free: 18.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.48, allocations: 35.66 kB / 499.7 MB, free: 18.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.4803, allocations: 250.5 kB / 499.9 MB, free: 18.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4803, allocations: 0 / 499.9 MB, free: 18.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00618/0.4865, allocations: 1.311 MB / 0.4895 GB, free: 18.67 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.008589/0.4951, allocations: 1.696 MB / 0.4911 GB, free: 18.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.4968, allocations: 0.8131 MB / 0.4919 GB, free: 18.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.4968, allocations: 4.125 kB / 0.4919 GB, free: 18.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.4973, allocations: 291.6 kB / 0.4922 GB, free: 18.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.4988, allocations: 274.6 kB / 0.4925 GB, free: 18.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.5006, allocations: 1.109 MB / 0.4936 GB, free: 17.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.501, allocations: 0.8346 MB / 0.4944 GB, free: 16.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004539/0.5014, allocations: 141.2 kB / 0.4945 GB, free: 16.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.5016, allocations: 58.17 kB / 0.4946 GB, free: 16.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5016, allocations: 0 / 0.4946 GB, free: 16.8 MB / 414.1 MB Notification: Performance of Templates: time 0.05957/0.5612, allocations: 46.41 MB / 0.5399 GB, free: 8.406 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)