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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 194.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3929/0.3929, allocations: 54.93 MB / 324.4 MB, free: 108 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 60.33 kB / 394.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1675, allocations: 59.59 MB / 454.4 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTestImplementation): time 0.4603/0.6279, allocations: 163.1 MB / 0.603 GB, free: 4.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.6314, allocations: 2.547 MB / 0.6055 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.6318, allocations: 11.94 kB / 0.6055 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000832/0.6326, allocations: 227 kB / 0.6057 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000853/0.6335, allocations: 414 kB / 0.6061 GB, free: 1.578 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.6342, allocations: 308.3 kB / 0.6064 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.6354, allocations: 1.064 MB / 0.6074 GB, free: 224 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.6357, allocations: 139.5 kB / 0.6076 GB, free: 88 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.6372, allocations: 0.6909 MB / 0.6082 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.6377, allocations: 394.7 kB / 0.6086 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.183e-05/0.6377, allocations: 48 kB / 0.6087 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.6379, allocations: 59.98 kB / 0.6087 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.6381, allocations: 207.6 kB / 0.6089 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.6385, allocations: 286.9 kB / 0.6092 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006283/0.6391, allocations: 0.666 MB / 0.6098 GB, free: 13.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.6391, allocations: 8 kB / 0.6098 GB, free: 13.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6391, allocations: 0 / 0.6098 GB, free: 13.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.6391, allocations: 0 / 0.6098 GB, free: 13.74 MB / 494.1 MB 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.001257/0.6404, allocations: 0.7184 MB / 0.6105 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6404, allocations: 8.031 kB / 0.6105 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.6408, allocations: 59.42 kB / 0.6106 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.6412, allocations: 330 kB / 0.6109 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.6413, allocations: 29 kB / 0.6109 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.6413, allocations: 36 kB / 0.611 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.642, allocations: 410.9 kB / 0.6114 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.642, allocations: 3.984 kB / 0.6114 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.6421, allocations: 16 kB / 0.6114 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.6421, allocations: 12 kB / 0.6114 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005568/0.6426, allocations: 339.8 kB / 0.6117 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.6449, allocations: 1.562 MB / 0.6133 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.6454, allocations: 296.6 kB / 0.6135 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.6456, allocations: 164.1 kB / 0.6137 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.6456, allocations: 12.25 kB / 0.6137 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6457, allocations: 42.78 kB / 0.6137 GB, free: 9.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 3.477e-06/0.6457, allocations: 0 / 0.6137 GB, free: 9.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.002858/0.6485, allocations: 1.43 MB / 0.6151 GB, free: 7.965 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.6486, allocations: 55.41 kB / 0.6152 GB, free: 7.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.6489, allocations: 315 kB / 0.6155 GB, free: 7.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.649, allocations: 29.7 kB / 0.6155 GB, free: 7.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.6491, allocations: 208.4 kB / 0.6157 GB, free: 7.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.84e-05/0.6492, allocations: 130 kB / 0.6158 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6494, allocations: 74.05 kB / 0.6159 GB, free: 7.133 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6495, allocations: 350.7 kB / 0.6163 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.6498, allocations: 141.4 kB / 0.6164 GB, free: 6.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.65, allocations: 196.9 kB / 0.6166 GB, free: 6.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.6505, allocations: 354.9 kB / 0.6169 GB, free: 6.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6505, allocations: 0 / 0.6169 GB, free: 6.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000644/0.6512, allocations: 472 kB / 0.6174 GB, free: 5.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.6512, allocations: 12.03 kB / 0.6174 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6512, allocations: 0 / 0.6174 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.6513, allocations: 41.7 kB / 0.6174 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.6518, allocations: 87.89 kB / 0.6175 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.654, allocations: 2.822 MB / 0.6203 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.6543, allocations: 36.02 kB / 0.6203 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.6543, allocations: 20.48 kB / 0.6203 GB, free: 2.312 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.6546, allocations: 181.8 kB / 0.6205 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/0.6547, allocations: 35.62 kB / 0.6205 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.6548, allocations: 47.03 kB / 0.6206 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6548, allocations: 7.984 kB / 0.6206 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6548, allocations: 4 kB / 0.6206 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006355/0.6555, allocations: 0.5855 MB / 0.6211 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.657, allocations: 1.048 MB / 0.6222 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.657, allocations: 0 / 0.6222 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.6574, allocations: 95.88 kB / 0.6223 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6574, allocations: 4 kB / 0.6223 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.6575, allocations: 12.19 kB / 0.6223 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6575, allocations: 4 kB / 0.6223 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6575, allocations: 1.812 kB / 0.6223 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008617/0.6584, allocations: 0.6881 MB / 0.623 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.6586, allocations: 160.7 kB / 0.6231 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.6586, allocations: 12 kB / 0.6231 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.6591, allocations: 31.88 kB / 0.6231 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.6591, allocations: 32.47 kB / 0.6232 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.6592, allocations: 19.98 kB / 0.6232 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002253/0.6594, allocations: 225.9 kB / 0.6234 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6594, allocations: 0 / 0.6234 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004825/0.6599, allocations: 131.9 kB / 0.6235 GB, free: 14.8 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.6601, allocations: 111.1 kB / 0.6236 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000948/0.661, allocations: 0.6042 MB / 0.6242 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.661, allocations: 4 kB / 0.6242 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.6613, allocations: 175.7 kB / 0.6244 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.6626, allocations: 253.8 kB / 0.6246 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.6648, allocations: 1.173 MB / 0.6258 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.6653, allocations: 0.8274 MB / 0.6266 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000458/0.6657, allocations: 103.2 kB / 0.6267 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.6659, allocations: 39.44 kB / 0.6267 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of SimCode: time 4.8e-07/0.6659, allocations: 0 / 0.6267 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.01539/0.6813, allocations: 9.073 MB / 0.6356 GB, free: 2.523 MB / 0.4981 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)