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.001245/0.001244, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001434/0.001434, allocations: 177.3 kB / 15.94 MB, free: 228 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.436/1.436, allocations: 205.4 MB / 222.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3801/0.3801, allocations: 54.99 MB / 325.4 MB, free: 0.6484 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.0005761/0.0005761, allocations: 12 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3205, allocations: 60.72 MB / 457.3 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTestImplementation): time 0.1515/0.4721, allocations: 138.5 MB / 0.5818 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.475, allocations: 2.138 MB / 0.5839 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.4753, allocations: 11.88 kB / 0.5839 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.476, allocations: 191.2 kB / 0.5841 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007336/0.4768, allocations: 291.1 kB / 0.5843 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.4775, allocations: 266.2 kB / 0.5846 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006881/0.4782, allocations: 0.5467 MB / 0.5851 GB, free: 9.414 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.4784, allocations: 98.06 kB / 0.5852 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.4795, allocations: 0.5257 MB / 0.5857 GB, free: 8.789 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.4798, allocations: 227.2 kB / 0.586 GB, free: 8.566 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.4799, allocations: 20 kB / 0.586 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.48, allocations: 32 kB / 0.586 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.4802, allocations: 171.6 kB / 0.5862 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.4803, allocations: 121.5 kB / 0.5863 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.4808, allocations: 0.5175 MB / 0.5868 GB, free: 7.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.4808, allocations: 0 / 0.5868 GB, free: 7.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4808, allocations: 0 / 0.5868 GB, free: 7.715 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4808, allocations: 0 / 0.5868 GB, free: 7.715 MB / 462.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.00113/0.482, allocations: 0.6334 MB / 0.5874 GB, free: 7.035 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.482, allocations: 8.031 kB / 0.5874 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.4823, allocations: 55.52 kB / 0.5875 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.4828, allocations: 328.5 kB / 0.5878 GB, free: 6.613 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.4828, allocations: 25 kB / 0.5878 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.4829, allocations: 37.72 kB / 0.5878 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.4835, allocations: 398.4 kB / 0.5882 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4836, allocations: 7.984 kB / 0.5882 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.4836, allocations: 16 kB / 0.5882 GB, free: 6.133 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4836, allocations: 12 kB / 0.5883 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005353/0.4842, allocations: 347.7 kB / 0.5886 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.4864, allocations: 1.562 MB / 0.5901 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.4869, allocations: 280.8 kB / 0.5904 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.4869, allocations: 9.406 kB / 0.5904 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4869, allocations: 38.84 kB / 0.5904 GB, free: 3.734 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.727e-06/0.487, allocations: 7.922 kB / 0.5904 GB, free: 3.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.002903/0.4899, allocations: 1.429 MB / 0.5918 GB, free: 2.207 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.4899, allocations: 63.3 kB / 0.5919 GB, free: 2.133 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.4903, allocations: 322.8 kB / 0.5922 GB, free: 1.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.4903, allocations: 34.92 kB / 0.5922 GB, free: 1.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.4904, allocations: 192.5 kB / 0.5924 GB, free: 1.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/0.4905, allocations: 138 kB / 0.5925 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.4906, allocations: 8 kB / 0.5926 GB, free: 1.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4907, allocations: 346.8 kB / 0.5929 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.491, allocations: 136.8 kB / 0.593 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.4912, allocations: 189 kB / 0.5932 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.4915, allocations: 169.8 kB / 0.5934 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4915, allocations: 0 / 0.5934 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006582/0.4922, allocations: 467.1 kB / 0.5938 GB, free: 128 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4922, allocations: 11.94 kB / 0.5938 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4922, allocations: 0.875 kB / 0.5938 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.4923, allocations: 41.7 kB / 0.5939 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.4928, allocations: 96.7 kB / 0.5939 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.4949, allocations: 2.633 MB / 0.5965 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.4952, allocations: 36.08 kB / 0.5966 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.4952, allocations: 16 kB / 0.5966 GB, free: 13.03 MB / 478.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.0002394/0.4955, allocations: 177.8 kB / 0.5967 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.4956, allocations: 35.62 kB / 0.5968 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.4957, allocations: 55.03 kB / 0.5968 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4957, allocations: 7.953 kB / 0.5968 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4957, allocations: 0.8438 kB / 0.5968 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006542/0.4964, allocations: 0.5728 MB / 0.5974 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.498, allocations: 1.053 MB / 0.5984 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.498, allocations: 0 / 0.5984 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.4985, allocations: 93.02 kB / 0.5985 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.4985, allocations: 4 kB / 0.5985 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.4985, allocations: 15.98 kB / 0.5985 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.4985, allocations: 7.938 kB / 0.5985 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4985, allocations: 0 / 0.5985 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/0.4995, allocations: 0.7497 MB / 0.5993 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.4998, allocations: 156.7 kB / 0.5994 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.853e-05/0.4998, allocations: 11.98 kB / 0.5994 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.5002, allocations: 35.89 kB / 0.5995 GB, free: 9.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.5003, allocations: 25.03 kB / 0.5995 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.5004, allocations: 31.92 kB / 0.5995 GB, free: 9.766 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.5006, allocations: 218.9 kB / 0.5997 GB, free: 9.555 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.664e-06/0.5006, allocations: 0 / 0.5997 GB, free: 9.555 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004695/0.5011, allocations: 127.9 kB / 0.5998 GB, free: 9.43 MB / 478.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.000139/0.5012, allocations: 119.2 kB / 0.6 GB, free: 9.305 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008354/0.5021, allocations: 0.5639 MB / 0.6005 GB, free: 8.719 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5021, allocations: 0 / 0.6005 GB, free: 8.719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.5023, allocations: 176.2 kB / 0.6007 GB, free: 8.547 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5036, allocations: 234.3 kB / 0.6009 GB, free: 8.328 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.5053, allocations: 1.215 MB / 0.6021 GB, free: 7.078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.5057, allocations: 0.8314 MB / 0.6029 GB, free: 6.219 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00043/0.5062, allocations: 103.2 kB / 0.603 GB, free: 6.113 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5063, allocations: 43.38 kB / 0.603 GB, free: 6.07 MB / 478.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5063, allocations: 0 / 0.603 GB, free: 6.07 MB / 478.1 MB Notification: Performance of Templates: time 0.01316/0.5194, allocations: 8.351 MB / 0.6112 GB, free: 13.85 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: