Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009274/0.0009274, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0013/0.001299, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 0.507 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.194, allocations: 82.32 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001408/0.1955, allocations: 1.033 MB / 0.5884 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5619/0.7574, allocations: 134.5 MB / 0.7197 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.7575, allocations: 3.938 kB / 0.7197 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.7576, allocations: 2.156 kB / 0.7197 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.7577, allocations: 16.95 kB / 0.7197 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.7586, allocations: 221.2 kB / 0.7199 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.7587, allocations: 72.08 kB / 0.72 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.7587, allocations: 6.016 kB / 0.72 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.7588, allocations: 37.02 kB / 0.72 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.7589, allocations: 32 kB / 0.7201 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.7589, allocations: 2.594 kB / 0.7201 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007203/0.7597, allocations: 257.9 kB / 0.7203 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.7597, allocations: 13.12 kB / 0.7203 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.7598, allocations: 32.45 kB / 0.7204 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.76, allocations: 99.89 kB / 0.7204 GB, free: 10.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.76, allocations: 1.219 kB / 0.7204 GB, free: 10.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7601, allocations: 4 kB / 0.7205 GB, free: 10.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7601, allocations: 0 / 0.7205 GB, free: 10.87 MB / 0.545 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.0005542/0.7606, allocations: 378.7 kB / 0.7208 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7607, allocations: 8.969 kB / 0.7208 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.7611, allocations: 33.94 kB / 0.7209 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.7613, allocations: 169.3 kB / 0.721 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.7613, allocations: 7.219 kB / 0.721 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.7613, allocations: 15.52 kB / 0.721 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.7615, allocations: 76.7 kB / 0.7211 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7616, allocations: 0 / 0.7211 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.7616, allocations: 1.75 kB / 0.7211 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.7616, allocations: 1.188 kB / 0.7211 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.7617, allocations: 50.53 kB / 0.7212 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.762, allocations: 185.6 kB / 0.7213 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.7622, allocations: 98.5 kB / 0.7214 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.7623, allocations: 32.48 kB / 0.7215 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.7625, allocations: 174.5 kB / 0.7216 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.7626, allocations: 44.42 kB / 0.7217 GB, free: 9.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.7626, allocations: 0 / 0.7217 GB, free: 9.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001383/0.764, allocations: 0.5415 MB / 0.7222 GB, free: 9.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.764, allocations: 53.88 kB / 0.7223 GB, free: 9.293 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.7641, allocations: 102.6 kB / 0.7223 GB, free: 9.188 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.7641, allocations: 31.8 kB / 0.7224 GB, free: 9.152 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.7642, allocations: 84.52 kB / 0.7225 GB, free: 9.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.7642, allocations: 73.95 kB / 0.7225 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/0.7643, allocations: 4 kB / 0.7225 GB, free: 9.004 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7644, allocations: 320.1 kB / 0.7228 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.7644, allocations: 33.22 kB / 0.7229 GB, free: 8.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.7645, allocations: 66.28 kB / 0.7229 GB, free: 8.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.7647, allocations: 50.5 kB / 0.723 GB, free: 8.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7647, allocations: 0 / 0.723 GB, free: 8.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002478/0.7649, allocations: 156.5 kB / 0.7231 GB, free: 8.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7649, allocations: 5.531 kB / 0.7231 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.765, allocations: 2.688 kB / 0.7231 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.765, allocations: 2.188 kB / 0.7231 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.7652, allocations: 40.06 kB / 0.7232 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7652, allocations: 2.188 kB / 0.7232 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.7652, allocations: 9.953 kB / 0.7232 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.7653, allocations: 5.062 kB / 0.7232 GB, free: 8.523 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.7654, allocations: 128.3 kB / 0.7233 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.7654, allocations: 4.156 kB / 0.7233 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.7654, allocations: 18.22 kB / 0.7233 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7655, allocations: 2.062 kB / 0.7233 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7655, allocations: 2.188 kB / 0.7233 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.7655, allocations: 1.406 kB / 0.7233 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.7657, allocations: 197.3 kB / 0.7235 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7657, allocations: 3.938 kB / 0.7235 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.7659, allocations: 35.45 kB / 0.7236 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7659, allocations: 5.188 kB / 0.7236 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.7659, allocations: 5.906 kB / 0.7236 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.7659, allocations: 3 kB / 0.7236 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7659, allocations: 0.6094 kB / 0.7236 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.7663, allocations: 209.4 kB / 0.7238 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.7663, allocations: 91.2 kB / 0.7239 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.7664, allocations: 2 kB / 0.7239 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7665, allocations: 18.14 kB / 0.7239 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.7665, allocations: 8.562 kB / 0.7239 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.7665, allocations: 10.14 kB / 0.7239 GB, free: 7.926 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.7666, allocations: 76.34 kB / 0.724 GB, free: 7.852 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7666, allocations: 1.188 kB / 0.724 GB, free: 7.852 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002284/0.7668, allocations: 29.39 kB / 0.724 GB, free: 7.844 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001522/0.767, allocations: 101.9 kB / 0.7241 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.7672, allocations: 111.5 kB / 0.7242 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7672, allocations: 1.094 kB / 0.7242 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.565e-05/0.7673, allocations: 56.91 kB / 0.7243 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.7676, allocations: 12.44 kB / 0.7243 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/0.7685, allocations: 0.6237 MB / 0.7249 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.7688, allocations: 0.6984 MB / 0.7256 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.769, allocations: 24.02 kB / 0.7256 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.769, allocations: 15.75 kB / 0.7256 GB, free: 6.551 MB / 0.545 GB Notification: Performance of SimCode: time 1.893e-06/0.769, allocations: 0 / 0.7256 GB, free: 6.551 MB / 0.545 GB Notification: Performance of Templates: time 0.003803/0.7728, allocations: 1.027 MB / 0.7266 GB, free: 6.441 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)