Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.00114/0.00114, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1847, allocations: 46.63 MB / 325.3 MB, free: 2.086 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0637/0.2484, allocations: 65.73 MB / 391 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006734/0.2552, allocations: 5.46 MB / 396.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.2555, allocations: 7.938 kB / 396.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009369/0.2565, allocations: 357.9 kB / 396.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007645/0.2573, allocations: 0.5089 MB / 397.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01659/0.2739, allocations: 7.073 MB / 404.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.2754, allocations: 1.547 MB / 406 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.2758, allocations: 212.8 kB / 406.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006835/0.2764, allocations: 0.6191 MB / 406.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006289/0.2771, allocations: 0.5683 MB / 407.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.2772, allocations: 84 kB / 407.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/0.2926, allocations: 9.935 MB / 417.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.293, allocations: 315.3 kB / 417.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.2935, allocations: 434.4 kB / 418.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009318/0.3029, allocations: 5.922 MB / 424 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3029, allocations: 0 / 424 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3029, allocations: 0 / 424 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3029, allocations: 0 / 424 MB, free: 1.027 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003024/0.3059, allocations: 1.552 MB / 425.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.306, allocations: 12.02 kB / 425.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.3064, allocations: 79.25 kB / 425.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.307, allocations: 436.8 kB / 426.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.307, allocations: 53.25 kB / 426.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.3071, allocations: 60 kB / 426.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.3087, allocations: 0.8107 MB / 427 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.3087, allocations: 7.906 kB / 427 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/0.3088, allocations: 28 kB / 427.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.3088, allocations: 12 kB / 427.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.3106, allocations: 1.028 MB / 428.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.3269, allocations: 12.81 MB / 440.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3287, allocations: 0.7335 MB / 441.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.3292, allocations: 422.8 kB / 442.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1532/0.4825, allocations: 12.23 MB / 454.3 MB, free: 117.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.4825, allocations: 42.91 kB / 454.3 MB, free: 117.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.4826, allocations: 0.9062 kB / 454.3 MB, free: 117.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.009261/0.4918, allocations: 3.384 MB / 457.7 MB, free: 116 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.4919, allocations: 60.84 kB / 457.8 MB, free: 116 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.4922, allocations: 361.3 kB / 458.1 MB, free: 115.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.4923, allocations: 46.23 kB / 458.2 MB, free: 115.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4924, allocations: 234.3 kB / 458.4 MB, free: 115.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.4926, allocations: 310.4 kB / 458.7 MB, free: 115.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.4928, allocations: 157 kB / 458.9 MB, free: 115.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.4929, allocations: 366.7 kB / 459.2 MB, free: 114.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.4935, allocations: 374.8 kB / 459.6 MB, free: 114.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/0.4943, allocations: 494.1 kB / 460.1 MB, free: 114.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.4959, allocations: 0.897 MB / 461 MB, free: 114.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.4959, allocations: 1 kB / 461 MB, free: 114.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002192/0.4981, allocations: 1.118 MB / 462.1 MB, free: 113.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4981, allocations: 7.812 kB / 462.1 MB, free: 113.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4981, allocations: 7.906 kB / 462.1 MB, free: 113.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007184/0.4989, allocations: 163.4 kB / 462.3 MB, free: 113.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.4995, allocations: 196.8 kB / 462.5 MB, free: 113.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.5014, allocations: 4.107 MB / 466.6 MB, free: 109.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.5017, allocations: 27.31 kB / 466.6 MB, free: 109.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.5018, allocations: 50.56 kB / 466.6 MB, free: 109.4 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0002531/0.5021, allocations: 223.8 kB / 466.9 MB, free: 109.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/0.5024, allocations: 62.81 kB / 466.9 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.5044, allocations: 1.284 MB / 468.2 MB, free: 108.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5044, allocations: 7.938 kB / 468.2 MB, free: 108.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5044, allocations: 3.938 kB / 468.2 MB, free: 108.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001446/0.5059, allocations: 1.327 MB / 469.5 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.5083, allocations: 1.963 MB / 471.5 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5083, allocations: 4 kB / 471.5 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.509, allocations: 169 kB / 471.7 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.5106, allocations: 290.7 kB / 472 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.5107, allocations: 35.77 kB / 472 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005111/0.5112, allocations: 1.286 MB / 473.3 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5113, allocations: 0 / 473.3 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.5134, allocations: 1.413 MB / 474.7 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.5135, allocations: 134.1 kB / 474.8 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/0.5136, allocations: 23.98 kB / 474.8 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/0.5141, allocations: 27.98 kB / 474.9 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.5142, allocations: 60.08 kB / 474.9 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.5143, allocations: 43.97 kB / 475 MB, free: 103.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.5145, allocations: 283 kB / 475.3 MB, free: 103.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5145, allocations: 0 / 475.3 MB, free: 103.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002934/0.5174, allocations: 1.387 MB / 476.6 MB, free: 102.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004768/0.5222, allocations: 1.744 MB / 478.4 MB, free: 100.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.5243, allocations: 1.263 MB / 479.6 MB, free: 99.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5243, allocations: 0 / 479.6 MB, free: 99.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007066/0.525, allocations: 499.2 kB / 480.1 MB, free: 98.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.5268, allocations: 391 kB / 480.5 MB, free: 98.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.529, allocations: 1.656 MB / 482.2 MB, free: 96.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.5293, allocations: 0.9225 MB / 483.1 MB, free: 95.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006699/0.5299, allocations: 205.1 kB / 483.3 MB, free: 95.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.5301, allocations: 83.41 kB / 483.4 MB, free: 95.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5301, allocations: 0 / 483.4 MB, free: 95.68 MB / 382.1 MB Notification: Performance of Templates: time 0.05017/0.5803, allocations: 51.31 MB / 0.5222 GB, free: 44.31 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)