Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009822/0.009822, allocations: 169 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.396/1.396, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001653/0.001653, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003449, allocations: 12 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2322, allocations: 38.77 MB / 312.9 MB, free: 39.06 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.71/14.94, allocations: 6.524 GB / 6.829 GB, free: 37.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/14.94, allocations: 79.95 kB / 6.829 GB, free: 37.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387/18.33, allocations: 0.8379 GB / 7.667 GB, free: 19.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/18.33, allocations: 0 / 7.667 GB, free: 19.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/18.33, allocations: 11.72 kB / 7.667 GB, free: 19.85 MB / 394.7 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.01219/18.34, allocations: 2.928 MB / 7.67 GB, free: 18.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/18.34, allocations: 10.66 kB / 7.67 GB, free: 18.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/18.34, allocations: 66.44 kB / 7.67 GB, free: 18.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/18.35, allocations: 354.4 kB / 7.67 GB, free: 17.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/18.35, allocations: 34.53 kB / 7.67 GB, free: 17.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/18.35, allocations: 42.91 kB / 7.67 GB, free: 17.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/18.35, allocations: 0.5142 MB / 7.671 GB, free: 17.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/18.35, allocations: 3.438 kB / 7.671 GB, free: 17.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/18.35, allocations: 21.59 kB / 7.671 GB, free: 17.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/18.35, allocations: 16.69 kB / 7.671 GB, free: 17.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/18.35, allocations: 0.6321 MB / 7.672 GB, free: 17.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/18.36, allocations: 11.67 MB / 7.683 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/18.36, allocations: 0.6481 MB / 7.684 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02348/18.39, allocations: 20.09 MB / 7.703 GB, free: 18.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/18.39, allocations: 38.5 kB / 7.703 GB, free: 18.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 2.815e-06/18.39, allocations: 0 / 7.703 GB, free: 18.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.005937/18.39, allocations: 2.085 MB / 7.705 GB, free: 17.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/18.39, allocations: 65.47 kB / 7.705 GB, free: 17.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/18.39, allocations: 293.4 kB / 7.706 GB, free: 17.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/18.39, allocations: 36.27 kB / 7.706 GB, free: 17.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/18.39, allocations: 199.6 kB / 7.706 GB, free: 17.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/18.39, allocations: 184 kB / 7.706 GB, free: 17.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/18.39, allocations: 11.5 kB / 7.706 GB, free: 17.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/18.39, allocations: 351.3 kB / 7.706 GB, free: 16.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/18.39, allocations: 215 kB / 7.707 GB, free: 16.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/18.39, allocations: 311.5 kB / 7.707 GB, free: 16.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/18.39, allocations: 258.6 kB / 7.707 GB, free: 16.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/18.39, allocations: 0 / 7.707 GB, free: 16.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001517/18.4, allocations: 0.6998 MB / 7.708 GB, free: 16.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/18.4, allocations: 7.531 kB / 7.708 GB, free: 16.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/18.4, allocations: 4 kB / 7.708 GB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/18.4, allocations: 108.5 kB / 7.708 GB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/18.4, allocations: 126.8 kB / 7.708 GB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/18.4, allocations: 3.279 MB / 7.711 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/18.4, allocations: 41.7 kB / 7.711 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/18.4, allocations: 31.23 kB / 7.711 GB, free: 13.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003139/18.4, allocations: 197.2 kB / 7.712 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/18.4, allocations: 46.47 kB / 7.712 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/18.4, allocations: 0.7259 MB / 7.712 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/18.4, allocations: 3.469 kB / 7.712 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/18.4, allocations: 2.594 kB / 7.712 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/18.4, allocations: 0.7849 MB / 7.713 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/18.4, allocations: 1.399 MB / 7.714 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/18.4, allocations: 4.031 kB / 7.714 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/18.4, allocations: 116.9 kB / 7.715 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008489/18.41, allocations: 157.6 kB / 7.715 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/18.41, allocations: 20.47 kB / 7.715 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004002/18.41, allocations: 0.6522 MB / 7.715 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/18.41, allocations: 2.656 kB / 7.715 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/18.41, allocations: 1.004 MB / 7.716 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/18.41, allocations: 137.1 kB / 7.717 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/18.41, allocations: 11.06 kB / 7.717 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/18.41, allocations: 40.47 kB / 7.717 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/18.41, allocations: 41.14 kB / 7.717 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/18.41, allocations: 34.59 kB / 7.717 GB, free: 11.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002344/18.41, allocations: 238.4 kB / 7.717 GB, free: 11.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/18.41, allocations: 3.938 kB / 7.717 GB, free: 11.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008345/18.42, allocations: 1.97 MB / 7.719 GB, free: 11.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01386/18.43, allocations: 3.092 MB / 7.722 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/18.43, allocations: 0.7998 MB / 7.723 GB, free: 9.992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/18.43, allocations: 0.5 kB / 7.723 GB, free: 9.992 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005349/18.43, allocations: 317.5 kB / 7.723 GB, free: 9.957 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/18.43, allocations: 282.2 kB / 7.723 GB, free: 9.938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/18.44, allocations: 1.39 MB / 7.725 GB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/18.44, allocations: 0.8565 MB / 7.725 GB, free: 8.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005739/18.44, allocations: 135.9 kB / 7.725 GB, free: 8.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/18.44, allocations: 61.06 kB / 7.726 GB, free: 8.516 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/18.44, allocations: 0 / 7.726 GB, free: 8.516 MB / 426.7 MB Notification: Performance of Templates: time 0.3368/18.77, allocations: 65.39 MB / 7.789 GB, free: 50.17 MB / 426.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)