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.0009707/0.0009708, allocations: 90.52 kB / 16.31 MB, free: 6.473 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.001311/0.001311, allocations: 178.2 kB / 17.21 MB, free: 6.336 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.41/1.41, allocations: 205.4 MB / 223.4 MB, free: 5.578 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.0004215/0.0004215, allocations: 10.66 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2057, allocations: 47.59 MB / 327.7 MB, free: 1.531 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04942/0.2552, allocations: 46.84 MB / 374.6 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005785/0.261, allocations: 4.853 MB / 379.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003415/0.2614, allocations: 7.938 kB / 379.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.262, allocations: 163 kB / 379.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.2627, allocations: 346 kB / 379.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01313/0.2759, allocations: 4.969 MB / 384.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.2775, allocations: 1.325 MB / 386.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.2777, allocations: 109.6 kB / 386.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00954/0.2873, allocations: 6.108 MB / 392.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008316/0.2882, allocations: 394.7 kB / 392.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.2883, allocations: 28 kB / 392.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/0.3036, allocations: 8.388 MB / 401.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003514/0.304, allocations: 187.5 kB / 401.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.3042, allocations: 129.5 kB / 401.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00607/0.3103, allocations: 3.543 MB / 405.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3103, allocations: 0 / 405.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3103, allocations: 0 / 405.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.3103, allocations: 0 / 405.1 MB, free: 6.082 MB / 334.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.002998/0.3134, allocations: 1.248 MB / 406.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3134, allocations: 8.031 kB / 406.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.3137, allocations: 59.42 kB / 406.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.3142, allocations: 362 kB / 406.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.3143, allocations: 37 kB / 406.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.3144, allocations: 40 kB / 406.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3157, allocations: 0.5804 MB / 407.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.3157, allocations: 0 / 407.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.3158, allocations: 24 kB / 407.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.3158, allocations: 12 kB / 407.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3171, allocations: 0.7378 MB / 408.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01543/0.3326, allocations: 12.01 MB / 420.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.334, allocations: 0.5277 MB / 420.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.3344, allocations: 254 kB / 421 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0139/0.3483, allocations: 11.95 MB / 432.9 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.3484, allocations: 46.95 kB / 433 MB, free: 5.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 4.128e-06/0.3484, allocations: 3.984 kB / 433 MB, free: 5.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.005735/0.3541, allocations: 2.124 MB / 435.1 MB, free: 3.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3542, allocations: 55.97 kB / 435.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.3546, allocations: 326.8 kB / 435.5 MB, free: 3.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.3547, allocations: 41.7 kB / 435.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3548, allocations: 196.4 kB / 435.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.355, allocations: 189.2 kB / 435.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.355, allocations: 16 kB / 435.9 MB, free: 2.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3552, allocations: 342.8 kB / 436.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.3556, allocations: 240.9 kB / 436.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/0.3562, allocations: 347.3 kB / 436.8 MB, free: 1.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/0.3569, allocations: 284.7 kB / 437.1 MB, free: 1.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3569, allocations: 0 / 437.1 MB, free: 1.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00179/0.3587, allocations: 0.7478 MB / 437.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3587, allocations: 8 kB / 437.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.3587, allocations: 288 / 437.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.3592, allocations: 114.5 kB / 438 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.3597, allocations: 123.8 kB / 438.1 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.3621, allocations: 3.267 MB / 441.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.3625, allocations: 40.08 kB / 441.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.3626, allocations: 27.98 kB / 441.4 MB, free: 12.77 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.3629, allocations: 197.6 kB / 441.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.3631, allocations: 39.62 kB / 441.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.3647, allocations: 0.8228 MB / 442.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.3647, allocations: 4 kB / 442.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.3647, allocations: 0 / 442.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.3659, allocations: 0.7635 MB / 443.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.3679, allocations: 1.313 MB / 444.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3679, allocations: 0 / 444.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.3684, allocations: 99.88 kB / 444.6 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009121/0.3693, allocations: 148.7 kB / 444.8 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.3693, allocations: 19.98 kB / 444.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003845/0.3697, allocations: 0.6446 MB / 445.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3697, allocations: 7.969 kB / 445.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.3714, allocations: 0.9042 MB / 446.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3716, allocations: 120.7 kB / 446.5 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.011e-05/0.3716, allocations: 20.08 kB / 446.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.3721, allocations: 27.89 kB / 446.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.3721, allocations: 32.39 kB / 446.6 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/0.3722, allocations: 39.92 kB / 446.6 MB, free: 7.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002911/0.3725, allocations: 249.9 kB / 446.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.3725, allocations: 7.938 kB / 446.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003559/0.3761, allocations: 1.308 MB / 448.2 MB, free: 5.77 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005752/0.3819, allocations: 1.556 MB / 449.7 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.3835, allocations: 0.7962 MB / 450.5 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3835, allocations: 4 kB / 450.5 MB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.3841, allocations: 287.2 kB / 450.8 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.3855, allocations: 276.2 kB / 451.1 MB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.3875, allocations: 1.297 MB / 452.4 MB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.388, allocations: 0.8364 MB / 453.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005868/0.3886, allocations: 136.4 kB / 453.3 MB, free: 496 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3887, allocations: 63.41 kB / 453.4 MB, free: 436 kB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3888, allocations: 4 kB / 453.4 MB, free: 432 kB / 382.1 MB Notification: Performance of Templates: time 0.2011/0.5899, allocations: 45.71 MB / 499.1 MB, free: 79.65 MB / 382.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)