Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0007788/0.0007786, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0009624/0.0009624, allocations: 172.7 kB / 15.95 MB, free: 208 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.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.0004127/0.0004128, allocations: 12 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2598, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4239/0.6837, allocations: 169.7 MB / 496.2 MB, free: 1.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.6889, allocations: 4.448 MB / 0.4889 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.6894, allocations: 1.781 kB / 0.4889 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007831/0.6902, allocations: 167.3 kB / 0.4891 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009056/0.6911, allocations: 362.6 kB / 0.4894 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007302/0.6985, allocations: 2.162 MB / 0.4915 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.7003, allocations: 1.385 MB / 0.4929 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.7005, allocations: 106.1 kB / 0.493 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.7042, allocations: 1.201 MB / 0.4941 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009906/0.7053, allocations: 417.5 kB / 0.4945 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.7054, allocations: 30 kB / 0.4946 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007118/0.7125, allocations: 3.494 MB / 0.498 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.7129, allocations: 199.3 kB / 0.4982 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.7133, allocations: 131 kB / 0.4983 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003982/0.7173, allocations: 1.892 MB / 0.5001 GB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7173, allocations: 2.938 kB / 0.5001 GB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7173, allocations: 0 / 0.5001 GB, free: 15.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.178e-05/0.7173, allocations: 1.859 kB / 0.5001 GB, free: 15.07 MB / 398.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.003157/0.7205, allocations: 1.025 MB / 0.5011 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.7206, allocations: 11.34 kB / 0.5012 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.7211, allocations: 65.59 kB / 0.5012 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/0.7219, allocations: 357.3 kB / 0.5016 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.722, allocations: 33.97 kB / 0.5016 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/0.7221, allocations: 45.22 kB / 0.5016 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.7231, allocations: 0.5047 MB / 0.5021 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.7231, allocations: 5.844 kB / 0.5021 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/0.7232, allocations: 21.31 kB / 0.5022 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.7232, allocations: 11.34 kB / 0.5022 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.7242, allocations: 0.5955 MB / 0.5027 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.7279, allocations: 2.171 MB / 0.5049 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.729, allocations: 0.5663 MB / 0.5054 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.7295, allocations: 257.9 kB / 0.5057 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.7301, allocations: 0.695 MB / 0.5063 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.7302, allocations: 40.41 kB / 0.5064 GB, free: 11.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 3.166e-06/0.7302, allocations: 0 / 0.5064 GB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.01347/0.7437, allocations: 3.798 MB / 0.5101 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.7438, allocations: 60.31 kB / 0.5102 GB, free: 9.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.7442, allocations: 294.4 kB / 0.5104 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.124e-05/0.7443, allocations: 36.23 kB / 0.5105 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.7444, allocations: 195.4 kB / 0.5107 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.7447, allocations: 230 kB / 0.5109 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.7447, allocations: 19.5 kB / 0.5109 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7449, allocations: 347 kB / 0.5112 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.7455, allocations: 312 kB / 0.5115 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007126/0.7463, allocations: 393 kB / 0.5119 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.7471, allocations: 360.7 kB / 0.5122 GB, free: 8.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7471, allocations: 0 / 0.5122 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002031/0.7491, allocations: 0.9664 MB / 0.5132 GB, free: 8.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.7491, allocations: 5.125 kB / 0.5132 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7492, allocations: 2.906 kB / 0.5132 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.7507, allocations: 363.7 kB / 0.5135 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.7512, allocations: 117.8 kB / 0.5137 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003889/0.7551, allocations: 3.518 MB / 0.5171 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/0.7557, allocations: 71.38 kB / 0.5172 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.7558, allocations: 23.23 kB / 0.5172 GB, free: 5.199 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.0004235/0.7562, allocations: 195.7 kB / 0.5174 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.7564, allocations: 43.53 kB / 0.5174 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.7593, allocations: 1.043 MB / 0.5184 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.7593, allocations: 12 kB / 0.5184 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7593, allocations: 3.953 kB / 0.5184 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/0.7616, allocations: 1.079 MB / 0.5195 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.7647, allocations: 1.722 MB / 0.5212 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7647, allocations: 4 kB / 0.5212 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.7653, allocations: 107.2 kB / 0.5213 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/0.7671, allocations: 394.2 kB / 0.5217 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.379e-05/0.7671, allocations: 24.73 kB / 0.5217 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.7685, allocations: 0.8854 MB / 0.5225 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7686, allocations: 0 / 0.5225 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.7713, allocations: 1.36 MB / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.7715, allocations: 121.4 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.7716, allocations: 18.5 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.7722, allocations: 61.56 kB / 0.5241 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.7723, allocations: 44 kB / 0.5241 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.7724, allocations: 27.22 kB / 0.5241 GB, free: 15.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.7726, allocations: 224.2 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7726, allocations: 0 / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001509/0.7741, allocations: 449.8 kB / 0.5248 GB, free: 14.99 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.001734/0.7759, allocations: 0.5709 MB / 0.5253 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.7778, allocations: 0.9977 MB / 0.5263 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.7779, allocations: 7.25 kB / 0.5263 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.7787, allocations: 419.1 kB / 0.5267 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.7801, allocations: 298.6 kB / 0.527 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.7828, allocations: 1.542 MB / 0.5285 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.7833, allocations: 0.8509 MB / 0.5293 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005691/0.7839, allocations: 136.5 kB / 0.5295 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.784, allocations: 57.23 kB / 0.5295 GB, free: 10.7 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.784, allocations: 0 / 0.5295 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Templates: time 0.03477/0.8188, allocations: 20.75 MB / 0.5498 GB, free: 5.996 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)