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.001149/0.001149, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001171/0.001171, allocations: 196 kB / 18 MB, free: 5.105 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.448/1.448, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.001413/0.001413, allocations: 52.2 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1082, allocations: 46.62 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4563/0.5646, allocations: 186.6 MB / 0.548 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.3267/0.8913, allocations: 4.78 MB / 0.5526 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/0.8916, allocations: 8.062 kB / 0.5526 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008517/0.8925, allocations: 249.5 kB / 0.5529 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.8933, allocations: 372 kB / 0.5532 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008218/0.9015, allocations: 2.863 MB / 0.556 GB, free: 1.488 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.9035, allocations: 1.164 MB / 0.5572 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.9038, allocations: 155 kB / 0.5573 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004325/0.9081, allocations: 1.464 MB / 0.5587 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007348/0.9089, allocations: 423.4 kB / 0.5591 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.909, allocations: 63.28 kB / 0.5592 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009814/0.9188, allocations: 4.214 MB / 0.5633 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005184/0.9194, allocations: 236.1 kB / 0.5635 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007641/0.9202, allocations: 317.8 kB / 0.5638 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007444/0.9276, allocations: 2.905 MB / 0.5667 GB, free: 1.266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9277, allocations: 1.094 kB / 0.5667 GB, free: 1.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.9277, allocations: 0.5312 kB / 0.5667 GB, free: 1.266 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.9277, allocations: 1.031 kB / 0.5667 GB, free: 1.266 MB / 478.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.002859/0.9305, allocations: 1.137 MB / 0.5678 GB, free: 16.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.9306, allocations: 11.89 kB / 0.5678 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.9309, allocations: 59.73 kB / 0.5679 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.9315, allocations: 362.8 kB / 0.5682 GB, free: 16.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.9316, allocations: 34.16 kB / 0.5682 GB, free: 16.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.21e-05/0.9317, allocations: 43.53 kB / 0.5683 GB, free: 16.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.9326, allocations: 0.5077 MB / 0.5688 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.9326, allocations: 0.9062 kB / 0.5688 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.9327, allocations: 19.03 kB / 0.5688 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.9327, allocations: 13.19 kB / 0.5688 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.9337, allocations: 0.6027 MB / 0.5694 GB, free: 16.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.9369, allocations: 2.171 MB / 0.5715 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.938, allocations: 0.5513 MB / 0.5721 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.9384, allocations: 263.9 kB / 0.5723 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/0.9389, allocations: 0.6944 MB / 0.573 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.939, allocations: 43 kB / 0.573 GB, free: 14.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.939, allocations: 1.062 kB / 0.573 GB, free: 14.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01384/0.9528, allocations: 3.631 MB / 0.5766 GB, free: 13.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.9529, allocations: 61.5 kB / 0.5766 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.9532, allocations: 302 kB / 0.5769 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.156e-05/0.9533, allocations: 36.11 kB / 0.577 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.9534, allocations: 194.4 kB / 0.5771 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.9536, allocations: 223 kB / 0.5774 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.9538, allocations: 115 kB / 0.5775 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.954, allocations: 354.2 kB / 0.5778 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.9546, allocations: 310 kB / 0.5781 GB, free: 12.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/0.9553, allocations: 388.5 kB / 0.5785 GB, free: 12.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.9566, allocations: 0.7112 MB / 0.5792 GB, free: 12.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9566, allocations: 0.9062 kB / 0.5792 GB, free: 12.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001986/0.9586, allocations: 0.9665 MB / 0.5801 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.9586, allocations: 6.562 kB / 0.5801 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.9586, allocations: 0.8125 kB / 0.5801 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.9601, allocations: 341.1 kB / 0.5804 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.9607, allocations: 121.6 kB / 0.5806 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/0.9643, allocations: 3.706 MB / 0.5842 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.9649, allocations: 41.33 kB / 0.5842 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.9649, allocations: 23.86 kB / 0.5842 GB, free: 9.406 MB / 494.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.0003523/0.9653, allocations: 192.2 kB / 0.5844 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.9654, allocations: 43.41 kB / 0.5845 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.9678, allocations: 1.021 MB / 0.5855 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.9678, allocations: 10.38 kB / 0.5855 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9678, allocations: 2.125 kB / 0.5855 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001955/0.9698, allocations: 1.065 MB / 0.5865 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.9728, allocations: 1.703 MB / 0.5882 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9728, allocations: 0.9688 kB / 0.5882 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.9734, allocations: 111.1 kB / 0.5883 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/0.975, allocations: 373.4 kB / 0.5886 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.9751, allocations: 29.72 kB / 0.5887 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.9765, allocations: 0.8657 MB / 0.5895 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9765, allocations: 3.594 kB / 0.5895 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.9791, allocations: 1.342 MB / 0.5908 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.9792, allocations: 117.5 kB / 0.5909 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.9793, allocations: 17.55 kB / 0.591 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.9799, allocations: 48.89 kB / 0.591 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.98, allocations: 41.17 kB / 0.591 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.9801, allocations: 34.09 kB / 0.5911 GB, free: 7.629 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.9804, allocations: 225.3 kB / 0.5913 GB, free: 7.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9804, allocations: 1.062 kB / 0.5913 GB, free: 7.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001897/0.9823, allocations: 451.8 kB / 0.5917 GB, free: 7.477 MB / 494.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.001354/0.9836, allocations: 0.5798 MB / 0.5923 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.9856, allocations: 0.9962 MB / 0.5933 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.9856, allocations: 3 kB / 0.5933 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.9865, allocations: 423 kB / 0.5937 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.988, allocations: 312.3 kB / 0.594 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.991, allocations: 1.312 MB / 0.5952 GB, free: 6.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.9914, allocations: 0.8515 MB / 0.5961 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005315/0.9919, allocations: 128.7 kB / 0.5962 GB, free: 5.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.9921, allocations: 59.42 kB / 0.5963 GB, free: 5.828 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.9921, allocations: 3.844 kB / 0.5963 GB, free: 5.828 MB / 494.1 MB Notification: Performance of Templates: time 0.03564/1.028, allocations: 22.37 MB / 0.6181 GB, free: 6.871 MB / 0.4981 GB 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)