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.000879/0.0008787, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007656/0.007657, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.678/1.678, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5034/0.5034, allocations: 55.01 MB / 325.8 MB, free: 0.5391 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.0005723/0.0005724, allocations: 12 kB / 397.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4117, allocations: 60.71 MB / 458 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirDerivativeCheck): time 0.001137/0.4129, allocations: 1.044 MB / 459 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1659/0.5788, allocations: 144.3 MB / 0.5891 GB, free: 5.637 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.5789, allocations: 0 / 0.5891 GB, free: 5.637 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.579, allocations: 3.984 kB / 0.5891 GB, free: 5.633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.5792, allocations: 7.938 kB / 0.5891 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.5807, allocations: 310.8 kB / 0.5894 GB, free: 5.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.5809, allocations: 91.67 kB / 0.5895 GB, free: 5.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.581, allocations: 0 / 0.5895 GB, free: 5.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.5811, allocations: 27.97 kB / 0.5895 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.5812, allocations: 40.95 kB / 0.5896 GB, free: 5.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.5813, allocations: 8 kB / 0.5896 GB, free: 5.156 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.5824, allocations: 498.7 kB / 0.5901 GB, free: 4.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-05/0.5825, allocations: 11.98 kB / 0.5901 GB, free: 4.656 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.38e-05/0.5826, allocations: 57.55 kB / 0.5901 GB, free: 4.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.583, allocations: 185.5 kB / 0.5903 GB, free: 4.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5831, allocations: 0 / 0.5903 GB, free: 4.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5831, allocations: 0 / 0.5903 GB, free: 4.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.5831, allocations: 0 / 0.5903 GB, free: 4.414 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.0004936/0.5836, allocations: 376.6 kB / 0.5907 GB, free: 4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5836, allocations: 8.031 kB / 0.5907 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004677/0.5841, allocations: 38.5 kB / 0.5907 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.5842, allocations: 169.8 kB / 0.5909 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.5843, allocations: 3.938 kB / 0.5909 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.5843, allocations: 15.98 kB / 0.5909 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.5845, allocations: 74.2 kB / 0.591 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5845, allocations: 0 / 0.591 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.5845, allocations: 4 kB / 0.591 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5845, allocations: 4 kB / 0.591 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.5846, allocations: 43.95 kB / 0.591 GB, free: 3.605 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.5849, allocations: 197.4 kB / 0.5912 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.5851, allocations: 87.25 kB / 0.5913 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.5851, allocations: 32.89 kB / 0.5913 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.5854, allocations: 186.2 kB / 0.5915 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5855, allocations: 31.69 kB / 0.5915 GB, free: 2.977 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.5855, allocations: 0 / 0.5915 GB, free: 2.977 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001256/0.5867, allocations: 0.5451 MB / 0.5921 GB, free: 2.387 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.5868, allocations: 55.41 kB / 0.5921 GB, free: 2.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.5868, allocations: 102.8 kB / 0.5922 GB, free: 2.211 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.5869, allocations: 33.7 kB / 0.5922 GB, free: 2.172 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.5869, allocations: 80.52 kB / 0.5923 GB, free: 2.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.587, allocations: 67 kB / 0.5924 GB, free: 2.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.587, allocations: 29.83 kB / 0.5924 GB, free: 1.988 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5871, allocations: 322.8 kB / 0.5927 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.5872, allocations: 31.98 kB / 0.5928 GB, free: 1.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/0.5873, allocations: 71.41 kB / 0.5928 GB, free: 1.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.5875, allocations: 117.2 kB / 0.5929 GB, free: 1.426 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5875, allocations: 0 / 0.5929 GB, free: 1.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002149/0.5877, allocations: 155.5 kB / 0.5931 GB, free: 1.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5877, allocations: 8.641 kB / 0.5931 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.5877, allocations: 7.938 kB / 0.5931 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5878, allocations: 0 / 0.5931 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.5879, allocations: 39.98 kB / 0.5931 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5879, allocations: 0 / 0.5931 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.588, allocations: 11.94 kB / 0.5931 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.588, allocations: 4 kB / 0.5931 GB, free: 1.199 MB / 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 0.0001061/0.5881, allocations: 122.3 kB / 0.5933 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.5882, allocations: 15.91 kB / 0.5933 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.5882, allocations: 16.44 kB / 0.5933 GB, free: 1.039 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5882, allocations: 0 / 0.5933 GB, free: 1.039 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5882, allocations: 5.125 kB / 0.5933 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5882, allocations: 7.922 kB / 0.5933 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.5884, allocations: 190.7 kB / 0.5935 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.5884, allocations: 0 / 0.5935 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.5886, allocations: 43.92 kB / 0.5935 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5886, allocations: 0 / 0.5935 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.5887, allocations: 4 kB / 0.5935 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5887, allocations: 0.7812 kB / 0.5935 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5887, allocations: 5.125 kB / 0.5935 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.589, allocations: 208.3 kB / 0.5937 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.5891, allocations: 93 kB / 0.5938 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5891, allocations: 4.062 kB / 0.5938 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.5892, allocations: 8 kB / 0.5938 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.5893, allocations: 13.52 kB / 0.5939 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.5893, allocations: 7.938 kB / 0.5939 GB, free: 392 kB / 462.1 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.5893, allocations: 91.27 kB / 0.5939 GB, free: 300 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5893, allocations: 0 / 0.5939 GB, free: 300 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.5896, allocations: 24 kB / 0.594 GB, free: 276 kB / 462.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.0001422/0.5897, allocations: 110.4 kB / 0.5941 GB, free: 160 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.5899, allocations: 103.8 kB / 0.5942 GB, free: 56 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5899, allocations: 0 / 0.5942 GB, free: 56 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.59, allocations: 59.62 kB / 0.5942 GB, free: 0 / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5902, allocations: 16.69 kB / 0.5942 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.5911, allocations: 0.6171 MB / 0.5948 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.5914, allocations: 0.705 MB / 0.5955 GB, free: 14.63 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.5916, allocations: 28.56 kB / 0.5956 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.5916, allocations: 16.38 kB / 0.5956 GB, free: 14.59 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5916, allocations: 0 / 0.5956 GB, free: 14.59 MB / 478.1 MB Notification: Performance of Templates: time 0.003407/0.595, allocations: 1.058 MB / 0.5966 GB, free: 13.55 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: