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.2827/0.2827, allocations: 54.34 MB / 66.9 MB, free: 6.109 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.001053/0.001053, allocations: 180.4 kB / 80.71 MB, free: 15.39 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.892/1.892, allocations: 194.2 MB / 288.6 MB, free: 15.07 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.001787/0.001787, allocations: 118.5 kB / 346.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.958e-05, allocations: 4 kB / 412.4 MB, free: 21.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 57.64 MB / 470 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.852/5.99, allocations: 2.116 GB / 2.575 GB, free: 40.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/5.99, allocations: 71.97 kB / 2.575 GB, free: 40.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8664/6.857, allocations: 239.1 MB / 2.808 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/6.857, allocations: 0 / 2.808 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.238e-05/6.857, allocations: 15.94 kB / 2.808 GB, free: 0.7891 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.001134/6.858, allocations: 0.67 MB / 2.809 GB, free: 76 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/6.858, allocations: 12.03 kB / 2.809 GB, free: 64 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/6.858, allocations: 59.45 kB / 2.809 GB, free: 4 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.371/7.229, allocations: 317.5 kB / 2.809 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/7.229, allocations: 28.34 kB / 2.809 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/7.23, allocations: 37.06 kB / 2.809 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009706/7.231, allocations: 387.4 kB / 2.81 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/7.231, allocations: 0 / 2.81 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/7.231, allocations: 19.44 kB / 2.81 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/7.231, allocations: 13.05 kB / 2.81 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007269/7.231, allocations: 334.3 kB / 2.81 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/7.234, allocations: 1.573 MB / 2.812 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/7.234, allocations: 285 kB / 2.812 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/7.235, allocations: 155.7 kB / 2.812 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/7.235, allocations: 9.109 kB / 2.812 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/7.235, allocations: 41.19 kB / 2.812 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.926e-06/7.235, allocations: 0 / 2.812 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002846/7.238, allocations: 1.156 MB / 2.813 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/7.238, allocations: 55.09 kB / 2.813 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/7.238, allocations: 280.3 kB / 2.814 GB, free: 110 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/7.238, allocations: 34.17 kB / 2.814 GB, free: 110 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/7.238, allocations: 198.2 kB / 2.814 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/7.238, allocations: 138.7 kB / 2.814 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/7.238, allocations: 10.06 kB / 2.814 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/7.239, allocations: 341.1 kB / 2.814 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/7.239, allocations: 134.5 kB / 2.814 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/7.239, allocations: 189.5 kB / 2.815 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/7.239, allocations: 168.1 kB / 2.815 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/7.239, allocations: 0 / 2.815 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007728/7.24, allocations: 469.2 kB / 2.815 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/7.24, allocations: 6.219 kB / 2.815 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/7.24, allocations: 1.766 kB / 2.815 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/7.24, allocations: 49.44 kB / 2.815 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/7.241, allocations: 91.67 kB / 2.815 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/7.242, allocations: 2.616 MB / 2.818 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/7.243, allocations: 34.16 kB / 2.818 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/7.243, allocations: 19.03 kB / 2.818 GB, free: 106.8 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 () * 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.0001257/7.243, allocations: 132.6 kB / 2.818 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/7.243, allocations: 35.16 kB / 2.818 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/7.243, allocations: 52.84 kB / 2.818 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/7.243, allocations: 7.672 kB / 2.818 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/7.243, allocations: 4.781 kB / 2.818 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006868/7.244, allocations: 0.5683 MB / 2.819 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/7.246, allocations: 1.038 MB / 2.82 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/7.246, allocations: 2.844 kB / 2.82 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/7.246, allocations: 93.27 kB / 2.82 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/7.246, allocations: 4.188 kB / 2.82 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/7.246, allocations: 13.12 kB / 2.82 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/7.246, allocations: 5.516 kB / 2.82 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/7.246, allocations: 2.25 kB / 2.82 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009709/7.247, allocations: 0.7349 MB / 2.821 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/7.247, allocations: 161.6 kB / 2.821 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/7.248, allocations: 16.45 kB / 2.821 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/7.248, allocations: 35.56 kB / 2.821 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/7.248, allocations: 27.59 kB / 2.821 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/7.248, allocations: 20.48 kB / 2.821 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002791/7.248, allocations: 226.1 kB / 2.821 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/7.248, allocations: 0 / 2.821 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001048/7.249, allocations: 219.2 kB / 2.821 GB, free: 105.5 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.001961/7.251, allocations: 1.021 MB / 2.822 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000999/7.252, allocations: 0.5495 MB / 2.823 GB, free: 105 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/7.252, allocations: 4.875 kB / 2.823 GB, free: 105 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/7.253, allocations: 171.7 kB / 2.823 GB, free: 105 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/7.254, allocations: 241.8 kB / 2.823 GB, free: 105 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/7.256, allocations: 0.7851 MB / 2.824 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/7.256, allocations: 0.8353 MB / 2.825 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004692/7.257, allocations: 100.3 kB / 2.825 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/7.257, allocations: 43.11 kB / 2.825 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/7.257, allocations: 0 / 2.825 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.03716/7.294, allocations: 24.55 MB / 2.849 GB, free: 103.4 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)