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.0009459/0.0009459, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001083/0.001083, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 222.1 MB, free: 5.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.456/0.456, allocations: 55.01 MB / 325.4 MB, free: 0.6992 MB / 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.0006137/0.0006138, allocations: 12 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3791, allocations: 60.72 MB / 457.4 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTestImplementation): time 0.2178/0.5969, allocations: 150.1 MB / 0.5933 GB, free: 1.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006085/0.6031, allocations: 2.402 MB / 0.5956 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005344/0.6037, allocations: 8 kB / 0.5956 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.6049, allocations: 174.9 kB / 0.5958 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.6068, allocations: 398.1 kB / 0.5962 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.6083, allocations: 265.1 kB / 0.5964 GB, free: 13.87 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.6107, allocations: 1.325 MB / 0.5977 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.6111, allocations: 93.59 kB / 0.5978 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/0.6137, allocations: 0.5797 MB / 0.5984 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00093/0.6146, allocations: 366.7 kB / 0.5987 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.6147, allocations: 24 kB / 0.5987 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.615, allocations: 28 kB / 0.5988 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.6154, allocations: 179.5 kB / 0.5989 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.6156, allocations: 121.5 kB / 0.599 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000956/0.6166, allocations: 0.5162 MB / 0.5995 GB, free: 10.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.6166, allocations: 4 kB / 0.5996 GB, free: 10.63 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.6166, allocations: 0 / 0.5996 GB, free: 10.63 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.6167, allocations: 0 / 0.5996 GB, free: 10.63 MB / 478.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.001709/0.6184, allocations: 0.6334 MB / 0.6002 GB, free: 9.953 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.6184, allocations: 8.031 kB / 0.6002 GB, free: 9.945 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005025/0.619, allocations: 55.52 kB / 0.6002 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.6196, allocations: 327.7 kB / 0.6005 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.6197, allocations: 29 kB / 0.6006 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.6198, allocations: 38.72 kB / 0.6006 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.6211, allocations: 398.4 kB / 0.601 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.6211, allocations: 4 kB / 0.601 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.6212, allocations: 23.94 kB / 0.601 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.6213, allocations: 8 kB / 0.601 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000959/0.6222, allocations: 351.7 kB / 0.6014 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004314/0.6266, allocations: 1.558 MB / 0.6029 GB, free: 6.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.6275, allocations: 280.8 kB / 0.6031 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.628, allocations: 165.8 kB / 0.6033 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.673e-05/0.6281, allocations: 8.281 kB / 0.6033 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.419e-05/0.6281, allocations: 43.53 kB / 0.6034 GB, free: 6.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 5.06e-06/0.6282, allocations: 0 / 0.6034 GB, free: 6.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005686/0.6339, allocations: 1.441 MB / 0.6048 GB, free: 4.949 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.634, allocations: 55.41 kB / 0.6048 GB, free: 4.883 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.6348, allocations: 318.8 kB / 0.6051 GB, free: 4.562 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/0.6349, allocations: 33.7 kB / 0.6052 GB, free: 4.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.6352, allocations: 189.2 kB / 0.6053 GB, free: 4.336 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.6354, allocations: 137.9 kB / 0.6055 GB, free: 4.199 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.6354, allocations: 16 kB / 0.6055 GB, free: 4.184 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.6357, allocations: 346.8 kB / 0.6058 GB, free: 3.836 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.6361, allocations: 136.8 kB / 0.6059 GB, free: 3.703 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/0.6366, allocations: 189 kB / 0.6061 GB, free: 3.508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.6372, allocations: 169.8 kB / 0.6063 GB, free: 3.344 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.6373, allocations: 5.031 kB / 0.6063 GB, free: 3.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001431/0.6387, allocations: 463.1 kB / 0.6067 GB, free: 2.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.6387, allocations: 4 kB / 0.6067 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6388, allocations: 7.938 kB / 0.6067 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.639, allocations: 49.72 kB / 0.6068 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/0.6399, allocations: 91.89 kB / 0.6069 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.6439, allocations: 2.613 MB / 0.6094 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.6446, allocations: 41.06 kB / 0.6095 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.6447, allocations: 16 kB / 0.6095 GB, free: 15.79 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 (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.0004602/0.6452, allocations: 177.7 kB / 0.6097 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.6454, allocations: 47.56 kB / 0.6097 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.6456, allocations: 48.92 kB / 0.6097 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.6456, allocations: 4 kB / 0.6097 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/0.6456, allocations: 3.984 kB / 0.6098 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/0.6468, allocations: 0.565 MB / 0.6103 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.6496, allocations: 1.053 MB / 0.6113 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.6497, allocations: 0.8125 kB / 0.6113 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008624/0.6505, allocations: 91.89 kB / 0.6114 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.6506, allocations: 0 / 0.6114 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.6506, allocations: 16 kB / 0.6114 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.6507, allocations: 3.938 kB / 0.6114 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6507, allocations: 9.188 kB / 0.6114 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.6524, allocations: 0.6765 MB / 0.6121 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.6528, allocations: 160.7 kB / 0.6123 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.6529, allocations: 8 kB / 0.6123 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007667/0.6537, allocations: 35.88 kB / 0.6123 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.6538, allocations: 31.86 kB / 0.6123 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/0.6539, allocations: 19.98 kB / 0.6124 GB, free: 12.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004383/0.6544, allocations: 229.9 kB / 0.6126 GB, free: 12.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 4e-07/0.6544, allocations: 0 / 0.6126 GB, free: 12.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008936/0.6553, allocations: 124 kB / 0.6127 GB, free: 12.3 MB / 494.1 MB 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.0002456/0.6556, allocations: 118.7 kB / 0.6128 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.6571, allocations: 0.5679 MB / 0.6134 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6571, allocations: 0 / 0.6134 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.6575, allocations: 175.8 kB / 0.6135 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.66, allocations: 248 kB / 0.6138 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.6635, allocations: 1.211 MB / 0.6149 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006508/0.6641, allocations: 0.8275 MB / 0.6158 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008641/0.665, allocations: 99.23 kB / 0.6158 GB, free: 8.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.6652, allocations: 35.44 kB / 0.6159 GB, free: 8.945 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6652, allocations: 4.5 kB / 0.6159 GB, free: 8.941 MB / 494.1 MB Notification: Performance of Templates: time 0.02609/0.6913, allocations: 8.373 MB / 0.6241 GB, free: 0.6953 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: