Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006777/0.006777, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001362/0.001362, allocations: 192.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8021/0.8021, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 57.84 kB / 0.5813 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1781, allocations: 80.21 MB / 0.6596 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002802/0.181, allocations: 1.335 MB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.3461, allocations: 148.1 MB / 0.8056 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.3462, allocations: 0 / 0.8056 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/0.3462, allocations: 7.922 kB / 0.8056 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.3464, allocations: 19.91 kB / 0.8056 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009859/0.3474, allocations: 326.6 kB / 0.8059 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3475, allocations: 67.75 kB / 0.806 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.3476, allocations: 8 kB / 0.806 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.3476, allocations: 31.91 kB / 0.806 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3477, allocations: 35.89 kB / 0.8061 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3477, allocations: 4 kB / 0.8061 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007965/0.3485, allocations: 410.8 kB / 0.8064 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.3486, allocations: 15.92 kB / 0.8065 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.3487, allocations: 27.91 kB / 0.8065 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.349, allocations: 159.6 kB / 0.8066 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.349, allocations: 3.938 kB / 0.8066 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.072e-06/0.349, allocations: 0 / 0.8066 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.349, allocations: 8 kB / 0.8067 GB, free: 6.414 MB / 0.6387 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.0004362/0.3494, allocations: 379.4 kB / 0.807 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3495, allocations: 12.03 kB / 0.807 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003892/0.3499, allocations: 44.73 kB / 0.8071 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.35, allocations: 164.3 kB / 0.8072 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.35, allocations: 11.92 kB / 0.8072 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.3501, allocations: 15.91 kB / 0.8073 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3502, allocations: 83.72 kB / 0.8073 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3502, allocations: 0 / 0.8073 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3503, allocations: 0 / 0.8073 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3503, allocations: 0 / 0.8073 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.209e-05/0.3504, allocations: 51.89 kB / 0.8074 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.3506, allocations: 181.6 kB / 0.8076 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.3507, allocations: 90.69 kB / 0.8076 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.3508, allocations: 33.17 kB / 0.8077 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.351, allocations: 174.2 kB / 0.8078 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3511, allocations: 46.44 kB / 0.8079 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.3511, allocations: 0 / 0.8079 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001225/0.3523, allocations: 0.5445 MB / 0.8084 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.3523, allocations: 51.41 kB / 0.8085 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.3524, allocations: 105.8 kB / 0.8086 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3524, allocations: 33.7 kB / 0.8086 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.3525, allocations: 84.64 kB / 0.8087 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.3525, allocations: 67 kB / 0.8087 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.3526, allocations: 41.7 kB / 0.8088 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3527, allocations: 322.8 kB / 0.8091 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.3528, allocations: 31.98 kB / 0.8091 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.364e-05/0.3528, allocations: 71.34 kB / 0.8092 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.353, allocations: 119.3 kB / 0.8093 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.353, allocations: 0 / 0.8093 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002096/0.3532, allocations: 157.5 kB / 0.8095 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3532, allocations: 9.875 kB / 0.8095 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3533, allocations: 3.984 kB / 0.8095 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3533, allocations: 4 kB / 0.8095 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3534, allocations: 35.92 kB / 0.8095 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3535, allocations: 4 kB / 0.8095 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.3535, allocations: 7.938 kB / 0.8095 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3535, allocations: 8 kB / 0.8095 GB, free: 3.152 MB / 0.6387 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.721e-05/0.3536, allocations: 125.8 kB / 0.8096 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.3536, allocations: 7.906 kB / 0.8096 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.3537, allocations: 16.44 kB / 0.8097 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3537, allocations: 4 kB / 0.8097 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3537, allocations: 0 / 0.8097 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3537, allocations: 7.922 kB / 0.8097 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.3539, allocations: 193.6 kB / 0.8099 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3539, allocations: 3.938 kB / 0.8099 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.3541, allocations: 39.98 kB / 0.8099 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3541, allocations: 0 / 0.8099 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3541, allocations: 4 kB / 0.8099 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3541, allocations: 4 kB / 0.8099 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3541, allocations: 0 / 0.8099 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.3544, allocations: 208.8 kB / 0.8101 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.3545, allocations: 97 kB / 0.8102 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3545, allocations: 4 kB / 0.8102 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3546, allocations: 12.25 kB / 0.8102 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.3547, allocations: 11.92 kB / 0.8102 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3547, allocations: 12 kB / 0.8102 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.3547, allocations: 79.27 kB / 0.8103 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3547, allocations: 4 kB / 0.8103 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002197/0.3549, allocations: 28 kB / 0.8103 GB, free: 2.207 MB / 0.6387 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.0001244/0.3551, allocations: 103.3 kB / 0.8104 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.3553, allocations: 107.8 kB / 0.8105 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3553, allocations: 4 kB / 0.8106 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.3554, allocations: 54.67 kB / 0.8106 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3556, allocations: 11.98 kB / 0.8106 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.3564, allocations: 0.5051 MB / 0.8111 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.3567, allocations: 0.6969 MB / 0.8118 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.591e-05/0.3568, allocations: 20.62 kB / 0.8118 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.3568, allocations: 19.44 kB / 0.8118 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.3568, allocations: 4 kB / 0.8118 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of Templates: time 0.3289/0.6858, allocations: 1.115 MB / 0.8129 GB, free: 156.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)