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.001082/0.001082, allocations: 88.16 kB / 16.31 MB, free: 5.539 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.001308/0.001308, allocations: 183.6 kB / 17.21 MB, free: 5.457 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.526/1.526, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.000455/0.000455, allocations: 15.44 kB / 280.2 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.09961, allocations: 47.57 MB / 327.7 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4379/0.5375, allocations: 169.7 MB / 497.4 MB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006642/0.5442, allocations: 4.432 MB / 0.4901 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005165/0.5448, allocations: 8 kB / 0.4901 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008453/0.5456, allocations: 167 kB / 0.4903 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.5468, allocations: 362.1 kB / 0.4906 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008134/0.555, allocations: 2.167 MB / 0.4927 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.557, allocations: 1.395 MB / 0.4941 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.5574, allocations: 105.5 kB / 0.4942 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.5612, allocations: 1.201 MB / 0.4954 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009608/0.5622, allocations: 418.6 kB / 0.4958 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.5624, allocations: 28 kB / 0.4958 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007617/0.57, allocations: 3.479 MB / 0.4992 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004144/0.5704, allocations: 195.5 kB / 0.4994 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.5708, allocations: 133.5 kB / 0.4995 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.5746, allocations: 1.89 MB / 0.5014 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5746, allocations: 0 / 0.5014 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5747, allocations: 4 kB / 0.5014 GB, free: 276 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.938e-05/0.5747, allocations: 0 / 0.5014 GB, free: 276 kB / 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.002842/0.5775, allocations: 1.037 MB / 0.5024 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5776, allocations: 8.031 kB / 0.5024 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.578, allocations: 59.39 kB / 0.5024 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.5787, allocations: 361.9 kB / 0.5028 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.5787, allocations: 37 kB / 0.5028 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.5788, allocations: 40 kB / 0.5029 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.5798, allocations: 0.4984 MB / 0.5033 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5799, allocations: 0 / 0.5033 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.5799, allocations: 20 kB / 0.5034 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.58, allocations: 12 kB / 0.5034 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.581, allocations: 0.6089 MB / 0.504 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.5844, allocations: 2.171 MB / 0.5061 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.5856, allocations: 0.5592 MB / 0.5066 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.5861, allocations: 254.1 kB / 0.5069 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/0.5867, allocations: 0.697 MB / 0.5076 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/0.5868, allocations: 47 kB / 0.5076 GB, free: 9.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/0.5868, allocations: 0 / 0.5076 GB, free: 9.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.01376/0.6006, allocations: 3.801 MB / 0.5113 GB, free: 5.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.6007, allocations: 67.95 kB / 0.5114 GB, free: 5.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.601, allocations: 286.7 kB / 0.5117 GB, free: 5.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.342e-05/0.6011, allocations: 37.7 kB / 0.5117 GB, free: 5.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.6012, allocations: 193.1 kB / 0.5119 GB, free: 4.891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.6014, allocations: 232.7 kB / 0.5121 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.6015, allocations: 8 kB / 0.5121 GB, free: 4.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6016, allocations: 354.8 kB / 0.5124 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006901/0.6023, allocations: 313.1 kB / 0.5127 GB, free: 3.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.6031, allocations: 397 kB / 0.5131 GB, free: 3.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/0.6038, allocations: 351.1 kB / 0.5135 GB, free: 3.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6038, allocations: 0 / 0.5135 GB, free: 3.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002127/0.606, allocations: 0.9756 MB / 0.5144 GB, free: 2.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.606, allocations: 4 kB / 0.5144 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.606, allocations: 4 kB / 0.5144 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.6075, allocations: 354.3 kB / 0.5147 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.6081, allocations: 115.9 kB / 0.5149 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.6117, allocations: 3.518 MB / 0.5183 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/0.6124, allocations: 63.91 kB / 0.5184 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/0.6124, allocations: 31.92 kB / 0.5184 GB, free: 13.88 MB / 430.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.0003305/0.6128, allocations: 193.7 kB / 0.5186 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6129, allocations: 43.53 kB / 0.5186 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.6154, allocations: 1.044 MB / 0.5196 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.6154, allocations: 8 kB / 0.5196 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.6154, allocations: 7.953 kB / 0.5196 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002019/0.6174, allocations: 1.079 MB / 0.5207 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.6204, allocations: 1.718 MB / 0.5224 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6205, allocations: 0 / 0.5224 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.621, allocations: 115.8 kB / 0.5225 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.6228, allocations: 388.4 kB / 0.5229 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.6229, allocations: 23.98 kB / 0.5229 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.6243, allocations: 0.8863 MB / 0.5237 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6243, allocations: 4.188 kB / 0.5238 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.6269, allocations: 1.356 MB / 0.5251 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.6271, allocations: 128.6 kB / 0.5252 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.6272, allocations: 16 kB / 0.5252 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.6278, allocations: 59.94 kB / 0.5253 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.6279, allocations: 44.44 kB / 0.5253 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.628, allocations: 39.91 kB / 0.5254 GB, free: 6.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.6282, allocations: 217.9 kB / 0.5256 GB, free: 6.297 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6283, allocations: 3.938 kB / 0.5256 GB, free: 6.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001446/0.6297, allocations: 455.6 kB / 0.526 GB, free: 5.848 MB / 430.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.001236/0.6309, allocations: 0.5649 MB / 0.5265 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.6329, allocations: 1.005 MB / 0.5275 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6329, allocations: 0 / 0.5275 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008731/0.6338, allocations: 419.2 kB / 0.5279 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.6352, allocations: 300.5 kB / 0.5282 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.638, allocations: 1.545 MB / 0.5297 GB, free: 1.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.6385, allocations: 0.8571 MB / 0.5306 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005736/0.639, allocations: 124.5 kB / 0.5307 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.6392, allocations: 55.42 kB / 0.5307 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6392, allocations: 4 kB / 0.5307 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of Templates: time 0.2118/0.851, allocations: 20.74 MB / 0.551 GB, free: 155.5 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (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)