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.001104/0.001104, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.495/1.495, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.391/0.391, allocations: 54.94 MB / 324.7 MB, free: 15.93 MB / 270.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.00185/0.00185, allocations: 63.91 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1635, allocations: 59.59 MB / 454.9 MB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTestImplementation): time 0.5113/0.6748, allocations: 165.3 MB / 0.6057 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.6785, allocations: 2.563 MB / 0.6082 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.6788, allocations: 4 kB / 0.6082 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009542/0.6798, allocations: 254.6 kB / 0.6084 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.681, allocations: 445.6 kB / 0.6088 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.6819, allocations: 327.9 kB / 0.6092 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.6831, allocations: 1.056 MB / 0.6102 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.6834, allocations: 148 kB / 0.6103 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.6849, allocations: 0.6945 MB / 0.611 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.6854, allocations: 372.2 kB / 0.6114 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.6855, allocations: 44 kB / 0.6114 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.6857, allocations: 60 kB / 0.6115 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.686, allocations: 211.5 kB / 0.6117 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.6862, allocations: 271 kB / 0.6119 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.6869, allocations: 0.6855 MB / 0.6126 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6869, allocations: 0 / 0.6126 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6869, allocations: 0 / 0.6126 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.687, allocations: 0 / 0.6126 GB, free: 11.02 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.001252/0.6882, allocations: 0.7146 MB / 0.6133 GB, free: 10.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.6883, allocations: 12.03 kB / 0.6133 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.6886, allocations: 63.42 kB / 0.6134 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.6891, allocations: 326 kB / 0.6137 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.6891, allocations: 36.98 kB / 0.6137 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.6892, allocations: 36 kB / 0.6137 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.6898, allocations: 406.4 kB / 0.6141 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.6898, allocations: 5.219 kB / 0.6141 GB, free: 9.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.6899, allocations: 16 kB / 0.6141 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.6899, allocations: 8 kB / 0.6142 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/0.6905, allocations: 347.8 kB / 0.6145 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.6928, allocations: 1.57 MB / 0.616 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.6932, allocations: 300.6 kB / 0.6163 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.6934, allocations: 157.3 kB / 0.6165 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.6935, allocations: 4.281 kB / 0.6165 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.6935, allocations: 51.72 kB / 0.6165 GB, free: 6.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.6935, allocations: 0 / 0.6165 GB, free: 6.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.003068/0.6966, allocations: 1.429 MB / 0.6179 GB, free: 5.223 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.6967, allocations: 59.41 kB / 0.618 GB, free: 5.152 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.697, allocations: 311 kB / 0.6183 GB, free: 4.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.697, allocations: 37.7 kB / 0.6183 GB, free: 4.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.6972, allocations: 188.5 kB / 0.6185 GB, free: 4.609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.6973, allocations: 138 kB / 0.6186 GB, free: 4.473 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.6974, allocations: 78.03 kB / 0.6187 GB, free: 4.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6975, allocations: 355.2 kB / 0.619 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.6978, allocations: 136.8 kB / 0.6192 GB, free: 3.902 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.698, allocations: 197 kB / 0.6193 GB, free: 3.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.6986, allocations: 350.9 kB / 0.6197 GB, free: 3.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6986, allocations: 4 kB / 0.6197 GB, free: 3.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000661/0.6992, allocations: 470.8 kB / 0.6201 GB, free: 2.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6993, allocations: 7 kB / 0.6201 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6993, allocations: 0.875 kB / 0.6201 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.6994, allocations: 45.83 kB / 0.6202 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.6999, allocations: 95.88 kB / 0.6203 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.702, allocations: 2.821 MB / 0.623 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.7023, allocations: 12.03 kB / 0.623 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.7023, allocations: 16.5 kB / 0.6231 GB, free: 15.59 MB / 0.4981 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 (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.0002473/0.7026, allocations: 181.9 kB / 0.6232 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.7027, allocations: 39.53 kB / 0.6233 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.836e-05/0.7028, allocations: 47.03 kB / 0.6233 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.7028, allocations: 4 kB / 0.6233 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7028, allocations: 0 / 0.6233 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006798/0.7035, allocations: 0.5805 MB / 0.6239 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.705, allocations: 1.047 MB / 0.6249 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7051, allocations: 7.984 kB / 0.6249 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.7055, allocations: 87.89 kB / 0.625 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.7055, allocations: 8.188 kB / 0.625 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.7056, allocations: 8 kB / 0.625 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.7056, allocations: 4.75 kB / 0.625 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.7056, allocations: 4 kB / 0.625 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009392/0.7065, allocations: 0.6918 MB / 0.6257 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.7068, allocations: 156.7 kB / 0.6258 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.7068, allocations: 12 kB / 0.6259 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.7072, allocations: 18.17 kB / 0.6259 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.7073, allocations: 31.84 kB / 0.6259 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.7073, allocations: 23.98 kB / 0.6259 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002454/0.7076, allocations: 233.9 kB / 0.6261 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7076, allocations: 0 / 0.6261 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004998/0.7081, allocations: 123.9 kB / 0.6263 GB, free: 12.1 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.0001713/0.7083, allocations: 115.1 kB / 0.6264 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.7093, allocations: 0.5954 MB / 0.627 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.7093, allocations: 8.062 kB / 0.627 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.7096, allocations: 176.3 kB / 0.6271 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.7109, allocations: 245.4 kB / 0.6274 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.7128, allocations: 1.036 MB / 0.6284 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.7133, allocations: 0.8313 MB / 0.6292 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004384/0.7137, allocations: 99.23 kB / 0.6293 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.7138, allocations: 35.44 kB / 0.6293 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.7139, allocations: 0 / 0.6293 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.2559/0.9698, allocations: 9.139 MB / 0.6382 GB, free: 162 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)