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.3095/0.3095, allocations: 55.01 MB / 69.96 MB, free: 8.684 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.001168/0.001167, allocations: 191.5 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.912/1.912, allocations: 194.4 MB / 292.3 MB, free: 3.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001754/0.001753, allocations: 116.6 kB / 350.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004332, allocations: 12 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 57.65 MB / 476.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.037/6.189, allocations: 2.116 GB / 2.581 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/6.189, allocations: 70.59 kB / 2.581 GB, free: 16.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.038/7.227, allocations: 239.4 MB / 2.815 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/7.227, allocations: 0 / 2.815 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.544e-05/7.227, allocations: 8.656 kB / 2.815 GB, free: 115.1 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.001316/7.229, allocations: 0.7142 MB / 2.816 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/7.229, allocations: 9.062 kB / 2.816 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/7.229, allocations: 54.78 kB / 2.816 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/7.23, allocations: 331.4 kB / 2.816 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/7.23, allocations: 32.55 kB / 2.816 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/7.23, allocations: 36.47 kB / 2.816 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/7.23, allocations: 398.9 kB / 2.817 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/7.23, allocations: 1.406 kB / 2.817 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/7.23, allocations: 16.75 kB / 2.817 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/7.23, allocations: 13.31 kB / 2.817 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/7.231, allocations: 342.2 kB / 2.817 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/7.233, allocations: 1.571 MB / 2.818 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/7.234, allocations: 283.5 kB / 2.819 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/7.234, allocations: 7.844 kB / 2.819 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/7.234, allocations: 42.34 kB / 2.819 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/7.234, allocations: 4.719 kB / 2.819 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002815/7.237, allocations: 1.425 MB / 2.82 GB, free: 113 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/7.237, allocations: 58.94 kB / 2.82 GB, free: 113 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/7.237, allocations: 282.5 kB / 2.821 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/7.237, allocations: 33.52 kB / 2.821 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/7.237, allocations: 199.3 kB / 2.821 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/7.237, allocations: 135.9 kB / 2.821 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/7.237, allocations: 9.812 kB / 2.821 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/7.237, allocations: 340.8 kB / 2.821 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/7.237, allocations: 135.4 kB / 2.821 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/7.238, allocations: 199.7 kB / 2.822 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/7.238, allocations: 169.4 kB / 2.822 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/7.238, allocations: 0 / 2.822 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006645/7.239, allocations: 464.5 kB / 2.822 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/7.239, allocations: 11.17 kB / 2.822 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/7.239, allocations: 1.062 kB / 2.822 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/7.239, allocations: 45.53 kB / 2.822 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/7.239, allocations: 92.44 kB / 2.822 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/7.241, allocations: 2.634 MB / 2.825 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/7.241, allocations: 34.38 kB / 2.825 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/7.241, allocations: 17.42 kB / 2.825 GB, free: 109.7 MB / 0.4948 GB 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 () * Number of clocked 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.0002565/7.242, allocations: 180.1 kB / 2.825 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/7.242, allocations: 41.52 kB / 2.825 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/7.242, allocations: 54.84 kB / 2.825 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/7.242, allocations: 3.938 kB / 2.825 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/7.242, allocations: 0 / 2.825 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006328/7.242, allocations: 0.5782 MB / 2.826 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/7.244, allocations: 1.04 MB / 2.827 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/7.244, allocations: 0 / 2.827 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/7.245, allocations: 93.69 kB / 2.827 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/7.245, allocations: 3.875 kB / 2.827 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/7.245, allocations: 11.34 kB / 2.827 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/7.245, allocations: 5.594 kB / 2.827 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/7.245, allocations: 11.05 kB / 2.827 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007903/7.246, allocations: 0.7459 MB / 2.828 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/7.246, allocations: 160.2 kB / 2.828 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/7.246, allocations: 12.56 kB / 2.828 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/7.246, allocations: 32.27 kB / 2.828 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/7.246, allocations: 33.36 kB / 2.828 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/7.246, allocations: 24.45 kB / 2.828 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001936/7.247, allocations: 225.7 kB / 2.828 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.247, allocations: 0 / 2.828 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009426/7.247, allocations: 214.1 kB / 2.828 GB, free: 108.3 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 () * Number of clocked 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.001346/7.249, allocations: 1.026 MB / 2.829 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007465/7.25, allocations: 0.578 MB / 2.83 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/7.25, allocations: 0 / 2.83 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/7.25, allocations: 172.2 kB / 2.83 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/7.251, allocations: 234.7 kB / 2.83 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/7.253, allocations: 1.224 MB / 2.831 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/7.253, allocations: 0.8369 MB / 2.832 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004477/7.253, allocations: 97.34 kB / 2.832 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/7.254, allocations: 40.14 kB / 2.832 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/7.254, allocations: 0 / 2.832 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.02727/7.281, allocations: 21.68 MB / 2.854 GB, free: 105.7 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)