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.005072/0.005072, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001333/0.001334, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.35/1.35, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001223/0.001223, allocations: 47.92 kB / 326.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09112, allocations: 46.62 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2329/0.3241, allocations: 50.69 MB / 423.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.3307, allocations: 5.203 MB / 429.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.331, allocations: 7.844 kB / 429.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.3319, allocations: 256 kB / 429.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.3325, allocations: 371.2 kB / 429.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02015/0.3527, allocations: 6.775 MB / 436.5 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.354, allocations: 1.091 MB / 437.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.3543, allocations: 150.4 kB / 437.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006637/0.3609, allocations: 3.609 MB / 441.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.3615, allocations: 402.6 kB / 441.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.3616, allocations: 60 kB / 441.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01751/0.3791, allocations: 9.809 MB / 451.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.3795, allocations: 227.4 kB / 451.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.3799, allocations: 306.9 kB / 452.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.3924, allocations: 5.481 MB / 457.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3925, allocations: 4 kB / 457.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3925, allocations: 0 / 457.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.3925, allocations: 0 / 457.6 MB, free: 11.25 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.003088/0.3956, allocations: 1.354 MB / 458.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3957, allocations: 8.031 kB / 458.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.396, allocations: 59.42 kB / 459 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.3965, allocations: 377.8 kB / 459.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.3965, allocations: 33 kB / 459.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.3966, allocations: 40 kB / 459.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.3978, allocations: 0.5882 MB / 460 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.3979, allocations: 0 / 460 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.3979, allocations: 20 kB / 460 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3979, allocations: 14.88 kB / 460.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.3993, allocations: 0.7456 MB / 460.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.4153, allocations: 11.96 MB / 472.8 MB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.4168, allocations: 0.5197 MB / 473.3 MB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.4172, allocations: 262 kB / 473.5 MB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01447/0.4316, allocations: 11.89 MB / 485.4 MB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.4317, allocations: 43 kB / 485.5 MB, free: 10.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.575e-06/0.4317, allocations: 0 / 485.5 MB, free: 10.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.006117/0.4379, allocations: 2.119 MB / 487.6 MB, free: 8.641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4379, allocations: 59.97 kB / 487.7 MB, free: 8.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.4384, allocations: 311 kB / 488 MB, free: 8.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.4385, allocations: 41.69 kB / 488 MB, free: 8.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4386, allocations: 200.3 kB / 488.2 MB, free: 8.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.4388, allocations: 189.2 kB / 488.4 MB, free: 7.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.439, allocations: 114.2 kB / 488.5 MB, free: 7.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4391, allocations: 354.7 kB / 488.8 MB, free: 7.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.4395, allocations: 237 kB / 489.1 MB, free: 7.113 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/0.4402, allocations: 347.3 kB / 489.4 MB, free: 6.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.4414, allocations: 0.5956 MB / 490 MB, free: 6.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.4414, allocations: 4 kB / 490 MB, free: 6.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001826/0.4433, allocations: 0.7556 MB / 490.8 MB, free: 5.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4433, allocations: 4 kB / 490.8 MB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4433, allocations: 8.219 kB / 490.8 MB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004821/0.4438, allocations: 102.5 kB / 490.9 MB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.4443, allocations: 128.7 kB / 491 MB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.4469, allocations: 3.472 MB / 494.5 MB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.4472, allocations: 16.22 kB / 494.5 MB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.4473, allocations: 28 kB / 494.5 MB, free: 1.273 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.0002641/0.4475, allocations: 201.4 kB / 494.7 MB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.4479, allocations: 47.53 kB / 494.8 MB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.4494, allocations: 0.8151 MB / 495.6 MB, free: 176 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4495, allocations: 11.94 kB / 495.6 MB, free: 164 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.4495, allocations: 0 / 495.6 MB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001163/0.4506, allocations: 0.7635 MB / 496.3 MB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.4527, allocations: 1.293 MB / 497.6 MB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4528, allocations: 0 / 497.6 MB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.4532, allocations: 103.9 kB / 497.7 MB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009207/0.4541, allocations: 144.6 kB / 497.9 MB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.4542, allocations: 19.94 kB / 497.9 MB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004043/0.4546, allocations: 0.6484 MB / 498.6 MB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4546, allocations: 0 / 498.6 MB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.4562, allocations: 0.9093 MB / 499.5 MB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.4564, allocations: 120.7 kB / 499.6 MB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.4564, allocations: 12 kB / 499.6 MB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.4568, allocations: 24.06 kB / 499.6 MB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.4569, allocations: 32.39 kB / 499.6 MB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.457, allocations: 31.97 kB / 499.7 MB, free: 11.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002656/0.4573, allocations: 253.9 kB / 499.9 MB, free: 11.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4573, allocations: 0 / 499.9 MB, free: 11.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003326/0.4606, allocations: 1.304 MB / 0.4895 GB, free: 10.31 MB / 430.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.005821/0.4664, allocations: 1.701 MB / 0.4911 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.468, allocations: 0.8075 MB / 0.4919 GB, free: 7.762 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.468, allocations: 4 kB / 0.4919 GB, free: 7.758 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.4686, allocations: 291.8 kB / 0.4922 GB, free: 7.473 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.47, allocations: 273.2 kB / 0.4925 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.4719, allocations: 1.099 MB / 0.4935 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.4724, allocations: 0.8287 MB / 0.4944 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005323/0.4729, allocations: 156.2 kB / 0.4945 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.4731, allocations: 55.42 kB / 0.4946 GB, free: 5.004 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4731, allocations: 0 / 0.4946 GB, free: 5.004 MB / 430.1 MB Notification: Performance of Templates: time 0.06474/0.5378, allocations: 46.42 MB / 0.5399 GB, free: 6.504 MB / 478.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)