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.00708/0.00708, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001263/0.001263, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2716/0.2716, allocations: 54.97 MB / 324.9 MB, free: 4.848 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.001572/0.001572, allocations: 67.91 kB / 456.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.151, allocations: 59.59 MB / 0.5037 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTestImplementation): time 0.6087/0.7598, allocations: 165.3 MB / 0.6652 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004573/0.7644, allocations: 2.555 MB / 0.6677 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00056/0.765, allocations: 7.938 kB / 0.6677 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.7663, allocations: 254.6 kB / 0.6679 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.7678, allocations: 445.7 kB / 0.6683 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.7688, allocations: 337.4 kB / 0.6687 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.7703, allocations: 1.064 MB / 0.6697 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.7706, allocations: 134.7 kB / 0.6698 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.7722, allocations: 0.7004 MB / 0.6705 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005106/0.7727, allocations: 370.7 kB / 0.6709 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.7728, allocations: 51.94 kB / 0.6709 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.773, allocations: 52 kB / 0.671 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.7733, allocations: 219.5 kB / 0.6712 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.7736, allocations: 271 kB / 0.6714 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008681/0.7744, allocations: 0.68 MB / 0.6721 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.497e-06/0.7745, allocations: 3.938 kB / 0.6721 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7745, allocations: 0 / 0.6721 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.7745, allocations: 0 / 0.6721 GB, free: 4.414 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.001665/0.7762, allocations: 0.7325 MB / 0.6728 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.7762, allocations: 12.03 kB / 0.6728 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.7766, allocations: 55.75 kB / 0.6729 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.7771, allocations: 334.3 kB / 0.6732 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.7772, allocations: 33 kB / 0.6732 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.7772, allocations: 39.95 kB / 0.6733 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.7779, allocations: 398.4 kB / 0.6737 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.7779, allocations: 7.875 kB / 0.6737 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.778, allocations: 16 kB / 0.6737 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.778, allocations: 12 kB / 0.6737 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/0.7786, allocations: 347.7 kB / 0.674 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.7811, allocations: 1.562 MB / 0.6755 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.7816, allocations: 292.4 kB / 0.6758 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.7818, allocations: 168.7 kB / 0.676 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.7819, allocations: 12.27 kB / 0.676 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.7819, allocations: 46.77 kB / 0.676 GB, free: 120 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.385e-06/0.7819, allocations: 0 / 0.676 GB, free: 120 kB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.003087/0.785, allocations: 1.429 MB / 0.6774 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.7851, allocations: 55.41 kB / 0.6775 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.7854, allocations: 318.9 kB / 0.6778 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.7855, allocations: 29.7 kB / 0.6778 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.7856, allocations: 204.7 kB / 0.678 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.7858, allocations: 138.8 kB / 0.6782 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.7859, allocations: 78.08 kB / 0.6782 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.786, allocations: 346.8 kB / 0.6786 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.7863, allocations: 144.8 kB / 0.6787 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.7865, allocations: 193 kB / 0.6789 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.7871, allocations: 359.8 kB / 0.6792 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7871, allocations: 0 / 0.6792 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007458/0.7878, allocations: 467 kB / 0.6797 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7879, allocations: 11.94 kB / 0.6797 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7879, allocations: 0 / 0.6797 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.788, allocations: 53.75 kB / 0.6797 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.7885, allocations: 83.91 kB / 0.6798 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.7905, allocations: 2.831 MB / 0.6826 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.7908, allocations: 8.031 kB / 0.6826 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.7908, allocations: 15.94 kB / 0.6826 GB, free: 8.941 MB / 0.5294 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.0002584/0.7911, allocations: 185.7 kB / 0.6828 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.7911, allocations: 35.81 kB / 0.6828 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.7912, allocations: 47.03 kB / 0.6829 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7913, allocations: 12.05 kB / 0.6829 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7913, allocations: 6.875 kB / 0.6829 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006554/0.7919, allocations: 0.5776 MB / 0.6834 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.7935, allocations: 1.047 MB / 0.6845 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7935, allocations: 0 / 0.6845 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.7939, allocations: 91.89 kB / 0.6845 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7939, allocations: 0 / 0.6845 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.794, allocations: 15.98 kB / 0.6846 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.794, allocations: 3.938 kB / 0.6846 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.794, allocations: 4 kB / 0.6846 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.795, allocations: 0.6889 MB / 0.6852 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.7952, allocations: 156.9 kB / 0.6854 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.7953, allocations: 16 kB / 0.6854 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.7956, allocations: 19.98 kB / 0.6854 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.7957, allocations: 27.95 kB / 0.6855 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.7957, allocations: 19.98 kB / 0.6855 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002765/0.796, allocations: 221.9 kB / 0.6857 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.414e-06/0.796, allocations: 0 / 0.6857 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004633/0.7965, allocations: 127.9 kB / 0.6858 GB, free: 5.453 MB / 0.5294 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.0001531/0.7967, allocations: 127 kB / 0.6859 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008718/0.7975, allocations: 0.5751 MB / 0.6865 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.7976, allocations: 0 / 0.6865 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.7978, allocations: 167.8 kB / 0.6867 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.7991, allocations: 262.9 kB / 0.6869 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.801, allocations: 1.031 MB / 0.6879 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.8015, allocations: 0.8197 MB / 0.6887 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003924/0.8019, allocations: 99.23 kB / 0.6888 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.802, allocations: 35.44 kB / 0.6888 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.802, allocations: 0 / 0.6888 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of Templates: time 0.01547/0.8175, allocations: 9.232 MB / 0.6979 GB, free: 9.121 MB / 0.545 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)