Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001067/0.001067, allocations: 93.91 kB / 16.31 MB, free: 6.461 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.001073/0.001073, allocations: 173 kB / 17.19 MB, free: 6.348 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.383/1.383, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0005527/0.0005527, allocations: 15.98 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1049, allocations: 47.58 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.39/0.4949, allocations: 148.7 MB / 476.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.4996, allocations: 3.268 MB / 479.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.5002, allocations: 11.94 kB / 479.7 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.501, allocations: 195.1 kB / 479.9 MB, free: 456 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006353/0.5017, allocations: 255.3 kB / 480.1 MB, free: 200 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005528/0.5072, allocations: 1.485 MB / 481.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.5083, allocations: 0.621 MB / 482.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.5086, allocations: 105.5 kB / 482.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.511, allocations: 0.9664 MB / 483.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.5114, allocations: 287.1 kB / 483.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.5115, allocations: 28 kB / 483.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.5173, allocations: 3.012 MB / 486.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.5177, allocations: 179.6 kB / 486.8 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.5179, allocations: 137.4 kB / 486.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.521, allocations: 1.529 MB / 488.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5211, allocations: 0 / 488.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5211, allocations: 0 / 488.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.5211, allocations: 0 / 488.4 MB, free: 7.84 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.002199/0.5233, allocations: 0.9201 MB / 489.4 MB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5234, allocations: 12.03 kB / 489.4 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.5237, allocations: 59.42 kB / 489.4 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.5242, allocations: 370 kB / 489.8 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.5243, allocations: 29 kB / 489.8 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.5244, allocations: 44 kB / 489.9 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/0.5253, allocations: 0.4983 MB / 490.4 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5253, allocations: 0 / 490.4 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.5254, allocations: 20 kB / 490.4 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.5254, allocations: 12 kB / 490.4 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009174/0.5263, allocations: 0.5934 MB / 491 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.5296, allocations: 2.167 MB / 493.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5309, allocations: 0.5593 MB / 493.7 MB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007073/0.5316, allocations: 0.7008 MB / 494.4 MB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.5316, allocations: 43 kB / 494.5 MB, free: 1.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 3.867e-06/0.5317, allocations: 3.938 kB / 494.5 MB, free: 1.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.01405/0.5457, allocations: 3.796 MB / 498.3 MB, free: 13.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.5458, allocations: 59.97 kB / 498.3 MB, free: 13.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.5463, allocations: 298.6 kB / 498.6 MB, free: 13.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.968e-05/0.5464, allocations: 37.7 kB / 498.6 MB, free: 13.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.5465, allocations: 197.1 kB / 498.8 MB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.5468, allocations: 224.7 kB / 499.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.5468, allocations: 12 kB / 499.1 MB, free: 12.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.547, allocations: 346.8 kB / 499.4 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.5478, allocations: 321.1 kB / 499.7 MB, free: 11.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007279/0.5485, allocations: 392.1 kB / 0.4884 GB, free: 11.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.5493, allocations: 355.1 kB / 0.4887 GB, free: 11.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5493, allocations: 3.984 kB / 0.4887 GB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002146/0.5514, allocations: 0.9678 MB / 0.4897 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5515, allocations: 4 kB / 0.4897 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5515, allocations: 4 kB / 0.4897 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.5532, allocations: 358.3 kB / 0.49 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.5538, allocations: 119.8 kB / 0.4901 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/0.5575, allocations: 3.534 MB / 0.4936 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/0.5582, allocations: 59.95 kB / 0.4936 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.5583, allocations: 31.98 kB / 0.4937 GB, free: 5.809 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.000336/0.5586, allocations: 205.5 kB / 0.4939 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5587, allocations: 39.53 kB / 0.4939 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.5613, allocations: 1.04 MB / 0.4949 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5613, allocations: 8 kB / 0.4949 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5613, allocations: 0 / 0.4949 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002084/0.5634, allocations: 1.083 MB / 0.496 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.5666, allocations: 1.722 MB / 0.4977 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5666, allocations: 0 / 0.4977 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.5672, allocations: 107.9 kB / 0.4978 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/0.5691, allocations: 392.5 kB / 0.4982 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.5692, allocations: 23.98 kB / 0.4982 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.5706, allocations: 0.8801 MB / 0.499 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5706, allocations: 8.094 kB / 0.499 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.5734, allocations: 1.373 MB / 0.5004 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.5736, allocations: 124.6 kB / 0.5005 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/0.5737, allocations: 16 kB / 0.5005 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.5744, allocations: 68.02 kB / 0.5006 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.5745, allocations: 42.94 kB / 0.5006 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.5746, allocations: 31.97 kB / 0.5007 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.5748, allocations: 225.9 kB / 0.5009 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5748, allocations: 0 / 0.5009 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001326/0.5762, allocations: 447.6 kB / 0.5013 GB, free: 13.77 MB / 414.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.001258/0.5774, allocations: 0.5297 MB / 0.5018 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.5795, allocations: 1.001 MB / 0.5028 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5796, allocations: 0 / 0.5028 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008897/0.5805, allocations: 423.2 kB / 0.5032 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.5819, allocations: 284.5 kB / 0.5035 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.5847, allocations: 1.549 MB / 0.505 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.5852, allocations: 0.8571 MB / 0.5058 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005934/0.5858, allocations: 136.5 kB / 0.5059 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.586, allocations: 55.42 kB / 0.506 GB, free: 8.859 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.586, allocations: 3.938 kB / 0.506 GB, free: 8.855 MB / 414.1 MB Notification: Performance of Templates: time 0.03364/0.6196, allocations: 20.22 MB / 0.5257 GB, free: 4.613 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) Environment - environmentSimulation: