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.007061/0.007061, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001341/0.001342, allocations: 190.4 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.515/1.515, allocations: 205.1 MB / 222.6 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4032/0.4032, allocations: 54.95 MB / 324.8 MB, free: 88 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.00154/0.00154, allocations: 71.02 kB / 456.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1842, allocations: 59.58 MB / 0.5038 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTestImplementation): time 0.7089/0.8931, allocations: 165.3 MB / 0.6652 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00398/0.8972, allocations: 2.553 MB / 0.6677 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.8975, allocations: 7.75 kB / 0.6677 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.8986, allocations: 267.2 kB / 0.668 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.8999, allocations: 450.6 kB / 0.6684 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.901, allocations: 339.7 kB / 0.6687 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.9024, allocations: 1.057 MB / 0.6697 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.9028, allocations: 135.3 kB / 0.6699 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.9043, allocations: 0.7366 MB / 0.6706 GB, free: 0 / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005222/0.9048, allocations: 374.5 kB / 0.6709 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.9049, allocations: 48.16 kB / 0.671 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.9051, allocations: 55.91 kB / 0.671 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.9054, allocations: 208 kB / 0.6712 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.9057, allocations: 275.6 kB / 0.6715 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007052/0.9064, allocations: 0.6858 MB / 0.6722 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.9064, allocations: 0 / 0.6722 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.524e-06/0.9064, allocations: 0 / 0.6722 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.9064, allocations: 0 / 0.6722 GB, free: 15.96 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.00145/0.9079, allocations: 0.7216 MB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.908, allocations: 10.88 kB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.9083, allocations: 53.39 kB / 0.6729 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.9088, allocations: 338 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.9088, allocations: 27.78 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.9089, allocations: 38.28 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.9096, allocations: 407.7 kB / 0.6737 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.9096, allocations: 6.516 kB / 0.6737 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.9097, allocations: 16.5 kB / 0.6737 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.9097, allocations: 7.969 kB / 0.6737 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/0.9102, allocations: 349.7 kB / 0.6741 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.9125, allocations: 1.559 MB / 0.6756 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.913, allocations: 298.6 kB / 0.6759 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.9132, allocations: 167.2 kB / 0.676 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.9133, allocations: 4.969 kB / 0.6761 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.9133, allocations: 44.97 kB / 0.6761 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.9133, allocations: 0 / 0.6761 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.003119/0.9165, allocations: 1.43 MB / 0.6775 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.9165, allocations: 56.25 kB / 0.6775 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.917, allocations: 315.3 kB / 0.6778 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.9171, allocations: 35.7 kB / 0.6779 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.9173, allocations: 196.7 kB / 0.6781 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.9174, allocations: 137.9 kB / 0.6782 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.9176, allocations: 70.84 kB / 0.6783 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.9178, allocations: 347.6 kB / 0.6786 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.918, allocations: 141.6 kB / 0.6787 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.9183, allocations: 193.8 kB / 0.6789 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.9189, allocations: 359.5 kB / 0.6793 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9189, allocations: 2.281 kB / 0.6793 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006942/0.9196, allocations: 475.3 kB / 0.6797 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.9196, allocations: 8.5 kB / 0.6797 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.9196, allocations: 5 kB / 0.6797 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.9198, allocations: 40.7 kB / 0.6798 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.9203, allocations: 88.41 kB / 0.6799 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.9227, allocations: 2.83 MB / 0.6826 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.923, allocations: 9.781 kB / 0.6826 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.9231, allocations: 16.38 kB / 0.6826 GB, free: 10.04 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.0002769/0.9233, allocations: 186.9 kB / 0.6828 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.9234, allocations: 37.67 kB / 0.6829 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.9236, allocations: 45.28 kB / 0.6829 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.9236, allocations: 5.812 kB / 0.6829 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9236, allocations: 0 / 0.6829 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006892/0.9243, allocations: 0.582 MB / 0.6835 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.9259, allocations: 1.051 MB / 0.6845 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9259, allocations: 3.656 kB / 0.6845 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.9264, allocations: 86.75 kB / 0.6846 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.9264, allocations: 3.438 kB / 0.6846 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.9264, allocations: 13.75 kB / 0.6846 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.9264, allocations: 1.812 kB / 0.6846 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9264, allocations: 9.719 kB / 0.6846 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009105/0.9274, allocations: 0.6948 MB / 0.6853 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.9276, allocations: 158.8 kB / 0.6854 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.9276, allocations: 11.33 kB / 0.6855 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.928, allocations: 18.98 kB / 0.6855 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.9281, allocations: 25 kB / 0.6855 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.9282, allocations: 21.03 kB / 0.6855 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002841/0.9285, allocations: 231.2 kB / 0.6857 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9285, allocations: 0 / 0.6857 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005359/0.929, allocations: 123.8 kB / 0.6859 GB, free: 8.75 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.0002281/0.9293, allocations: 118.6 kB / 0.686 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009477/0.9302, allocations: 0.5736 MB / 0.6865 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.9302, allocations: 2.469 kB / 0.6865 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.9305, allocations: 179.4 kB / 0.6867 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.9318, allocations: 247 kB / 0.6869 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.9339, allocations: 1.015 MB / 0.6879 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.9344, allocations: 0.8258 MB / 0.6887 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004469/0.9348, allocations: 103.8 kB / 0.6888 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.935, allocations: 36.2 kB / 0.6889 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.935, allocations: 0 / 0.6889 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of Templates: time 0.01722/0.9522, allocations: 9.217 MB / 0.6979 GB, free: 4.605 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)