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.007245/0.007245, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001384/0.001384, allocations: 199.7 kB / 16.67 MB, free: 5.531 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.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.274/0.274, allocations: 54.96 MB / 324.9 MB, free: 4.855 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.001507/0.001507, allocations: 71.83 kB / 456.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1348, allocations: 59.59 MB / 0.5037 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirDerivativeCheck): time 0.002649/0.1376, allocations: 1.317 MB / 0.505 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.5654/0.703, allocations: 148.1 MB / 0.6496 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.7031, allocations: 0 / 0.6496 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.206e-05/0.7032, allocations: 3.938 kB / 0.6496 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.7033, allocations: 15.91 kB / 0.6496 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.7049, allocations: 332.7 kB / 0.6499 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.7051, allocations: 67.75 kB / 0.65 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.7051, allocations: 4 kB / 0.65 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.7052, allocations: 35.91 kB / 0.65 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.7054, allocations: 35.83 kB / 0.6501 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.7054, allocations: 4 kB / 0.6501 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.7065, allocations: 410.8 kB / 0.6505 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/0.7066, allocations: 15.97 kB / 0.6505 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.7067, allocations: 31.86 kB / 0.6505 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.7073, allocations: 148.4 kB / 0.6507 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7073, allocations: 4 kB / 0.6507 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7073, allocations: 0 / 0.6507 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.7073, allocations: 0 / 0.6507 GB, free: 10.44 MB / 0.4981 GB 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.0005658/0.7079, allocations: 402.5 kB / 0.651 GB, free: 10 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.7079, allocations: 8.031 kB / 0.6511 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005113/0.7084, allocations: 32.86 kB / 0.6511 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.7086, allocations: 172.5 kB / 0.6513 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.7086, allocations: 7.938 kB / 0.6513 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.7087, allocations: 19.94 kB / 0.6513 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.7089, allocations: 73.66 kB / 0.6513 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.7089, allocations: 0 / 0.6513 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.709, allocations: 0 / 0.6513 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.709, allocations: 8 kB / 0.6514 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.7091, allocations: 47.89 kB / 0.6514 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.7093, allocations: 189.6 kB / 0.6516 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.7095, allocations: 91.36 kB / 0.6517 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.7096, allocations: 32.94 kB / 0.6517 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.7099, allocations: 182.2 kB / 0.6519 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.7099, allocations: 34.56 kB / 0.6519 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.7099, allocations: 0 / 0.6519 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001428/0.7114, allocations: 0.5481 MB / 0.6524 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.7114, allocations: 55.41 kB / 0.6525 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.7115, allocations: 93.84 kB / 0.6526 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.7115, allocations: 33.7 kB / 0.6526 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.7116, allocations: 84.52 kB / 0.6527 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.7117, allocations: 67.39 kB / 0.6528 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.7117, allocations: 37.7 kB / 0.6528 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.7119, allocations: 330.9 kB / 0.6531 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.712, allocations: 31.98 kB / 0.6531 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.99e-05/0.7121, allocations: 75.27 kB / 0.6532 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.7123, allocations: 112.7 kB / 0.6533 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7123, allocations: 4 kB / 0.6533 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003456/0.7126, allocations: 155.9 kB / 0.6535 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.7127, allocations: 8 kB / 0.6535 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.7127, allocations: 0 / 0.6535 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.7127, allocations: 4.938 kB / 0.6535 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.7129, allocations: 43.92 kB / 0.6535 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.7129, allocations: 0 / 0.6535 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.713, allocations: 11.94 kB / 0.6535 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.713, allocations: 4 kB / 0.6535 GB, free: 7.168 MB / 0.4981 GB 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.0001292/0.7131, allocations: 121.8 kB / 0.6537 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.7132, allocations: 7.953 kB / 0.6537 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.7133, allocations: 20.44 kB / 0.6537 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7133, allocations: 4 kB / 0.6537 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.7133, allocations: 9.422 kB / 0.6537 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.7133, allocations: 3.938 kB / 0.6537 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.7135, allocations: 189.6 kB / 0.6539 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7135, allocations: 0 / 0.6539 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.7137, allocations: 43.92 kB / 0.6539 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.7137, allocations: 0 / 0.6539 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.7137, allocations: 0 / 0.6539 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7137, allocations: 4 kB / 0.6539 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7137, allocations: 4 kB / 0.6539 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.7141, allocations: 216.7 kB / 0.6541 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.7141, allocations: 85.09 kB / 0.6542 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.7142, allocations: 12.88 kB / 0.6542 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.7143, allocations: 8 kB / 0.6542 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.7143, allocations: 15.92 kB / 0.6543 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.7144, allocations: 11.92 kB / 0.6543 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.7144, allocations: 91.22 kB / 0.6544 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7144, allocations: 0 / 0.6544 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000228/0.7146, allocations: 24 kB / 0.6544 GB, free: 6.219 MB / 0.4981 GB 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.0001557/0.7148, allocations: 99.25 kB / 0.6545 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.715, allocations: 106.3 kB / 0.6546 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.715, allocations: 0 / 0.6546 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.7151, allocations: 63.09 kB / 0.6546 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.7154, allocations: 12 kB / 0.6546 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.7162, allocations: 0.5098 MB / 0.6551 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.7165, allocations: 0.7014 MB / 0.6558 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.7167, allocations: 20.62 kB / 0.6558 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.7167, allocations: 15.44 kB / 0.6559 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.7167, allocations: 0 / 0.6559 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of Templates: time 0.004087/0.7208, allocations: 1.132 MB / 0.657 GB, free: 3.52 MB / 0.4981 GB 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)