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.01062/0.01062, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002051/0.002051, allocations: 196.3 kB / 16.67 MB, free: 5.926 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.481/1.481, allocations: 205.1 MB / 222.6 MB, free: 4.332 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3953/0.3953, allocations: 54.94 MB / 324.8 MB, free: 116 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.001686/0.001686, allocations: 67.56 kB / 456.3 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1403, allocations: 59.6 MB / 0.5038 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTestImplementation): time 0.6592/0.7996, allocations: 165.3 MB / 0.6652 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003814/0.8035, allocations: 2.554 MB / 0.6677 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.8037, allocations: 7.969 kB / 0.6677 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.8049, allocations: 262 kB / 0.668 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009864/0.8059, allocations: 439.8 kB / 0.6684 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.8068, allocations: 343.4 kB / 0.6687 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.8079, allocations: 1.055 MB / 0.6698 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.8082, allocations: 144.1 kB / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.8098, allocations: 0.6987 MB / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005917/0.8104, allocations: 374.4 kB / 0.671 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.8105, allocations: 45.5 kB / 0.671 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.8107, allocations: 56.28 kB / 0.671 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.8109, allocations: 213.5 kB / 0.6713 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.8113, allocations: 275.8 kB / 0.6715 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008718/0.8122, allocations: 0.6825 MB / 0.6722 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8122, allocations: 2.5 kB / 0.6722 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8122, allocations: 0 / 0.6722 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.8122, allocations: 0 / 0.6722 GB, free: 15.92 MB / 0.5137 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.001382/0.8136, allocations: 0.7172 MB / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.8137, allocations: 9.203 kB / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.814, allocations: 57.45 kB / 0.6729 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.8145, allocations: 336 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.8146, allocations: 30.88 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.8146, allocations: 34.31 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.8153, allocations: 403.2 kB / 0.6737 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.8153, allocations: 3.938 kB / 0.6737 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.8154, allocations: 19.41 kB / 0.6737 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.8154, allocations: 10.09 kB / 0.6737 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.8159, allocations: 351.1 kB / 0.6741 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.8185, allocations: 1.564 MB / 0.6756 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.8191, allocations: 296.4 kB / 0.6759 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.8193, allocations: 163.5 kB / 0.676 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/0.8194, allocations: 9.5 kB / 0.6761 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.8194, allocations: 41.56 kB / 0.6761 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.8194, allocations: 0 / 0.6761 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.002916/0.8224, allocations: 1.435 MB / 0.6775 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.8224, allocations: 58.67 kB / 0.6776 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.8227, allocations: 306.1 kB / 0.6778 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.8228, allocations: 38.05 kB / 0.6779 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.823, allocations: 197.4 kB / 0.6781 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.8232, allocations: 138.5 kB / 0.6782 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.8233, allocations: 74.98 kB / 0.6783 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002491/0.8235, allocations: 345.5 kB / 0.6786 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.8238, allocations: 139.3 kB / 0.6787 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.824, allocations: 193.3 kB / 0.6789 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.8245, allocations: 359 kB / 0.6793 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8245, allocations: 0 / 0.6793 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007458/0.8253, allocations: 473.8 kB / 0.6797 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.8253, allocations: 12.03 kB / 0.6797 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8253, allocations: 2.375 kB / 0.6797 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.8255, allocations: 40.11 kB / 0.6798 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.8259, allocations: 91.91 kB / 0.6799 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.8287, allocations: 2.83 MB / 0.6826 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.829, allocations: 6.781 kB / 0.6826 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.829, allocations: 13.69 kB / 0.6826 GB, free: 10 MB / 0.5137 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.0002718/0.8293, allocations: 187.2 kB / 0.6828 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.8294, allocations: 35.84 kB / 0.6829 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.8295, allocations: 51.34 kB / 0.6829 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8295, allocations: 6.453 kB / 0.6829 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8295, allocations: 0 / 0.6829 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006998/0.8302, allocations: 0.5791 MB / 0.6835 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.8318, allocations: 1.052 MB / 0.6845 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.8318, allocations: 3.188 kB / 0.6845 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.8323, allocations: 89.5 kB / 0.6846 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.8323, allocations: 4.344 kB / 0.6846 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.8324, allocations: 15.91 kB / 0.6846 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.8324, allocations: 6.953 kB / 0.6846 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.8324, allocations: 6.219 kB / 0.6846 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/0.8333, allocations: 0.6876 MB / 0.6853 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.8335, allocations: 158.3 kB / 0.6854 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.8336, allocations: 12.12 kB / 0.6855 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.834, allocations: 23.2 kB / 0.6855 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.834, allocations: 22.5 kB / 0.6855 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.8341, allocations: 23.64 kB / 0.6855 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002674/0.8344, allocations: 225.5 kB / 0.6857 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8344, allocations: 0 / 0.6857 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004872/0.8349, allocations: 126.6 kB / 0.6859 GB, free: 8.707 MB / 0.5137 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.0002056/0.8351, allocations: 115.5 kB / 0.686 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.8361, allocations: 0.5726 MB / 0.6865 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.8361, allocations: 1.203 kB / 0.6865 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.8364, allocations: 183 kB / 0.6867 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.8377, allocations: 251 kB / 0.6869 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.8397, allocations: 1.014 MB / 0.6879 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.8402, allocations: 0.8251 MB / 0.6887 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004006/0.8406, allocations: 104.9 kB / 0.6888 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.8407, allocations: 39.16 kB / 0.6889 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.8407, allocations: 0 / 0.6889 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.01669/0.8574, allocations: 9.357 MB / 0.698 GB, free: 4.422 MB / 0.5137 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)