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.008268/0.008268, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001347/0.001347, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4411/0.4411, allocations: 54.94 MB / 324.8 MB, free: 15.98 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.001426/0.001426, allocations: 68.34 kB / 456.2 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.12, allocations: 59.59 MB / 0.5037 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirDerivativeCheck): time 0.002103/0.1222, allocations: 1.319 MB / 0.505 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5791/0.7013, allocations: 148.1 MB / 0.6496 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.7014, allocations: 0.6562 kB / 0.6496 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.327e-05/0.7016, allocations: 5.578 kB / 0.6496 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.7017, allocations: 11.28 kB / 0.6496 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.7029, allocations: 331 kB / 0.6499 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.703, allocations: 64.89 kB / 0.65 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.7031, allocations: 10.25 kB / 0.65 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.7032, allocations: 30.67 kB / 0.65 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.7033, allocations: 30.58 kB / 0.6501 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.7033, allocations: 3.344 kB / 0.6501 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008454/0.7042, allocations: 410.2 kB / 0.6505 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.7042, allocations: 18.84 kB / 0.6505 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.7043, allocations: 27.53 kB / 0.6505 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.7047, allocations: 157.2 kB / 0.6506 GB, free: 412 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7047, allocations: 1.031 kB / 0.6506 GB, free: 412 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7047, allocations: 0 / 0.6506 GB, free: 412 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.7047, allocations: 1.203 kB / 0.6506 GB, free: 412 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.0005626/0.7053, allocations: 394.4 kB / 0.651 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.7053, allocations: 9.875 kB / 0.651 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.7058, allocations: 40.27 kB / 0.6511 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7059, allocations: 164.8 kB / 0.6512 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.7059, allocations: 6.688 kB / 0.6512 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.706, allocations: 12.66 kB / 0.6512 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.7062, allocations: 83.34 kB / 0.6513 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7062, allocations: 0 / 0.6513 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.7062, allocations: 8.719 kB / 0.6513 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.7062, allocations: 1.438 kB / 0.6513 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.7064, allocations: 44.42 kB / 0.6514 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.7066, allocations: 194.6 kB / 0.6516 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.7069, allocations: 92.44 kB / 0.6517 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.7069, allocations: 30.02 kB / 0.6517 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.7072, allocations: 177.1 kB / 0.6519 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.7073, allocations: 38.66 kB / 0.6519 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.7073, allocations: 0 / 0.6519 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001508/0.7088, allocations: 0.5457 MB / 0.6524 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.7089, allocations: 57.66 kB / 0.6525 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.709, allocations: 98.59 kB / 0.6526 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.709, allocations: 32.25 kB / 0.6526 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.709, allocations: 81.55 kB / 0.6527 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.7091, allocations: 73.59 kB / 0.6527 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.7092, allocations: 45 kB / 0.6528 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7093, allocations: 325.8 kB / 0.6531 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.7094, allocations: 37.67 kB / 0.6531 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.7095, allocations: 72.8 kB / 0.6532 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.7097, allocations: 114.3 kB / 0.6533 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7097, allocations: 0.5625 kB / 0.6533 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002444/0.71, allocations: 157.5 kB / 0.6535 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.71, allocations: 6.25 kB / 0.6535 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.71, allocations: 6.203 kB / 0.6535 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.71, allocations: 2.375 kB / 0.6535 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.7102, allocations: 40.33 kB / 0.6535 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7102, allocations: 2.781 kB / 0.6535 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.7103, allocations: 11.66 kB / 0.6535 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.7103, allocations: 5.812 kB / 0.6535 GB, free: 14.28 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 9.436e-05/0.7104, allocations: 120.6 kB / 0.6537 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.7104, allocations: 5.094 kB / 0.6537 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.7105, allocations: 19.19 kB / 0.6537 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.7105, allocations: 6.312 kB / 0.6537 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.7105, allocations: 0 / 0.6537 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.7105, allocations: 8.75 kB / 0.6537 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.7107, allocations: 192.3 kB / 0.6539 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7107, allocations: 0 / 0.6539 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.7109, allocations: 39.8 kB / 0.6539 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.7109, allocations: 0.8438 kB / 0.6539 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.711, allocations: 5.688 kB / 0.6539 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.711, allocations: 0.8125 kB / 0.6539 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.711, allocations: 0.875 kB / 0.6539 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.7113, allocations: 216 kB / 0.6541 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.7114, allocations: 88.56 kB / 0.6542 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.7115, allocations: 6.953 kB / 0.6542 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.7116, allocations: 14.19 kB / 0.6542 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.7116, allocations: 10.84 kB / 0.6542 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.7117, allocations: 14.56 kB / 0.6543 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.7117, allocations: 77.03 kB / 0.6543 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7117, allocations: 4.094 kB / 0.6543 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002309/0.712, allocations: 28.88 kB / 0.6544 GB, free: 13.7 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.0001568/0.7121, allocations: 102.9 kB / 0.6545 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.7124, allocations: 108.1 kB / 0.6546 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.7124, allocations: 0.5938 kB / 0.6546 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.7125, allocations: 50.3 kB / 0.6546 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.7129, allocations: 21.23 kB / 0.6546 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009891/0.7139, allocations: 0.5021 MB / 0.6551 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.7142, allocations: 0.701 MB / 0.6558 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.7144, allocations: 25.2 kB / 0.6558 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.7144, allocations: 15.38 kB / 0.6558 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.7144, allocations: 0.5312 kB / 0.6558 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.003932/0.7184, allocations: 1.156 MB / 0.657 GB, free: 12.43 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)