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.008809/0.008809, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.001551/0.001551, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.56/1.56, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4092/0.4092, allocations: 54.94 MB / 324.8 MB, free: 88 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.001575/0.001575, allocations: 74.94 kB / 456.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1473, allocations: 59.59 MB / 0.5037 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirDerivativeCheck): time 0.002033/0.1493, allocations: 1.312 MB / 0.505 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5251/0.6744, allocations: 148.1 MB / 0.6496 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.6746, allocations: 0 / 0.6496 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.6747, allocations: 6 kB / 0.6496 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.6748, allocations: 15.12 kB / 0.6497 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.6759, allocations: 341 kB / 0.65 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.6761, allocations: 67.83 kB / 0.65 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.6761, allocations: 4.922 kB / 0.6501 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.6762, allocations: 30.75 kB / 0.6501 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.6763, allocations: 33.17 kB / 0.6501 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.6763, allocations: 5.969 kB / 0.6501 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008752/0.6772, allocations: 408.7 kB / 0.6505 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.6773, allocations: 18.47 kB / 0.6505 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.6773, allocations: 26.66 kB / 0.6506 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.6777, allocations: 157.6 kB / 0.6507 GB, free: 380 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6777, allocations: 2.047 kB / 0.6507 GB, free: 380 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6777, allocations: 0 / 0.6507 GB, free: 380 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6777, allocations: 0 / 0.6507 GB, free: 380 kB / 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.0005707/0.6783, allocations: 400.4 kB / 0.6511 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.6784, allocations: 9.438 kB / 0.6511 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004455/0.6788, allocations: 32.36 kB / 0.6511 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.679, allocations: 168.5 kB / 0.6513 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.679, allocations: 9.812 kB / 0.6513 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.679, allocations: 14.34 kB / 0.6513 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.6792, allocations: 80.03 kB / 0.6514 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6793, allocations: 0.7812 kB / 0.6514 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.6793, allocations: 2.844 kB / 0.6514 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6793, allocations: 1.688 kB / 0.6514 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.6794, allocations: 43.84 kB / 0.6514 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.6796, allocations: 188.9 kB / 0.6516 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.6799, allocations: 94.56 kB / 0.6517 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.6799, allocations: 35.56 kB / 0.6517 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.6802, allocations: 176.8 kB / 0.6519 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.6802, allocations: 39.34 kB / 0.6519 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.6802, allocations: 0 / 0.6519 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001439/0.6817, allocations: 0.546 MB / 0.6525 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.6817, allocations: 53.62 kB / 0.6525 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.6818, allocations: 94.27 kB / 0.6526 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.6818, allocations: 30.45 kB / 0.6526 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.6819, allocations: 83.91 kB / 0.6527 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.682, allocations: 77.31 kB / 0.6528 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.682, allocations: 44.91 kB / 0.6528 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6822, allocations: 322.8 kB / 0.6531 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.6823, allocations: 36.98 kB / 0.6532 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.6824, allocations: 69.06 kB / 0.6533 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.6826, allocations: 119.3 kB / 0.6534 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6826, allocations: 0.8438 kB / 0.6534 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002501/0.6828, allocations: 160.2 kB / 0.6535 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6829, allocations: 8.562 kB / 0.6535 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6829, allocations: 1.938 kB / 0.6535 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6829, allocations: 1.562 kB / 0.6535 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.6831, allocations: 36.89 kB / 0.6536 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.6831, allocations: 2.094 kB / 0.6536 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.6831, allocations: 8.812 kB / 0.6536 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.6831, allocations: 5.5 kB / 0.6536 GB, free: 14.25 MB / 0.5137 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 8.409e-05/0.6832, allocations: 127.9 kB / 0.6537 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.6833, allocations: 8.625 kB / 0.6537 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.6833, allocations: 15.56 kB / 0.6537 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6833, allocations: 2.781 kB / 0.6537 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6833, allocations: 1.5 kB / 0.6537 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.6833, allocations: 14.72 kB / 0.6537 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.6835, allocations: 192.6 kB / 0.6539 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6835, allocations: 1.312 kB / 0.6539 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.6837, allocations: 36.41 kB / 0.654 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.6837, allocations: 7.828 kB / 0.654 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.6837, allocations: 4.812 kB / 0.654 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6838, allocations: 1.062 kB / 0.654 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6838, allocations: 2.312 kB / 0.654 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.6841, allocations: 215.9 kB / 0.6542 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.6842, allocations: 91.69 kB / 0.6543 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.6842, allocations: 1.75 kB / 0.6543 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.6843, allocations: 10.94 kB / 0.6543 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.6843, allocations: 15.23 kB / 0.6543 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.6844, allocations: 7.75 kB / 0.6543 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.6844, allocations: 76.91 kB / 0.6544 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6844, allocations: 0.7188 kB / 0.6544 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002228/0.6846, allocations: 28.56 kB / 0.6544 GB, free: 13.67 MB / 0.5137 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.0001529/0.6848, allocations: 106.6 kB / 0.6545 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.6851, allocations: 110.8 kB / 0.6546 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6851, allocations: 0.5938 kB / 0.6546 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/0.6852, allocations: 53.33 kB / 0.6547 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.6854, allocations: 17.92 kB / 0.6547 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.6864, allocations: 0.5058 MB / 0.6552 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.6868, allocations: 0.7018 MB / 0.6559 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.6869, allocations: 17.27 kB / 0.6559 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.6869, allocations: 19.38 kB / 0.6559 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.6869, allocations: 0 / 0.6559 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.003984/0.6909, allocations: 1.133 MB / 0.657 GB, free: 12.41 MB / 0.5137 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)