Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation") translateModel(Annex60.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3521/0.3521, allocations: 54.41 MB / 61.89 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001165/0.001164, allocations: 179.6 kB / 75.61 MB, free: 0.7773 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.72/1.72, allocations: 194.3 MB / 283.5 MB, free: 14.87 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001878/0.001878, allocations: 112.7 kB / 341.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.259e-05, allocations: 4.219 kB / 405.5 MB, free: 4.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4715, allocations: 57.65 MB / 463.1 MB, free: 51.64 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.978/6.45, allocations: 2.115 GB / 2.567 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/6.45, allocations: 67.97 kB / 2.568 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.205/7.655, allocations: 236.3 MB / 2.798 GB, free: 113 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/7.655, allocations: 0 / 2.798 GB, free: 113 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.663e-05/7.655, allocations: 11.12 kB / 2.798 GB, free: 113 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001532/7.657, allocations: 0.6755 MB / 2.799 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/7.657, allocations: 10.81 kB / 2.799 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003593/7.657, allocations: 53.53 kB / 2.799 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/7.658, allocations: 327.5 kB / 2.799 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/7.658, allocations: 14.38 kB / 2.799 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/7.658, allocations: 21.62 kB / 2.799 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006114/7.659, allocations: 312.4 kB / 2.8 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006674/7.659, allocations: 333.8 kB / 2.8 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/7.659, allocations: 0.6562 kB / 2.8 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/7.659, allocations: 2.156 kB / 2.8 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/7.659, allocations: 7.656 kB / 2.8 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/7.662, allocations: 1.478 MB / 2.801 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/7.663, allocations: 260.6 kB / 2.802 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/7.663, allocations: 145.9 kB / 2.802 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/7.663, allocations: 8.734 kB / 2.802 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/7.663, allocations: 46.84 kB / 2.802 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 5.27e-06/7.663, allocations: 2.906 kB / 2.802 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002716/7.666, allocations: 1.027 MB / 2.803 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/7.666, allocations: 55.19 kB / 2.803 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/7.666, allocations: 212.4 kB / 2.803 GB, free: 111 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/7.666, allocations: 28.86 kB / 2.803 GB, free: 111 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/7.666, allocations: 198.5 kB / 2.803 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/7.667, allocations: 132.7 kB / 2.803 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/7.667, allocations: 0.5312 kB / 2.803 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001583/7.667, allocations: 339.8 kB / 2.804 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/7.667, allocations: 124.5 kB / 2.804 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/7.667, allocations: 187.3 kB / 2.804 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/7.668, allocations: 153.5 kB / 2.804 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/7.668, allocations: 3.688 kB / 2.804 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007037/7.668, allocations: 430.2 kB / 2.805 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/7.668, allocations: 3.906 kB / 2.805 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/7.668, allocations: 3.359 kB / 2.805 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/7.669, allocations: 44.61 kB / 2.805 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/7.669, allocations: 90.77 kB / 2.805 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/7.672, allocations: 2.517 MB / 2.807 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/7.672, allocations: 33.66 kB / 2.807 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/7.672, allocations: 14.47 kB / 2.807 GB, free: 108 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003061/7.672, allocations: 119.6 kB / 2.807 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/7.672, allocations: 30.53 kB / 2.807 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/7.673, allocations: 42.06 kB / 2.807 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/7.673, allocations: 3.75 kB / 2.807 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/7.673, allocations: 3.906 kB / 2.807 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006913/7.673, allocations: 0.5502 MB / 2.808 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/7.675, allocations: 0.9383 MB / 2.809 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/7.675, allocations: 0.7031 kB / 2.809 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/7.675, allocations: 95.45 kB / 2.809 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/7.675, allocations: 5.688 kB / 2.809 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/7.675, allocations: 7.922 kB / 2.809 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/7.675, allocations: 5.656 kB / 2.809 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/7.675, allocations: 7 kB / 2.809 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/7.676, allocations: 0.6986 MB / 2.81 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/7.676, allocations: 156.9 kB / 2.81 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/7.676, allocations: 10.98 kB / 2.81 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/7.677, allocations: 20.84 kB / 2.81 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/7.677, allocations: 24.64 kB / 2.81 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/7.677, allocations: 25.44 kB / 2.81 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001543/7.677, allocations: 170.3 kB / 2.81 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.51e-07/7.677, allocations: 0 / 2.81 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008627/7.678, allocations: 177.3 kB / 2.81 GB, free: 106.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,volume.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/7.68, allocations: 1.164 MB / 2.811 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008221/7.681, allocations: 0.5226 MB / 2.812 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/7.681, allocations: 0 / 2.812 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/7.681, allocations: 173.2 kB / 2.812 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/7.682, allocations: 175.4 kB / 2.812 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/7.683, allocations: 0.7605 MB / 2.813 GB, free: 106 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/7.684, allocations: 0.829 MB / 2.814 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004193/7.684, allocations: 90.17 kB / 2.814 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/7.684, allocations: 38.91 kB / 2.814 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.91e-07/7.684, allocations: 0 / 2.814 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.02766/7.712, allocations: 13.38 MB / 2.827 GB, free: 104.9 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.pipe 2>&1)