Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.004702/0.004702, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001102/0.001102, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001296/0.001296, allocations: 49.88 kB / 326.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09199, allocations: 46.62 MB / 373.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4105/0.5025, allocations: 152.7 MB / 0.5135 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000941/0.5035, allocations: 0.5966 MB / 0.5141 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.5036, allocations: 0 / 0.5141 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.504, allocations: 65.36 kB / 0.5142 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.5045, allocations: 161.6 kB / 0.5143 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.5075, allocations: 1.095 MB / 0.5154 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.508, allocations: 330.5 kB / 0.5157 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.205e-05/0.5081, allocations: 6.641 kB / 0.5157 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.5085, allocations: 155.1 kB / 0.5159 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.5088, allocations: 116.4 kB / 0.516 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.5088, allocations: 9.719 kB / 0.516 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.5122, allocations: 1.623 MB / 0.5176 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.5123, allocations: 74.53 kB / 0.5176 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.5125, allocations: 94.39 kB / 0.5177 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.5147, allocations: 0.9917 MB / 0.5187 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5147, allocations: 0 / 0.5187 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5148, allocations: 0 / 0.5187 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.5148, allocations: 3.938 kB / 0.5187 GB, free: 0.7773 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.002163/0.5169, allocations: 0.678 MB / 0.5194 GB, free: 204 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.517, allocations: 7.688 kB / 0.5194 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.5172, allocations: 28.89 kB / 0.5194 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.5175, allocations: 214.1 kB / 0.5196 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5175, allocations: 9.141 kB / 0.5196 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.5177, allocations: 20.22 kB / 0.5196 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.5183, allocations: 260 kB / 0.5199 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5184, allocations: 3.938 kB / 0.5199 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.5184, allocations: 10.56 kB / 0.5199 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.5185, allocations: 4.281 kB / 0.5199 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.5192, allocations: 263.4 kB / 0.5202 GB, free: 15.64 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.001618/0.5208, allocations: 0.7989 MB / 0.5209 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.5215, allocations: 217.5 kB / 0.5211 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/0.5219, allocations: 139.1 kB / 0.5213 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005241/0.5224, allocations: 361.5 kB / 0.5216 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.5225, allocations: 36.66 kB / 0.5217 GB, free: 14.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 4.919e-06/0.5225, allocations: 3.984 kB / 0.5217 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00252/0.525, allocations: 0.6678 MB / 0.5223 GB, free: 13.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.5251, allocations: 81.11 kB / 0.5224 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.5252, allocations: 117.8 kB / 0.5225 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.5252, allocations: 33.7 kB / 0.5225 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.5253, allocations: 108.8 kB / 0.5226 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5254, allocations: 134.1 kB / 0.5228 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.5256, allocations: 65.69 kB / 0.5228 GB, free: 13.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5257, allocations: 326.8 kB / 0.5231 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.5261, allocations: 131.1 kB / 0.5233 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.5266, allocations: 215.5 kB / 0.5235 GB, free: 12.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.5274, allocations: 363.4 kB / 0.5238 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.5274, allocations: 0 / 0.5238 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00106/0.5285, allocations: 409.2 kB / 0.5242 GB, free: 11.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5285, allocations: 4 kB / 0.5242 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5285, allocations: 4 kB / 0.5242 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.5286, allocations: 4 kB / 0.5242 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.5291, allocations: 88.75 kB / 0.5243 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.5292, allocations: 4 kB / 0.5243 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.5295, allocations: 28.11 kB / 0.5243 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.5295, allocations: 15.98 kB / 0.5244 GB, free: 11.69 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.0001661/0.5297, allocations: 153.6 kB / 0.5245 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.5298, allocations: 19.81 kB / 0.5245 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/0.5302, allocations: 167.1 kB / 0.5247 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5302, allocations: 4 kB / 0.5247 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.5302, allocations: 0 / 0.5247 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5302, allocations: 10.92 kB / 0.5247 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.532, allocations: 0.7598 MB / 0.5254 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.532, allocations: 4 kB / 0.5254 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.5325, allocations: 83.81 kB / 0.5255 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.5325, allocations: 4 kB / 0.5255 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.5325, allocations: 8 kB / 0.5255 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.5325, allocations: 4 kB / 0.5255 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5325, allocations: 0 / 0.5255 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.534, allocations: 0.7071 MB / 0.5262 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.5341, allocations: 124.8 kB / 0.5263 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.5342, allocations: 8 kB / 0.5263 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.5345, allocations: 28.05 kB / 0.5264 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.5346, allocations: 23.91 kB / 0.5264 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.5347, allocations: 15.98 kB / 0.5264 GB, free: 9.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.089e-05/0.5347, allocations: 99.58 kB / 0.5265 GB, free: 9.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5347, allocations: 0 / 0.5265 GB, free: 9.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000649/0.5354, allocations: 143.9 kB / 0.5266 GB, free: 9.203 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.0005113/0.5359, allocations: 238.9 kB / 0.5269 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009593/0.5369, allocations: 344.1 kB / 0.5272 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5369, allocations: 0 / 0.5272 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.5374, allocations: 189.2 kB / 0.5274 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/0.5382, allocations: 104.3 kB / 0.5275 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.5397, allocations: 0.5992 MB / 0.5281 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.5401, allocations: 0.7377 MB / 0.5288 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003798/0.5405, allocations: 77.89 kB / 0.5289 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.5407, allocations: 35.41 kB / 0.5289 GB, free: 6.832 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.5407, allocations: 0 / 0.5289 GB, free: 6.832 MB / 414.1 MB Notification: Performance of Templates: time 0.01141/0.5521, allocations: 6.102 MB / 0.5349 GB, free: 0.7227 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)