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.005813/0.005813, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001268/0.001268, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001222/0.001222, allocations: 54.33 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09992, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5329/0.6329, allocations: 186.6 MB / 0.5467 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006573/0.6395, allocations: 4.79 MB / 0.5514 GB, free: 324 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.6399, allocations: 8 kB / 0.5514 GB, free: 316 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.641, allocations: 250.6 kB / 0.5516 GB, free: 64 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008025/0.6418, allocations: 381.8 kB / 0.552 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009299/0.6511, allocations: 2.874 MB / 0.5548 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.6533, allocations: 1.173 MB / 0.5559 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.6537, allocations: 149.4 kB / 0.5561 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/0.6575, allocations: 1.464 MB / 0.5575 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.6581, allocations: 422.6 kB / 0.5579 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.647e-05/0.6582, allocations: 64 kB / 0.558 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008281/0.6665, allocations: 4.212 MB / 0.5621 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.6669, allocations: 231.4 kB / 0.5623 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005363/0.6674, allocations: 318.9 kB / 0.5626 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007224/0.6747, allocations: 2.908 MB / 0.5654 GB, free: 1.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.6747, allocations: 8 kB / 0.5654 GB, free: 1.859 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6747, allocations: 0 / 0.5654 GB, free: 1.859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.6748, allocations: 0 / 0.5654 GB, free: 1.859 MB / 446.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.002789/0.6776, allocations: 1.139 MB / 0.5666 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6776, allocations: 8.031 kB / 0.5666 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.678, allocations: 63.42 kB / 0.5666 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.6786, allocations: 362 kB / 0.567 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.6787, allocations: 36.94 kB / 0.567 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/0.6788, allocations: 48 kB / 0.567 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.6797, allocations: 0.4984 MB / 0.5675 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6797, allocations: 7.906 kB / 0.5675 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.6798, allocations: 23.94 kB / 0.5676 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.6798, allocations: 8 kB / 0.5676 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/0.6808, allocations: 0.605 MB / 0.5682 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003358/0.6842, allocations: 2.175 MB / 0.5703 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.6854, allocations: 0.5509 MB / 0.5708 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.6858, allocations: 258.1 kB / 0.5711 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/0.6864, allocations: 0.697 MB / 0.5718 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.6864, allocations: 39 kB / 0.5718 GB, free: 10.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.565e-06/0.6864, allocations: 0 / 0.5718 GB, free: 10.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.01463/0.7011, allocations: 3.627 MB / 0.5753 GB, free: 7.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.7012, allocations: 55.97 kB / 0.5754 GB, free: 7.074 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.7015, allocations: 306.5 kB / 0.5757 GB, free: 6.762 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/0.7016, allocations: 41.7 kB / 0.5757 GB, free: 6.715 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.7018, allocations: 189.2 kB / 0.5759 GB, free: 6.523 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.702, allocations: 224.7 kB / 0.5761 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.7022, allocations: 114.2 kB / 0.5762 GB, free: 6.184 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7024, allocations: 354.8 kB / 0.5766 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006905/0.703, allocations: 313.1 kB / 0.5769 GB, free: 5.523 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007759/0.7038, allocations: 388.1 kB / 0.5772 GB, free: 5.125 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.7053, allocations: 0.7047 MB / 0.5779 GB, free: 4.398 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7054, allocations: 0.875 kB / 0.5779 GB, free: 4.398 MB / 462.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002247/0.7076, allocations: 0.9639 MB / 0.5789 GB, free: 3.418 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.7076, allocations: 8 kB / 0.5789 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.7077, allocations: 3.984 kB / 0.5789 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.7092, allocations: 338.3 kB / 0.5792 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.7098, allocations: 123.9 kB / 0.5793 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.7138, allocations: 3.699 MB / 0.5829 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.7144, allocations: 36 kB / 0.583 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/0.7145, allocations: 27.98 kB / 0.583 GB, free: 14.88 MB / 478.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.0003975/0.7149, allocations: 201.7 kB / 0.5832 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.7151, allocations: 47.47 kB / 0.5832 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.7175, allocations: 1.025 MB / 0.5842 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.7176, allocations: 8 kB / 0.5842 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7176, allocations: 3.938 kB / 0.5842 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00225/0.7198, allocations: 1.067 MB / 0.5853 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.7237, allocations: 1.694 MB / 0.5869 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.7238, allocations: 0 / 0.5869 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.7244, allocations: 115.8 kB / 0.587 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.7262, allocations: 372.8 kB / 0.5874 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.7262, allocations: 23.98 kB / 0.5874 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.7276, allocations: 0.8685 MB / 0.5883 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7276, allocations: 0 / 0.5883 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.7308, allocations: 1.339 MB / 0.5896 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.7311, allocations: 120.6 kB / 0.5897 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.7312, allocations: 23.91 kB / 0.5897 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.732, allocations: 39.95 kB / 0.5897 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/0.7321, allocations: 40.5 kB / 0.5898 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.7322, allocations: 35.97 kB / 0.5898 GB, free: 7.648 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002614/0.7324, allocations: 225.9 kB / 0.59 GB, free: 7.426 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7324, allocations: 0 / 0.59 GB, free: 7.426 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001692/0.7341, allocations: 459.6 kB / 0.5905 GB, free: 6.977 MB / 478.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.001786/0.7359, allocations: 0.5688 MB / 0.591 GB, free: 6.398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.7383, allocations: 1.006 MB / 0.592 GB, free: 5.367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7383, allocations: 0 / 0.592 GB, free: 5.367 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009371/0.7392, allocations: 419.2 kB / 0.5924 GB, free: 4.961 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.7408, allocations: 313 kB / 0.5927 GB, free: 4.656 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.7439, allocations: 1.303 MB / 0.594 GB, free: 3.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.7443, allocations: 0.8454 MB / 0.5948 GB, free: 2.449 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005827/0.7449, allocations: 132.6 kB / 0.5949 GB, free: 2.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.7452, allocations: 55.42 kB / 0.595 GB, free: 2.266 MB / 478.1 MB Notification: Performance of SimCode: time 9.71e-07/0.7452, allocations: 0 / 0.595 GB, free: 2.266 MB / 478.1 MB Notification: Performance of Templates: time 0.03484/0.78, allocations: 22.11 MB / 0.6166 GB, free: 12.11 MB / 0.4981 GB 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)