Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001016/0.001016, allocations: 182.8 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.458/1.458, allocations: 194.2 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001649/0.00165, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.018e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09564, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/1.58, allocations: 0.636 GB / 0.9773 GB, free: 58.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.58, allocations: 76.61 kB / 0.9774 GB, free: 58.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375/2.956, allocations: 473 MB / 1.439 GB, free: 89.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.936e-06/2.956, allocations: 0 / 1.439 GB, free: 89.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/2.956, allocations: 8 kB / 1.439 GB, free: 89.95 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001244/2.957, allocations: 0.7076 MB / 1.44 GB, free: 89.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/2.957, allocations: 8.031 kB / 1.44 GB, free: 89.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004678/2.958, allocations: 61.23 kB / 1.44 GB, free: 89.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/2.958, allocations: 284.3 kB / 1.44 GB, free: 88.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/2.958, allocations: 16.56 kB / 1.44 GB, free: 88.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/2.958, allocations: 32 kB / 1.44 GB, free: 88.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/2.959, allocations: 325.6 kB / 1.441 GB, free: 88.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/2.959, allocations: 3.906 kB / 1.441 GB, free: 88.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/2.959, allocations: 12 kB / 1.441 GB, free: 88.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/2.959, allocations: 8 kB / 1.441 GB, free: 88.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/2.959, allocations: 211.6 kB / 1.441 GB, free: 88.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009211/2.968, allocations: 5.509 MB / 1.446 GB, free: 83.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/2.968, allocations: 182.2 kB / 1.446 GB, free: 82.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/2.969, allocations: 84.3 kB / 1.447 GB, free: 82.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007172/2.976, allocations: 3.489 MB / 1.45 GB, free: 79.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/2.976, allocations: 38.75 kB / 1.45 GB, free: 79.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.516e-06/2.976, allocations: 0 / 1.45 GB, free: 79.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.005059/2.981, allocations: 1.268 MB / 1.451 GB, free: 78.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/2.981, allocations: 59.41 kB / 1.451 GB, free: 78.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/2.981, allocations: 230 kB / 1.452 GB, free: 78.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/2.981, allocations: 29.7 kB / 1.452 GB, free: 78.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/2.981, allocations: 189.8 kB / 1.452 GB, free: 78.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/2.981, allocations: 90.14 kB / 1.452 GB, free: 78.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/2.981, allocations: 8 kB / 1.452 GB, free: 78.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/2.981, allocations: 338.5 kB / 1.452 GB, free: 77.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/2.982, allocations: 91.78 kB / 1.452 GB, free: 77.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/2.982, allocations: 180.8 kB / 1.452 GB, free: 77.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/2.982, allocations: 131.5 kB / 1.453 GB, free: 77.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/2.982, allocations: 0 / 1.453 GB, free: 77.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005418/2.982, allocations: 379.2 kB / 1.453 GB, free: 76.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/2.983, allocations: 12.08 kB / 1.453 GB, free: 76.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/2.983, allocations: 8 kB / 1.453 GB, free: 76.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004111/2.987, allocations: 452.7 kB / 1.453 GB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/2.987, allocations: 78.47 kB / 1.453 GB, free: 76.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/2.988, allocations: 1.866 MB / 1.455 GB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/2.988, allocations: 28.09 kB / 1.455 GB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/2.988, allocations: 12 kB / 1.455 GB, free: 74.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/2.988, allocations: 128.6 kB / 1.455 GB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/2.988, allocations: 31.62 kB / 1.455 GB, free: 74.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006055/2.989, allocations: 495 kB / 1.456 GB, free: 73.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/2.989, allocations: 0 / 1.456 GB, free: 73.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/2.989, allocations: 4 kB / 1.456 GB, free: 73.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004555/2.989, allocations: 0.7194 MB / 1.457 GB, free: 73.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009618/2.99, allocations: 0.9369 MB / 1.458 GB, free: 72.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/2.99, allocations: 6.578 kB / 1.458 GB, free: 72.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/2.991, allocations: 47.56 kB / 1.458 GB, free: 72.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/2.992, allocations: 298.3 kB / 1.458 GB, free: 71.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/2.992, allocations: 15.56 kB / 1.458 GB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003287/2.992, allocations: 0.626 MB / 1.458 GB, free: 71.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.992, allocations: 7.969 kB / 1.458 GB, free: 71.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/2.993, allocations: 0.7378 MB / 1.459 GB, free: 70.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/2.993, allocations: 104.5 kB / 1.459 GB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/2.993, allocations: 4 kB / 1.459 GB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/2.993, allocations: 19.91 kB / 1.459 GB, free: 70.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/2.994, allocations: 19.7 kB / 1.459 GB, free: 70.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/2.994, allocations: 11.7 kB / 1.459 GB, free: 70.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001425/2.994, allocations: 182.6 kB / 1.46 GB, free: 70.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/2.994, allocations: 0 / 1.46 GB, free: 70.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008824/2.995, allocations: 207.3 kB / 1.46 GB, free: 70.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/2.996, allocations: 485.5 kB / 1.46 GB, free: 69.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006487/2.997, allocations: 437.9 kB / 1.461 GB, free: 69.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.997, allocations: 0 / 1.461 GB, free: 69.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/2.997, allocations: 234.3 kB / 1.461 GB, free: 69.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/2.998, allocations: 163.7 kB / 1.461 GB, free: 68.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/2.999, allocations: 0.5768 MB / 1.462 GB, free: 68.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/2.999, allocations: 0.7841 MB / 1.462 GB, free: 67.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002199/2.999, allocations: 55.59 kB / 1.462 GB, free: 67.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/2.999, allocations: 27.44 kB / 1.462 GB, free: 67.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/2.999, allocations: 4 kB / 1.462 GB, free: 67.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01433/3.014, allocations: 11.24 MB / 1.473 GB, free: 57.52 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)