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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001108/0.001108, allocations: 189.5 kB / 16.14 MB, free: 6.703 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.467/1.467, allocations: 205.1 MB / 222 MB, free: 4.965 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4315/0.4315, allocations: 54.93 MB / 324.3 MB, free: 4 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.001594/0.001594, allocations: 67.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1642, allocations: 59.59 MB / 454.3 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTestImplementation): time 0.4963/0.6606, allocations: 163.1 MB / 0.6029 GB, free: 4.766 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.6646, allocations: 2.558 MB / 0.6054 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.6649, allocations: 4 kB / 0.6054 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009336/0.6659, allocations: 218.9 kB / 0.6056 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.667, allocations: 435.5 kB / 0.606 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000917/0.6679, allocations: 307.8 kB / 0.6063 GB, free: 1.262 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.6698, allocations: 1.61 MB / 0.6079 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.6701, allocations: 115.5 kB / 0.608 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.6722, allocations: 0.6285 MB / 0.6086 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00058/0.6728, allocations: 390.6 kB / 0.609 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.6729, allocations: 24 kB / 0.609 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.6731, allocations: 36 kB / 0.6091 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.6734, allocations: 187.5 kB / 0.6092 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.6738, allocations: 255 kB / 0.6095 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000793/0.6746, allocations: 0.6582 MB / 0.6101 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.6746, allocations: 0 / 0.6101 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6746, allocations: 0 / 0.6101 GB, free: 13.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.6746, allocations: 0 / 0.6101 GB, free: 13.38 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.001671/0.6763, allocations: 0.7224 MB / 0.6108 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6764, allocations: 8.031 kB / 0.6108 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.6767, allocations: 59.98 kB / 0.6109 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.6772, allocations: 330 kB / 0.6112 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.6773, allocations: 29 kB / 0.6112 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.6773, allocations: 36 kB / 0.6113 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.678, allocations: 410.4 kB / 0.6117 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.6781, allocations: 0 / 0.6117 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.6781, allocations: 23.47 kB / 0.6117 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.6782, allocations: 8 kB / 0.6117 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.6788, allocations: 347.8 kB / 0.612 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.6812, allocations: 1.558 MB / 0.6135 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.6817, allocations: 300.6 kB / 0.6138 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.6819, allocations: 157.9 kB / 0.614 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.682, allocations: 8.281 kB / 0.614 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.682, allocations: 46.72 kB / 0.614 GB, free: 9.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.682, allocations: 0 / 0.614 GB, free: 9.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.003307/0.6853, allocations: 1.428 MB / 0.6154 GB, free: 7.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.6854, allocations: 55.41 kB / 0.6155 GB, free: 7.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.6858, allocations: 315 kB / 0.6158 GB, free: 7.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.6859, allocations: 33.7 kB / 0.6158 GB, free: 7.172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.686, allocations: 192.5 kB / 0.616 GB, free: 6.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.6862, allocations: 138 kB / 0.6161 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.6863, allocations: 74.03 kB / 0.6162 GB, free: 6.766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.6865, allocations: 350.8 kB / 0.6165 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.6867, allocations: 140.8 kB / 0.6167 GB, free: 6.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.687, allocations: 197 kB / 0.6169 GB, free: 6.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.6876, allocations: 354.9 kB / 0.6172 GB, free: 5.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6876, allocations: 1 kB / 0.6172 GB, free: 5.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007791/0.6884, allocations: 466.8 kB / 0.6176 GB, free: 5.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6884, allocations: 8 kB / 0.6176 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6884, allocations: 0 / 0.6176 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.6886, allocations: 41.83 kB / 0.6177 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.689, allocations: 95.83 kB / 0.6178 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.6915, allocations: 2.625 MB / 0.6203 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.6919, allocations: 35.98 kB / 0.6204 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.692, allocations: 13.03 kB / 0.6204 GB, free: 2.164 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.0003373/0.6923, allocations: 185.7 kB / 0.6206 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.6924, allocations: 39.56 kB / 0.6206 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.6925, allocations: 54.97 kB / 0.6207 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6926, allocations: 4 kB / 0.6207 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.6926, allocations: 0 / 0.6207 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006931/0.6933, allocations: 0.5805 MB / 0.6212 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.6948, allocations: 1.047 MB / 0.6223 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6948, allocations: 1 kB / 0.6223 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.6953, allocations: 87.89 kB / 0.6223 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6953, allocations: 4 kB / 0.6223 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.6953, allocations: 12.64 kB / 0.6224 GB, free: 0 / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.71e-05/0.6953, allocations: 4.047 kB / 0.6224 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6954, allocations: 12.06 kB / 0.6224 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.6963, allocations: 0.6723 MB / 0.623 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.6965, allocations: 160.7 kB / 0.6232 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.6966, allocations: 12.69 kB / 0.6232 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.697, allocations: 35.95 kB / 0.6232 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.6971, allocations: 36.81 kB / 0.6233 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.6971, allocations: 27.98 kB / 0.6233 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002336/0.6973, allocations: 229.9 kB / 0.6235 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6974, allocations: 0 / 0.6235 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004988/0.6979, allocations: 124 kB / 0.6236 GB, free: 14.65 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.0002189/0.6981, allocations: 115.7 kB / 0.6237 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000899/0.699, allocations: 0.5603 MB / 0.6243 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.699, allocations: 3.938 kB / 0.6243 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.6993, allocations: 179.7 kB / 0.6245 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.7006, allocations: 243.2 kB / 0.6247 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.7025, allocations: 1.176 MB / 0.6258 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.703, allocations: 0.8197 MB / 0.6266 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004713/0.7035, allocations: 95.25 kB / 0.6267 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.7036, allocations: 39.42 kB / 0.6268 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.385e-06/0.7036, allocations: 0 / 0.6268 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.01481/0.7184, allocations: 8.732 MB / 0.6353 GB, free: 2.754 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)