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.001304/0.001304, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001431/0.001431, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.0005116/0.0005117, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2663, allocations: 47.59 MB / 326.5 MB, free: 1.504 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.432/0.6984, allocations: 148.7 MB / 475.1 MB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.7026, allocations: 3.266 MB / 478.4 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003674/0.703, allocations: 2.5 kB / 478.4 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.7038, allocations: 196.1 kB / 478.6 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005988/0.7044, allocations: 252.4 kB / 478.9 MB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005272/0.7097, allocations: 1.494 MB / 480.3 MB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009501/0.7107, allocations: 0.6198 MB / 481 MB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.7109, allocations: 102.7 kB / 481.1 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.7132, allocations: 0.9709 MB / 482 MB, free: 1.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.7136, allocations: 286.1 kB / 482.3 MB, free: 1.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.7137, allocations: 27.53 kB / 482.3 MB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.7188, allocations: 3.011 MB / 485.4 MB, free: 1.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.719, allocations: 182.5 kB / 485.5 MB, free: 1.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.7192, allocations: 131.9 kB / 485.7 MB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.7216, allocations: 1.526 MB / 487.2 MB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7216, allocations: 0 / 487.2 MB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7216, allocations: 0 / 487.2 MB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.7216, allocations: 4 kB / 487.2 MB, free: 1.582 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.001879/0.7235, allocations: 0.9258 MB / 488.1 MB, free: 16.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.7235, allocations: 12.42 kB / 488.1 MB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.7239, allocations: 56.44 kB / 488.2 MB, free: 16.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.7244, allocations: 366.3 kB / 488.5 MB, free: 16.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.7245, allocations: 31.88 kB / 488.6 MB, free: 16.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.7246, allocations: 40.88 kB / 488.6 MB, free: 16.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.7254, allocations: 0.4961 MB / 489.1 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.7254, allocations: 0 / 489.1 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.7255, allocations: 24.72 kB / 489.1 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.7255, allocations: 11.66 kB / 489.1 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008191/0.7263, allocations: 0.595 MB / 489.7 MB, free: 16.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.7295, allocations: 2.176 MB / 491.9 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.7306, allocations: 0.5488 MB / 492.5 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.7312, allocations: 0.691 MB / 493.2 MB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.7313, allocations: 43.44 kB / 493.2 MB, free: 14.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 1.874e-06/0.7313, allocations: 1.859 kB / 493.2 MB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.01332/0.7446, allocations: 3.794 MB / 497 MB, free: 13.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.7447, allocations: 68.23 kB / 497.1 MB, free: 13.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.745, allocations: 294.4 kB / 497.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.7451, allocations: 37.61 kB / 497.4 MB, free: 13.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.7452, allocations: 194.2 kB / 497.6 MB, free: 13.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.7454, allocations: 226 kB / 497.8 MB, free: 12.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.7454, allocations: 11.78 kB / 497.8 MB, free: 12.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7456, allocations: 351.2 kB / 498.2 MB, free: 12.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006298/0.7462, allocations: 316.5 kB / 498.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.7469, allocations: 394.5 kB / 498.8 MB, free: 12.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006797/0.7476, allocations: 356.9 kB / 499.2 MB, free: 12.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7476, allocations: 0 / 499.2 MB, free: 12.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001964/0.7496, allocations: 0.9666 MB / 0.4884 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.7496, allocations: 7.969 kB / 0.4884 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.7496, allocations: 0 / 0.4884 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.7513, allocations: 360.8 kB / 0.4888 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.7519, allocations: 118.9 kB / 0.4889 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/0.7556, allocations: 3.539 MB / 0.4924 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.7562, allocations: 64.16 kB / 0.4924 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.7563, allocations: 28.98 kB / 0.4924 GB, free: 8.785 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003447/0.7566, allocations: 202 kB / 0.4926 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/0.7567, allocations: 41.5 kB / 0.4927 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.7591, allocations: 1.036 MB / 0.4937 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.7591, allocations: 8.688 kB / 0.4937 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7591, allocations: 4 kB / 0.4937 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001994/0.7611, allocations: 1.079 MB / 0.4948 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.7641, allocations: 1.721 MB / 0.4964 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.7641, allocations: 6.422 kB / 0.4964 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.7646, allocations: 113.3 kB / 0.4966 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001907/0.7666, allocations: 390.7 kB / 0.4969 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.7666, allocations: 27.14 kB / 0.497 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.768, allocations: 0.878 MB / 0.4978 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.768, allocations: 2.656 kB / 0.4978 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.7706, allocations: 1.374 MB / 0.4992 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.7708, allocations: 120.4 kB / 0.4993 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.7709, allocations: 19.83 kB / 0.4993 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.7716, allocations: 62.03 kB / 0.4993 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.7717, allocations: 40.19 kB / 0.4994 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.7718, allocations: 31.44 kB / 0.4994 GB, free: 5.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.772, allocations: 223 kB / 0.4996 GB, free: 5.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.772, allocations: 0 / 0.4996 GB, free: 5.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001388/0.7734, allocations: 450.1 kB / 0.5001 GB, free: 5.754 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001232/0.7746, allocations: 0.5384 MB / 0.5006 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.7765, allocations: 1.002 MB / 0.5016 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7766, allocations: 0 / 0.5016 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008382/0.7774, allocations: 422.1 kB / 0.502 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.7789, allocations: 289.4 kB / 0.5022 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.7821, allocations: 1.544 MB / 0.5037 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.7827, allocations: 0.8667 MB / 0.5046 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006512/0.7833, allocations: 124.5 kB / 0.5047 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.7835, allocations: 58.97 kB / 0.5048 GB, free: 2.961 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.7835, allocations: 4 kB / 0.5048 GB, free: 2.957 MB / 398.1 MB Notification: Performance of Templates: time 0.03383/0.8174, allocations: 20.22 MB / 0.5245 GB, free: 14.78 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: