Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005104/0.005104, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001336/0.001336, allocations: 196.4 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.392/1.392, allocations: 205.1 MB / 222.5 MB, free: 4.402 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.001253/0.001253, allocations: 49.98 kB / 326.6 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1164, allocations: 46.63 MB / 373.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4943/0.6107, allocations: 186.6 MB / 0.5467 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007216/0.618, allocations: 4.79 MB / 0.5514 GB, free: 416 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005313/0.6186, allocations: 4 kB / 0.5514 GB, free: 412 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.6197, allocations: 254.5 kB / 0.5516 GB, free: 156 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.621, allocations: 381.8 kB / 0.552 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009749/0.6307, allocations: 2.873 MB / 0.5548 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.6326, allocations: 1.169 MB / 0.5559 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.633, allocations: 142.3 kB / 0.5561 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004405/0.6374, allocations: 1.468 MB / 0.5575 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.6384, allocations: 418.6 kB / 0.5579 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.6387, allocations: 71.98 kB / 0.558 GB, free: 9.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009061/0.6477, allocations: 4.212 MB / 0.5621 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005095/0.6483, allocations: 235.5 kB / 0.5623 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007035/0.649, allocations: 314.9 kB / 0.5626 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007606/0.6566, allocations: 2.911 MB / 0.5654 GB, free: 1.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6567, allocations: 3.938 kB / 0.5654 GB, free: 1.953 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6567, allocations: 0 / 0.5654 GB, free: 1.953 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.6567, allocations: 0 / 0.5654 GB, free: 1.953 MB / 446.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.003085/0.6598, allocations: 1.138 MB / 0.5665 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.6599, allocations: 16.03 kB / 0.5666 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.6603, allocations: 59.42 kB / 0.5666 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.6609, allocations: 362 kB / 0.567 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.661, allocations: 36.94 kB / 0.567 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-05/0.6611, allocations: 43.98 kB / 0.567 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.6621, allocations: 0.5061 MB / 0.5675 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.864e-05/0.6622, allocations: 7.906 kB / 0.5675 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.109e-05/0.6623, allocations: 24 kB / 0.5676 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.6623, allocations: 8 kB / 0.5676 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.6633, allocations: 0.5973 MB / 0.5682 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00389/0.6672, allocations: 2.168 MB / 0.5703 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.6685, allocations: 0.5548 MB / 0.5708 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.6689, allocations: 266 kB / 0.5711 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006312/0.6696, allocations: 0.7009 MB / 0.5718 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.6696, allocations: 42.94 kB / 0.5718 GB, free: 10.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 3.106e-06/0.6697, allocations: 0 / 0.5718 GB, free: 10.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.01527/0.6849, allocations: 3.624 MB / 0.5753 GB, free: 7.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.6851, allocations: 55.97 kB / 0.5754 GB, free: 7.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.6857, allocations: 306.5 kB / 0.5757 GB, free: 6.848 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.6858, allocations: 41.7 kB / 0.5757 GB, free: 6.801 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.6861, allocations: 185.2 kB / 0.5759 GB, free: 6.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.6864, allocations: 224.7 kB / 0.5761 GB, free: 6.391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.6867, allocations: 122.2 kB / 0.5762 GB, free: 6.266 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.687, allocations: 350.8 kB / 0.5766 GB, free: 5.914 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008086/0.6878, allocations: 309.1 kB / 0.5769 GB, free: 5.613 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008085/0.6886, allocations: 388.2 kB / 0.5772 GB, free: 5.215 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.6902, allocations: 0.7086 MB / 0.5779 GB, free: 4.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.6902, allocations: 3.938 kB / 0.5779 GB, free: 4.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002593/0.6928, allocations: 0.9638 MB / 0.5789 GB, free: 3.504 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.6929, allocations: 11.98 kB / 0.5789 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6929, allocations: 3.984 kB / 0.5789 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.6947, allocations: 334.4 kB / 0.5792 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.6953, allocations: 119.8 kB / 0.5793 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/0.6996, allocations: 3.7 MB / 0.5829 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.7003, allocations: 32 kB / 0.583 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/0.7004, allocations: 31.98 kB / 0.583 GB, free: 14.97 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004056/0.7008, allocations: 193.7 kB / 0.5832 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.701, allocations: 47.52 kB / 0.5832 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.7036, allocations: 1.025 MB / 0.5842 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.7036, allocations: 8 kB / 0.5842 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7036, allocations: 3.938 kB / 0.5842 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002114/0.7058, allocations: 1.067 MB / 0.5853 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.7091, allocations: 1.694 MB / 0.5869 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7091, allocations: 4.031 kB / 0.5869 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.7097, allocations: 114.5 kB / 0.587 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/0.7114, allocations: 368.3 kB / 0.5874 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/0.7115, allocations: 23.98 kB / 0.5874 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.7129, allocations: 0.8685 MB / 0.5883 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7129, allocations: 0 / 0.5883 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.7158, allocations: 1.338 MB / 0.5896 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.7161, allocations: 124.6 kB / 0.5897 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.7162, allocations: 19.91 kB / 0.5897 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/0.7169, allocations: 48.05 kB / 0.5898 GB, free: 7.816 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.355e-05/0.717, allocations: 44.48 kB / 0.5898 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-05/0.7171, allocations: 35.91 kB / 0.5898 GB, free: 7.734 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.7173, allocations: 221.9 kB / 0.59 GB, free: 7.516 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7173, allocations: 0 / 0.59 GB, free: 7.516 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00152/0.7189, allocations: 451.6 kB / 0.5905 GB, free: 7.074 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00173/0.7206, allocations: 0.5726 MB / 0.591 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.723, allocations: 1.002 MB / 0.592 GB, free: 5.465 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.723, allocations: 0 / 0.592 GB, free: 5.465 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009613/0.724, allocations: 427.1 kB / 0.5924 GB, free: 5.051 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.7255, allocations: 306.3 kB / 0.5927 GB, free: 4.754 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.7286, allocations: 1.307 MB / 0.594 GB, free: 3.414 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.7291, allocations: 0.8532 MB / 0.5948 GB, free: 2.535 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006044/0.7297, allocations: 132.5 kB / 0.5949 GB, free: 2.406 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.7299, allocations: 55.42 kB / 0.595 GB, free: 2.352 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.7299, allocations: 0 / 0.595 GB, free: 2.352 MB / 478.1 MB Notification: Performance of Templates: time 0.03927/0.7692, allocations: 22.09 MB / 0.6166 GB, free: 12.22 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)