Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005564/0.005564, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001167/0.001167, allocations: 193.2 kB / 16.67 MB, free: 5.965 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.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.001175/0.001175, allocations: 49.45 kB / 326.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1047, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3806/0.4854, allocations: 152.7 MB / 0.5135 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.4862, allocations: 0.5874 MB / 0.5141 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.4863, allocations: 5.844 kB / 0.5141 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.4866, allocations: 63.2 kB / 0.5142 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.4871, allocations: 153.9 kB / 0.5143 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.4903, allocations: 1.085 MB / 0.5154 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005825/0.4909, allocations: 321.5 kB / 0.5157 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.58e-05/0.491, allocations: 13.19 kB / 0.5157 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.4913, allocations: 148.2 kB / 0.5158 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.4915, allocations: 126.2 kB / 0.516 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.4916, allocations: 12.72 kB / 0.516 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.4944, allocations: 1.611 MB / 0.5176 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4945, allocations: 81.95 kB / 0.5176 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.4947, allocations: 90.69 kB / 0.5177 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.4962, allocations: 0.993 MB / 0.5187 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4962, allocations: 3.938 kB / 0.5187 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4962, allocations: 0 / 0.5187 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4962, allocations: 0 / 0.5187 GB, free: 0.8359 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001676/0.4979, allocations: 0.6791 MB / 0.5194 GB, free: 260 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.498, allocations: 11.03 kB / 0.5194 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.4981, allocations: 21.34 kB / 0.5194 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.4984, allocations: 208 kB / 0.5196 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4984, allocations: 11.27 kB / 0.5196 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.4984, allocations: 22.61 kB / 0.5196 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.499, allocations: 266.2 kB / 0.5199 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.499, allocations: 3.984 kB / 0.5199 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.4991, allocations: 5.688 kB / 0.5199 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.4991, allocations: 6.844 kB / 0.5199 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.4997, allocations: 262.1 kB / 0.5201 GB, free: 15.7 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.5012, allocations: 0.8017 MB / 0.5209 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.5018, allocations: 219.9 kB / 0.5211 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.5022, allocations: 135.4 kB / 0.5213 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/0.5025, allocations: 361.6 kB / 0.5216 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5025, allocations: 40.66 kB / 0.5216 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/0.5025, allocations: 0 / 0.5216 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002486/0.505, allocations: 0.6733 MB / 0.5223 GB, free: 13.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.5051, allocations: 81.11 kB / 0.5224 GB, free: 13.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.5052, allocations: 123.7 kB / 0.5225 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.5052, allocations: 33.7 kB / 0.5225 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.5053, allocations: 104.8 kB / 0.5226 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.5054, allocations: 126.1 kB / 0.5227 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.5055, allocations: 65.69 kB / 0.5228 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5056, allocations: 322.8 kB / 0.5231 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.506, allocations: 147.5 kB / 0.5233 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.5064, allocations: 207.5 kB / 0.5235 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.5073, allocations: 359.4 kB / 0.5238 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5073, allocations: 4 kB / 0.5238 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009904/0.5083, allocations: 401.2 kB / 0.5242 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5083, allocations: 8 kB / 0.5242 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5083, allocations: 0 / 0.5242 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5083, allocations: 4 kB / 0.5242 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.5088, allocations: 88.09 kB / 0.5243 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.5089, allocations: 8.844 kB / 0.5243 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.5092, allocations: 31.81 kB / 0.5243 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.5092, allocations: 16 kB / 0.5243 GB, free: 11.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.5094, allocations: 145.6 kB / 0.5245 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.5094, allocations: 19.81 kB / 0.5245 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.5098, allocations: 171.8 kB / 0.5247 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5098, allocations: 4 kB / 0.5247 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5098, allocations: 4 kB / 0.5247 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5099, allocations: 0 / 0.5247 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.5115, allocations: 0.7674 MB / 0.5254 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5115, allocations: 4 kB / 0.5254 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.512, allocations: 83.81 kB / 0.5255 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.512, allocations: 4 kB / 0.5255 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.512, allocations: 11.98 kB / 0.5255 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5121, allocations: 4 kB / 0.5255 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5121, allocations: 4.156 kB / 0.5255 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.5134, allocations: 0.6993 MB / 0.5262 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.5136, allocations: 128.8 kB / 0.5263 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.5136, allocations: 16 kB / 0.5263 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.514, allocations: 23.97 kB / 0.5264 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.5141, allocations: 27.91 kB / 0.5264 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.5141, allocations: 16 kB / 0.5264 GB, free: 9.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.588e-05/0.5142, allocations: 91.27 kB / 0.5265 GB, free: 9.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5142, allocations: 0 / 0.5265 GB, free: 9.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005859/0.5148, allocations: 143.9 kB / 0.5266 GB, free: 9.168 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004456/0.5152, allocations: 242.5 kB / 0.5269 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000906/0.5161, allocations: 356 kB / 0.5272 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5161, allocations: 0 / 0.5272 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.5166, allocations: 176.4 kB / 0.5274 GB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.5173, allocations: 93.19 kB / 0.5275 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.5187, allocations: 0.6111 MB / 0.5281 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.519, allocations: 0.7338 MB / 0.5288 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003214/0.5193, allocations: 73.91 kB / 0.5288 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5194, allocations: 35.42 kB / 0.5289 GB, free: 6.801 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5194, allocations: 4 kB / 0.5289 GB, free: 6.797 MB / 414.1 MB Notification: Performance of Templates: time 0.01024/0.5297, allocations: 6.172 MB / 0.5349 GB, free: 0.6172 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)