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.001531/0.001531, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 192.4 kB / 16.53 MB, free: 6.664 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.408/1.408, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001214/0.001214, allocations: 60.34 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.225, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4045/0.6295, allocations: 186.6 MB / 0.4999 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005501/0.6351, allocations: 4.788 MB / 0.5046 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.6353, allocations: 9.062 kB / 0.5046 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007716/0.6361, allocations: 247.6 kB / 0.5048 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006047/0.6368, allocations: 373.2 kB / 0.5052 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008185/0.6449, allocations: 2.858 MB / 0.508 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.6469, allocations: 1.169 MB / 0.5091 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.6472, allocations: 152.7 kB / 0.5093 GB, free: 7.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.6508, allocations: 1.446 MB / 0.5107 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008892/0.6517, allocations: 423.7 kB / 0.5111 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.6519, allocations: 63.25 kB / 0.5111 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007657/0.6595, allocations: 4.077 MB / 0.5151 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.6599, allocations: 242.5 kB / 0.5153 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.6604, allocations: 318.6 kB / 0.5157 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00678/0.6672, allocations: 2.902 MB / 0.5185 GB, free: 4.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6672, allocations: 0 / 0.5185 GB, free: 4.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6672, allocations: 2.281 kB / 0.5185 GB, free: 4.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.6672, allocations: 0 / 0.5185 GB, free: 4.773 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.002488/0.6697, allocations: 1.137 MB / 0.5196 GB, free: 3.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.6698, allocations: 12.03 kB / 0.5196 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003315/0.6701, allocations: 55.52 kB / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.6706, allocations: 368.7 kB / 0.52 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.6706, allocations: 36.94 kB / 0.5201 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.6707, allocations: 44 kB / 0.5201 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.6715, allocations: 0.51 MB / 0.5206 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.6716, allocations: 4 kB / 0.5206 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/0.6716, allocations: 16 kB / 0.5206 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.6716, allocations: 12 kB / 0.5206 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.6726, allocations: 0.5973 MB / 0.5212 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.6756, allocations: 2.179 MB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.6768, allocations: 0.5535 MB / 0.5239 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.6772, allocations: 270 kB / 0.5241 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005034/0.6777, allocations: 0.6917 MB / 0.5248 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.6777, allocations: 43 kB / 0.5248 GB, free: 13.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.444e-06/0.6777, allocations: 0 / 0.5248 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.0141/0.6918, allocations: 3.656 MB / 0.5284 GB, free: 10.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.6919, allocations: 59.97 kB / 0.5285 GB, free: 10.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.6922, allocations: 290.7 kB / 0.5288 GB, free: 9.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.6923, allocations: 37.7 kB / 0.5288 GB, free: 9.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.6924, allocations: 193.1 kB / 0.529 GB, free: 9.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.6926, allocations: 232 kB / 0.5292 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.6928, allocations: 118.3 kB / 0.5293 GB, free: 9.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6929, allocations: 346.8 kB / 0.5296 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.6936, allocations: 313.1 kB / 0.5299 GB, free: 8.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007348/0.6943, allocations: 384.2 kB / 0.5303 GB, free: 8.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.6958, allocations: 0.7164 MB / 0.531 GB, free: 7.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6958, allocations: 0 / 0.531 GB, free: 7.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002119/0.6979, allocations: 0.9599 MB / 0.5319 GB, free: 6.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.698, allocations: 7.984 kB / 0.5319 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.698, allocations: 0 / 0.5319 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.6995, allocations: 338.3 kB / 0.5323 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.7, allocations: 119.8 kB / 0.5324 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/0.7035, allocations: 3.711 MB / 0.536 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.704, allocations: 40.06 kB / 0.536 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/0.7041, allocations: 23.98 kB / 0.5361 GB, free: 1.961 MB / 414.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.7044, allocations: 197.6 kB / 0.5363 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.7045, allocations: 43.52 kB / 0.5363 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.707, allocations: 1.017 MB / 0.5373 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.707, allocations: 7.984 kB / 0.5373 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.707, allocations: 7.938 kB / 0.5373 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001994/0.709, allocations: 1.063 MB / 0.5383 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.712, allocations: 1.7 MB / 0.54 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.712, allocations: 0 / 0.54 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/0.7125, allocations: 119.8 kB / 0.5401 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/0.7142, allocations: 364.4 kB / 0.5405 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.7143, allocations: 23.98 kB / 0.5405 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.7157, allocations: 0.8756 MB / 0.5413 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7157, allocations: 0 / 0.5413 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.7183, allocations: 1.337 MB / 0.5427 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.7185, allocations: 120.6 kB / 0.5428 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.066e-05/0.7186, allocations: 19.94 kB / 0.5428 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.7192, allocations: 47.95 kB / 0.5428 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.7193, allocations: 40.5 kB / 0.5429 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.7193, allocations: 31.97 kB / 0.5429 GB, free: 10.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002368/0.7196, allocations: 221.9 kB / 0.5431 GB, free: 10.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7196, allocations: 0 / 0.5431 GB, free: 10.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001639/0.7212, allocations: 447.7 kB / 0.5435 GB, free: 10.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.7227, allocations: 0.5861 MB / 0.5441 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.7251, allocations: 1.056 MB / 0.5451 GB, free: 8.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.7251, allocations: 0 / 0.5451 GB, free: 8.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.726, allocations: 423.1 kB / 0.5455 GB, free: 8.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.7274, allocations: 308.3 kB / 0.5458 GB, free: 7.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.7303, allocations: 1.324 MB / 0.5471 GB, free: 6.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.7307, allocations: 0.8493 MB / 0.548 GB, free: 5.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005405/0.7312, allocations: 124.6 kB / 0.5481 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.7314, allocations: 59.42 kB / 0.5481 GB, free: 5.34 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7314, allocations: 0 / 0.5481 GB, free: 5.34 MB / 430.1 MB Notification: Performance of Templates: time 0.03208/0.7635, allocations: 21.96 MB / 0.5696 GB, free: 15.37 MB / 462.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)