Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck") translateModel(Annex60.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 108 kB / 15.6 MB, free: 132 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.001527/0.001528, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.63/1.63, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4453/0.4453, allocations: 54.96 MB / 324.7 MB, free: 15.89 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.001814/0.001814, allocations: 63.91 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1304, allocations: 59.6 MB / 454.9 MB, free: 160 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirDerivativeCheck): time 0.2265/0.357, allocations: 1.311 MB / 456.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1796/0.5366, allocations: 148.1 MB / 0.5902 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.5367, allocations: 0 / 0.5902 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.248e-05/0.5368, allocations: 0 / 0.5902 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.5369, allocations: 21.62 kB / 0.5902 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.538, allocations: 322.6 kB / 0.5905 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.5381, allocations: 67.7 kB / 0.5906 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.5382, allocations: 11.98 kB / 0.5906 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/0.5382, allocations: 31.91 kB / 0.5906 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.5383, allocations: 27.91 kB / 0.5906 GB, free: 1.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.5383, allocations: 4 kB / 0.5906 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008493/0.5392, allocations: 414.8 kB / 0.591 GB, free: 1.141 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.5393, allocations: 11.98 kB / 0.591 GB, free: 1.129 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.5394, allocations: 31.86 kB / 0.5911 GB, free: 1.098 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.5397, allocations: 153.7 kB / 0.5912 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5397, allocations: 0 / 0.5912 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5397, allocations: 0 / 0.5912 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.5397, allocations: 0 / 0.5912 GB, free: 0.9492 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005159/0.5403, allocations: 394.5 kB / 0.5916 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5403, allocations: 16.03 kB / 0.5916 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.5408, allocations: 33.39 kB / 0.5916 GB, free: 484 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.5409, allocations: 164.3 kB / 0.5918 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5409, allocations: 11.94 kB / 0.5918 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.541, allocations: 10.53 kB / 0.5918 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.5411, allocations: 82.27 kB / 0.5919 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5411, allocations: 0 / 0.5919 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.5412, allocations: 0 / 0.5919 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5412, allocations: 0 / 0.5919 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.5413, allocations: 51.89 kB / 0.5919 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.5415, allocations: 201.4 kB / 0.5921 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.5418, allocations: 87.97 kB / 0.5922 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.5418, allocations: 32.84 kB / 0.5922 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.5421, allocations: 170.2 kB / 0.5924 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5421, allocations: 43.56 kB / 0.5925 GB, free: 15.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.715e-06/0.5421, allocations: 0 / 0.5925 GB, free: 15.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.001437/0.5436, allocations: 0.5468 MB / 0.593 GB, free: 14.89 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.5437, allocations: 51.41 kB / 0.593 GB, free: 14.83 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.5438, allocations: 102.5 kB / 0.5931 GB, free: 14.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.5439, allocations: 25.7 kB / 0.5932 GB, free: 14.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.5439, allocations: 92.5 kB / 0.5932 GB, free: 14.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.544, allocations: 59.02 kB / 0.5933 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.544, allocations: 41.7 kB / 0.5933 GB, free: 14.49 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5442, allocations: 323 kB / 0.5936 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.5443, allocations: 35.98 kB / 0.5937 GB, free: 14.13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.5444, allocations: 78.58 kB / 0.5938 GB, free: 14.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.5446, allocations: 114.5 kB / 0.5939 GB, free: 13.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5446, allocations: 0 / 0.5939 GB, free: 13.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000306/0.545, allocations: 162.5 kB / 0.594 GB, free: 13.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.545, allocations: 8 kB / 0.594 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.545, allocations: 4 kB / 0.594 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.545, allocations: 0 / 0.594 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.5452, allocations: 39.92 kB / 0.5941 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5453, allocations: 4 kB / 0.5941 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.5453, allocations: 11.92 kB / 0.5941 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.5454, allocations: 8 kB / 0.5941 GB, free: 13.69 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 prepare postOptimizeDAE: time 0.0001045/0.5455, allocations: 117.8 kB / 0.5942 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.5455, allocations: 7.906 kB / 0.5942 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.5455, allocations: 16.44 kB / 0.5942 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5456, allocations: 11.94 kB / 0.5942 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.5456, allocations: 0 / 0.5942 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5456, allocations: 7.875 kB / 0.5942 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.5458, allocations: 189.6 kB / 0.5944 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5458, allocations: 0.75 kB / 0.5944 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.546, allocations: 39.97 kB / 0.5945 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.546, allocations: 4 kB / 0.5945 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.546, allocations: 0 / 0.5945 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.546, allocations: 1.062 kB / 0.5945 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.546, allocations: 0 / 0.5945 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.5463, allocations: 220.1 kB / 0.5947 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.5464, allocations: 90.12 kB / 0.5948 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.5464, allocations: 8.047 kB / 0.5948 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.5466, allocations: 8 kB / 0.5948 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.5466, allocations: 15.92 kB / 0.5948 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.5466, allocations: 8 kB / 0.5948 GB, free: 12.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.94e-05/0.5466, allocations: 75.28 kB / 0.5949 GB, free: 12.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5467, allocations: 4.094 kB / 0.5949 GB, free: 12.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.5469, allocations: 28 kB / 0.5949 GB, free: 12.77 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.000136/0.547, allocations: 104.2 kB / 0.595 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.5473, allocations: 120.3 kB / 0.5951 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5473, allocations: 4 kB / 0.5951 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/0.5474, allocations: 49.14 kB / 0.5952 GB, free: 12.49 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.5477, allocations: 21 kB / 0.5952 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/0.5486, allocations: 0.5054 MB / 0.5957 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.5489, allocations: 0.7008 MB / 0.5964 GB, free: 11.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.5491, allocations: 28.61 kB / 0.5964 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.5491, allocations: 15.44 kB / 0.5964 GB, free: 11.2 MB / 478.1 MB Notification: Performance of SimCode: time 2e-07/0.5491, allocations: 0 / 0.5964 GB, free: 11.2 MB / 478.1 MB Notification: Performance of Templates: time 0.003703/0.5528, allocations: 1.11 MB / 0.5975 GB, free: 10.12 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe 2>&1)