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.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001679, allocations: 191.5 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.057/1.057, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 56.44 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.198, allocations: 80.93 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.003221/0.2013, allocations: 1.322 MB / 0.5857 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.493/0.6943, allocations: 148.1 MB / 0.7303 GB, free: 480 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.6944, allocations: 0 / 0.7303 GB, free: 480 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.6944, allocations: 1.922 kB / 0.7303 GB, free: 480 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.6946, allocations: 17.97 kB / 0.7303 GB, free: 468 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.6956, allocations: 326.5 kB / 0.7306 GB, free: 308 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.6957, allocations: 73.25 kB / 0.7307 GB, free: 276 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.6958, allocations: 3.766 kB / 0.7307 GB, free: 276 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.6958, allocations: 31.05 kB / 0.7307 GB, free: 264 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.6959, allocations: 31.14 kB / 0.7307 GB, free: 252 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.696, allocations: 2.562 kB / 0.7307 GB, free: 252 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009307/0.6969, allocations: 409 kB / 0.7311 GB, free: 84 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.697, allocations: 11.55 kB / 0.7311 GB, free: 80 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.697, allocations: 37.7 kB / 0.7312 GB, free: 56 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.6974, allocations: 158.7 kB / 0.7313 GB, free: 4 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6974, allocations: 1.125 kB / 0.7313 GB, free: 4 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6974, allocations: 0 / 0.7313 GB, free: 4 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6974, allocations: 0 / 0.7313 GB, free: 4 kB / 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.0005505/0.698, allocations: 392.1 kB / 0.7317 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.698, allocations: 9.75 kB / 0.7317 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/0.6985, allocations: 38.47 kB / 0.7317 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.6986, allocations: 169.8 kB / 0.7319 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.6986, allocations: 10.53 kB / 0.7319 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.6987, allocations: 9.312 kB / 0.7319 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.6988, allocations: 76.97 kB / 0.732 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.6989, allocations: 0.75 kB / 0.732 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.6989, allocations: 1.406 kB / 0.732 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.6989, allocations: 1.344 kB / 0.732 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.875e-05/0.699, allocations: 47.19 kB / 0.732 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.6992, allocations: 194.6 kB / 0.7322 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.6994, allocations: 94.52 kB / 0.7323 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.6995, allocations: 33.11 kB / 0.7323 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.6997, allocations: 175.3 kB / 0.7325 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.6998, allocations: 41.75 kB / 0.7326 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.6998, allocations: 0 / 0.7326 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001343/0.7011, allocations: 0.5406 MB / 0.7331 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.7012, allocations: 54.55 kB / 0.7331 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.7013, allocations: 102.7 kB / 0.7332 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.7013, allocations: 27.78 kB / 0.7333 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.7013, allocations: 88.52 kB / 0.7333 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.7014, allocations: 64.47 kB / 0.7334 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.7015, allocations: 38.73 kB / 0.7334 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7016, allocations: 323.9 kB / 0.7338 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.7017, allocations: 40.05 kB / 0.7338 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.533e-05/0.7018, allocations: 73.08 kB / 0.7339 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.702, allocations: 117.2 kB / 0.734 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.702, allocations: 1.406 kB / 0.734 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002553/0.7022, allocations: 161.3 kB / 0.7341 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7023, allocations: 8.844 kB / 0.7341 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7023, allocations: 1.406 kB / 0.7341 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7023, allocations: 7.469 kB / 0.7341 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.7025, allocations: 39.17 kB / 0.7342 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.7025, allocations: 6.703 kB / 0.7342 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.7026, allocations: 11.58 kB / 0.7342 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.7026, allocations: 5.125 kB / 0.7342 GB, free: 13.57 MB / 0.5606 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.142e-05/0.7027, allocations: 119.5 kB / 0.7343 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.7027, allocations: 9.062 kB / 0.7343 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.7028, allocations: 21.17 kB / 0.7343 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7028, allocations: 2.906 kB / 0.7343 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7028, allocations: 4 kB / 0.7344 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7028, allocations: 5.109 kB / 0.7344 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.703, allocations: 197.4 kB / 0.7345 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.703, allocations: 0 / 0.7345 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.7032, allocations: 39.75 kB / 0.7346 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7032, allocations: 1.688 kB / 0.7346 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7032, allocations: 5.844 kB / 0.7346 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7032, allocations: 0 / 0.7346 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7032, allocations: 1.969 kB / 0.7346 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.7036, allocations: 213 kB / 0.7348 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.7036, allocations: 91.86 kB / 0.7349 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.7037, allocations: 5.625 kB / 0.7349 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.7038, allocations: 9.859 kB / 0.7349 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.7038, allocations: 8.578 kB / 0.7349 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.7039, allocations: 13.25 kB / 0.7349 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.7039, allocations: 78.19 kB / 0.735 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7039, allocations: 0 / 0.735 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002229/0.7041, allocations: 26.09 kB / 0.735 GB, free: 12.89 MB / 0.5606 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.0001398/0.7043, allocations: 107.3 kB / 0.7351 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.7045, allocations: 118.9 kB / 0.7352 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7045, allocations: 0 / 0.7352 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.7046, allocations: 54.39 kB / 0.7353 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.7049, allocations: 15.92 kB / 0.7353 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/0.7058, allocations: 0.5132 MB / 0.7358 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.706, allocations: 0.6985 MB / 0.7365 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.7062, allocations: 28.67 kB / 0.7365 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.7062, allocations: 19.19 kB / 0.7365 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.7062, allocations: 3.938 kB / 0.7365 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.003812/0.7101, allocations: 1.106 MB / 0.7376 GB, free: 11.54 MB / 0.5606 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)