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.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001633/0.001633, allocations: 191 kB / 16.14 MB, free: 6.711 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.522/1.522, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4202/0.4202, allocations: 54.94 MB / 324.3 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.001576/0.001576, allocations: 63.91 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1374, allocations: 59.59 MB / 454.3 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirDerivativeCheck): time 0.2696/0.407, allocations: 1.373 MB / 455.7 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1803/0.5874, allocations: 145.8 MB / 0.5874 GB, free: 4.699 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.5875, allocations: 0 / 0.5874 GB, free: 4.699 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.821e-05/0.5876, allocations: 15.92 kB / 0.5874 GB, free: 4.684 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.5877, allocations: 11.92 kB / 0.5874 GB, free: 4.672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.589, allocations: 294.9 kB / 0.5877 GB, free: 4.383 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.5891, allocations: 93.98 kB / 0.5878 GB, free: 4.293 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.5892, allocations: 4 kB / 0.5878 GB, free: 4.289 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.5892, allocations: 27.91 kB / 0.5878 GB, free: 4.262 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.5894, allocations: 35.89 kB / 0.5878 GB, free: 4.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.5894, allocations: 3.938 kB / 0.5878 GB, free: 4.223 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009808/0.5904, allocations: 498.7 kB / 0.5883 GB, free: 3.734 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.5904, allocations: 11.98 kB / 0.5883 GB, free: 3.723 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.5905, allocations: 35.84 kB / 0.5884 GB, free: 3.688 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.5909, allocations: 185.6 kB / 0.5885 GB, free: 3.508 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.5909, allocations: 7.984 kB / 0.5885 GB, free: 3.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5909, allocations: 0 / 0.5885 GB, free: 3.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.5909, allocations: 0 / 0.5885 GB, free: 3.5 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.000507/0.5914, allocations: 386.6 kB / 0.5889 GB, free: 3.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5915, allocations: 12.03 kB / 0.5889 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.5919, allocations: 32.89 kB / 0.589 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.592, allocations: 160.4 kB / 0.5891 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.5921, allocations: 15.94 kB / 0.5891 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.5921, allocations: 5.875 kB / 0.5891 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.5923, allocations: 78.19 kB / 0.5892 GB, free: 2.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5923, allocations: 7.984 kB / 0.5892 GB, free: 2.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.5923, allocations: 7.938 kB / 0.5892 GB, free: 2.723 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5923, allocations: 3.938 kB / 0.5892 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.809e-05/0.5924, allocations: 47.95 kB / 0.5893 GB, free: 2.672 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.5926, allocations: 190.3 kB / 0.5894 GB, free: 2.438 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.5928, allocations: 93.97 kB / 0.5895 GB, free: 2.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.5929, allocations: 28.84 kB / 0.5896 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.5932, allocations: 178.1 kB / 0.5897 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5932, allocations: 34.56 kB / 0.5898 GB, free: 2.055 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.5932, allocations: 0 / 0.5898 GB, free: 2.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001307/0.5945, allocations: 0.5479 MB / 0.5903 GB, free: 1.461 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5946, allocations: 51.41 kB / 0.5903 GB, free: 1.398 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.5946, allocations: 101.8 kB / 0.5904 GB, free: 1.289 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.5947, allocations: 29.7 kB / 0.5905 GB, free: 1.254 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.5947, allocations: 80.52 kB / 0.5906 GB, free: 1.172 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.5948, allocations: 74.98 kB / 0.5906 GB, free: 1.098 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.5948, allocations: 41.7 kB / 0.5907 GB, free: 1.051 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.595, allocations: 314.8 kB / 0.591 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.595, allocations: 43.91 kB / 0.591 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.5951, allocations: 73.45 kB / 0.5911 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5953, allocations: 115.2 kB / 0.5912 GB, free: 500 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5953, allocations: 0 / 0.5912 GB, free: 500 kB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002072/0.5955, allocations: 155 kB / 0.5913 GB, free: 340 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5956, allocations: 8 kB / 0.5913 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5956, allocations: 0 / 0.5913 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5956, allocations: 3.938 kB / 0.5913 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.5958, allocations: 43.92 kB / 0.5914 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5958, allocations: 4 kB / 0.5914 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.066e-05/0.5958, allocations: 11.94 kB / 0.5914 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.5959, allocations: 4 kB / 0.5914 GB, free: 264 kB / 462.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 9.827e-05/0.596, allocations: 129.8 kB / 0.5915 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.596, allocations: 7.906 kB / 0.5915 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.596, allocations: 16.44 kB / 0.5916 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5961, allocations: 4.656 kB / 0.5916 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5961, allocations: 0 / 0.5916 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.5961, allocations: 4.688 kB / 0.5916 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.5963, allocations: 189.6 kB / 0.5917 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5963, allocations: 4 kB / 0.5917 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.5965, allocations: 35.98 kB / 0.5918 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5965, allocations: 7.984 kB / 0.5918 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5965, allocations: 2.125 kB / 0.5918 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5965, allocations: 0 / 0.5918 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5965, allocations: 0 / 0.5918 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.5968, allocations: 210.3 kB / 0.592 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.5969, allocations: 93 kB / 0.5921 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.597, allocations: 8.062 kB / 0.5921 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.5971, allocations: 12.55 kB / 0.5921 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.5971, allocations: 15.92 kB / 0.5921 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.5971, allocations: 4 kB / 0.5921 GB, free: 15.44 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.5972, allocations: 79.28 kB / 0.5922 GB, free: 15.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5972, allocations: 0 / 0.5922 GB, free: 15.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.5974, allocations: 28 kB / 0.5922 GB, free: 15.34 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.0001235/0.5975, allocations: 111.9 kB / 0.5923 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.5977, allocations: 102.2 kB / 0.5924 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5978, allocations: 4 kB / 0.5924 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.5978, allocations: 55.52 kB / 0.5925 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5981, allocations: 16.84 kB / 0.5925 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008175/0.599, allocations: 0.537 MB / 0.593 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.5992, allocations: 0.7011 MB / 0.5937 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.5993, allocations: 28.62 kB / 0.5937 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.5994, allocations: 15.44 kB / 0.5937 GB, free: 13.75 MB / 478.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5994, allocations: 0 / 0.5937 GB, free: 13.75 MB / 478.1 MB Notification: Performance of Templates: time 0.003449/0.6028, allocations: 1.074 MB / 0.5948 GB, free: 12.71 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)