Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001169/0.001168, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.247/1.247, allocations: 170.7 MB / 178.7 MB, free: 7.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001544/0.001543, allocations: 106.5 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.711e-05, allocations: 4 kB / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2572, allocations: 38.75 MB / 301 MB, free: 39.12 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.468/1.725, allocations: 0.63 GB / 0.9239 GB, free: 46.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.726, allocations: 78.3 kB / 0.924 GB, free: 46.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4849/2.211, allocations: 149 MB / 1.07 GB, free: 57.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/2.211, allocations: 0 / 1.07 GB, free: 57.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.745e-05/2.211, allocations: 8 kB / 1.07 GB, free: 57.24 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001697/2.212, allocations: 0.6551 MB / 1.07 GB, free: 56.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/2.212, allocations: 8.25 kB / 1.07 GB, free: 56.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/2.213, allocations: 83.33 kB / 1.07 GB, free: 56.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/2.214, allocations: 329.1 kB / 1.071 GB, free: 56.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/2.214, allocations: 12 kB / 1.071 GB, free: 56.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/2.214, allocations: 27.95 kB / 1.071 GB, free: 56.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000452/2.214, allocations: 249.5 kB / 1.071 GB, free: 55.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/2.215, allocations: 402.7 kB / 1.071 GB, free: 55.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/2.215, allocations: 3.906 kB / 1.071 GB, free: 55.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/2.215, allocations: 7.984 kB / 1.071 GB, free: 55.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/2.215, allocations: 8 kB / 1.071 GB, free: 55.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/2.226, allocations: 6.262 MB / 1.077 GB, free: 48.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/2.227, allocations: 254.9 kB / 1.078 GB, free: 48.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/2.227, allocations: 134.6 kB / 1.078 GB, free: 48.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007394/2.235, allocations: 3.498 MB / 1.081 GB, free: 44.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/2.235, allocations: 38.56 kB / 1.081 GB, free: 44.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 4.779e-06/2.235, allocations: 0 / 1.081 GB, free: 44.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.005854/2.24, allocations: 1.628 MB / 1.083 GB, free: 42.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/2.241, allocations: 55.41 kB / 1.083 GB, free: 42.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/2.241, allocations: 222.3 kB / 1.083 GB, free: 42.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/2.241, allocations: 25.7 kB / 1.083 GB, free: 42.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/2.241, allocations: 227.8 kB / 1.083 GB, free: 42.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.166e-05/2.241, allocations: 153.8 kB / 1.083 GB, free: 41.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/2.241, allocations: 0 / 1.083 GB, free: 41.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/2.241, allocations: 354.8 kB / 1.084 GB, free: 41.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/2.241, allocations: 137.1 kB / 1.084 GB, free: 41.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/2.242, allocations: 250.7 kB / 1.084 GB, free: 41.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/2.243, allocations: 325.8 kB / 1.084 GB, free: 40.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.243, allocations: 0 / 1.084 GB, free: 40.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001944/2.245, allocations: 0.6737 MB / 1.085 GB, free: 40.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/2.245, allocations: 4 kB / 1.085 GB, free: 40.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/2.245, allocations: 4 kB / 1.085 GB, free: 40.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/2.245, allocations: 110.5 kB / 1.085 GB, free: 40.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/2.246, allocations: 116.1 kB / 1.085 GB, free: 39.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/2.248, allocations: 2.517 MB / 1.088 GB, free: 37.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/2.248, allocations: 28 kB / 1.088 GB, free: 37.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/2.248, allocations: 33.69 kB / 1.088 GB, free: 37.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001288/2.248, allocations: 116.8 kB / 1.088 GB, free: 37.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/2.249, allocations: 31.62 kB / 1.088 GB, free: 37.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/2.25, allocations: 0.8021 MB / 1.089 GB, free: 36.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/2.25, allocations: 12 kB / 1.089 GB, free: 36.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/2.25, allocations: 0 / 1.089 GB, free: 36.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/2.251, allocations: 0.926 MB / 1.09 GB, free: 35.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/2.253, allocations: 1.372 MB / 1.091 GB, free: 33.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/2.253, allocations: 0 / 1.091 GB, free: 33.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/2.253, allocations: 83.83 kB / 1.091 GB, free: 33.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/2.254, allocations: 193.3 kB / 1.091 GB, free: 33.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/2.254, allocations: 11.98 kB / 1.091 GB, free: 33.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008683/2.255, allocations: 1.339 MB / 1.093 GB, free: 32.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.255, allocations: 3.984 kB / 1.093 GB, free: 32.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/2.256, allocations: 1.174 MB / 1.094 GB, free: 30.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/2.256, allocations: 116.6 kB / 1.094 GB, free: 30.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/2.256, allocations: 7.953 kB / 1.094 GB, free: 30.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/2.257, allocations: 19.92 kB / 1.094 GB, free: 30.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/2.257, allocations: 28.16 kB / 1.094 GB, free: 30.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/2.257, allocations: 15.98 kB / 1.094 GB, free: 30.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000158/2.257, allocations: 182 kB / 1.094 GB, free: 30.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.257, allocations: 3.938 kB / 1.094 GB, free: 30.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001111/2.258, allocations: 219.9 kB / 1.094 GB, free: 30.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/2.26, allocations: 459.6 kB / 1.095 GB, free: 29.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/2.261, allocations: 0.6415 MB / 1.095 GB, free: 29.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/2.261, allocations: 0.9375 kB / 1.095 GB, free: 29.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005275/2.261, allocations: 392 kB / 1.096 GB, free: 28.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/2.262, allocations: 188.6 kB / 1.096 GB, free: 28.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/2.264, allocations: 0.9426 MB / 1.097 GB, free: 27.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/2.264, allocations: 0.8517 MB / 1.098 GB, free: 26.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003239/2.264, allocations: 67.36 kB / 1.098 GB, free: 26.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.162e-05/2.264, allocations: 39.36 kB / 1.098 GB, free: 26.68 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/2.264, allocations: 0 / 1.098 GB, free: 26.68 MB / 362.7 MB Notification: Performance of Templates: time 0.01945/2.284, allocations: 10.98 MB / 1.109 GB, free: 15.73 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)