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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001189, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7087/0.7087, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 404.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 103.3 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 55.92 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1729, allocations: 80.43 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002576/0.1755, allocations: 1.399 MB / 0.6435 GB, free: 4.043 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.5038/0.6794, allocations: 145.8 MB / 0.7859 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.6795, allocations: 0 / 0.7859 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.439e-05/0.6796, allocations: 0 / 0.7859 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.6797, allocations: 15.17 kB / 0.7859 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.6806, allocations: 294.8 kB / 0.7862 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.6807, allocations: 86.77 kB / 0.7862 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.6808, allocations: 9.266 kB / 0.7863 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.6808, allocations: 30.91 kB / 0.7863 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.545e-05/0.6809, allocations: 28.62 kB / 0.7863 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.6809, allocations: 2.281 kB / 0.7863 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008334/0.6818, allocations: 0.4971 MB / 0.7868 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.6819, allocations: 24.42 kB / 0.7868 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.6819, allocations: 22.48 kB / 0.7868 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.6823, allocations: 191.3 kB / 0.787 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6823, allocations: 0 / 0.787 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6823, allocations: 0 / 0.787 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6823, allocations: 0 / 0.787 GB, free: 12.89 MB / 0.5261 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.0004551/0.6827, allocations: 388.1 kB / 0.7874 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6828, allocations: 8.031 kB / 0.7874 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.6832, allocations: 44.8 kB / 0.7874 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.796e-05/0.6833, allocations: 164.5 kB / 0.7876 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.6833, allocations: 11.94 kB / 0.7876 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.6833, allocations: 8 kB / 0.7876 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.6835, allocations: 81.58 kB / 0.7877 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6835, allocations: 0 / 0.7877 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.6836, allocations: 4 kB / 0.7877 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6836, allocations: 0 / 0.7877 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.6837, allocations: 55.88 kB / 0.7878 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.6839, allocations: 185.5 kB / 0.7879 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.684, allocations: 94.62 kB / 0.788 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.6841, allocations: 32.84 kB / 0.7881 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.6843, allocations: 170.2 kB / 0.7882 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.6844, allocations: 42.55 kB / 0.7883 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.6844, allocations: 4 kB / 0.7883 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001217/0.6856, allocations: 0.5393 MB / 0.7888 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.6857, allocations: 55.41 kB / 0.7888 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.6857, allocations: 101.8 kB / 0.7889 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.6857, allocations: 25.7 kB / 0.789 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.6858, allocations: 84.52 kB / 0.789 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.6858, allocations: 70.94 kB / 0.7891 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.6859, allocations: 41.7 kB / 0.7891 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.686, allocations: 322.8 kB / 0.7895 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.6861, allocations: 40.11 kB / 0.7895 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.6862, allocations: 69.23 kB / 0.7896 GB, free: 10 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.6863, allocations: 117.5 kB / 0.7897 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6863, allocations: 0 / 0.7897 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002054/0.6866, allocations: 161.4 kB / 0.7898 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6866, allocations: 4 kB / 0.7898 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6866, allocations: 8 kB / 0.7898 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6866, allocations: 0 / 0.7898 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.6868, allocations: 39.92 kB / 0.7899 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.6868, allocations: 3.984 kB / 0.7899 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.6869, allocations: 11.94 kB / 0.7899 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.6869, allocations: 7.938 kB / 0.7899 GB, free: 9.641 MB / 0.5261 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.687e-05/0.687, allocations: 119.2 kB / 0.79 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.687, allocations: 11.91 kB / 0.79 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.687, allocations: 16.44 kB / 0.79 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6871, allocations: 4 kB / 0.79 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6871, allocations: 4 kB / 0.79 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.6871, allocations: 3.938 kB / 0.7901 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.6872, allocations: 197.5 kB / 0.7902 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6872, allocations: 4 kB / 0.7902 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.6874, allocations: 31.98 kB / 0.7903 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6874, allocations: 0 / 0.7903 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.6874, allocations: 8 kB / 0.7903 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6875, allocations: 0 / 0.7903 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6875, allocations: 0 / 0.7903 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.6888, allocations: 1.351 MB / 0.7916 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.6889, allocations: 97 kB / 0.7917 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.6889, allocations: 7.984 kB / 0.7917 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.689, allocations: 8 kB / 0.7917 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.6891, allocations: 7.984 kB / 0.7917 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.6891, allocations: 8 kB / 0.7917 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.89e-05/0.6891, allocations: 79.28 kB / 0.7918 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.6891, allocations: 0 / 0.7918 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002776/0.6894, allocations: 36.09 kB / 0.7918 GB, free: 7.453 MB / 0.5261 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.000143/0.6895, allocations: 115.1 kB / 0.7919 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.6897, allocations: 104.1 kB / 0.792 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6897, allocations: 4 kB / 0.792 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.6898, allocations: 55.86 kB / 0.7921 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.6901, allocations: 21.64 kB / 0.7921 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009197/0.691, allocations: 0.6976 MB / 0.7928 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.6912, allocations: 0.7051 MB / 0.7935 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.6914, allocations: 28.41 kB / 0.7935 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.6914, allocations: 15.44 kB / 0.7935 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.6914, allocations: 0 / 0.7935 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of Templates: time 0.003316/0.6947, allocations: 1.16 MB / 0.7947 GB, free: 4.488 MB / 0.5261 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)