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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 182.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/package.mo): time 0.78/0.78, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.461/1.461, allocations: 222.9 MB / 403.4 MB, free: 7.102 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.001047/0.001047, allocations: 109 kB / 484.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 51.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1598, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.003078/0.1629, allocations: 1.399 MB / 0.6415 GB, free: 5.375 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4893/0.6523, allocations: 145.8 MB / 0.7839 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.6524, allocations: 0 / 0.7839 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.49e-05/0.6525, allocations: 3.938 kB / 0.7839 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.6526, allocations: 26.53 kB / 0.7839 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.6535, allocations: 299.6 kB / 0.7842 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.6536, allocations: 76.66 kB / 0.7843 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.6537, allocations: 5.062 kB / 0.7843 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.6537, allocations: 34.38 kB / 0.7843 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.773e-05/0.6538, allocations: 36.86 kB / 0.7844 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.6539, allocations: 2.719 kB / 0.7844 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.6549, allocations: 497.3 kB / 0.7848 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.6549, allocations: 16.83 kB / 0.7848 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.655, allocations: 32.06 kB / 0.7849 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.6554, allocations: 184.4 kB / 0.7851 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6554, allocations: 0 / 0.7851 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6554, allocations: 0 / 0.7851 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.6554, allocations: 4 kB / 0.7851 GB, free: 14.59 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.0004925/0.6559, allocations: 402.6 kB / 0.7854 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.656, allocations: 9.906 kB / 0.7855 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.6564, allocations: 33.88 kB / 0.7855 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.704e-05/0.6565, allocations: 160.6 kB / 0.7856 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.6565, allocations: 12.66 kB / 0.7857 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.6566, allocations: 12.58 kB / 0.7857 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.6567, allocations: 85.16 kB / 0.7857 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.6567, allocations: 0 / 0.7857 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.6568, allocations: 4 kB / 0.7857 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6568, allocations: 2.25 kB / 0.7857 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.6569, allocations: 45.14 kB / 0.7858 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.6571, allocations: 188 kB / 0.786 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.6573, allocations: 95.73 kB / 0.7861 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.6574, allocations: 31.16 kB / 0.7861 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.6577, allocations: 178.9 kB / 0.7863 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.6577, allocations: 32.66 kB / 0.7863 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.6577, allocations: 0 / 0.7863 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001349/0.6591, allocations: 0.5467 MB / 0.7868 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.6591, allocations: 51.41 kB / 0.7869 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.6592, allocations: 97.84 kB / 0.787 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.6592, allocations: 29.7 kB / 0.787 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.6593, allocations: 96.52 kB / 0.7871 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.326e-05/0.6594, allocations: 70.98 kB / 0.7872 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/0.6595, allocations: 37.72 kB / 0.7872 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6596, allocations: 326.8 kB / 0.7875 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.6596, allocations: 31.98 kB / 0.7875 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.6597, allocations: 68.22 kB / 0.7876 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.6599, allocations: 120.2 kB / 0.7877 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6599, allocations: 0 / 0.7877 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002194/0.6601, allocations: 157.8 kB / 0.7879 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6601, allocations: 8 kB / 0.7879 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6601, allocations: 0 / 0.7879 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6602, allocations: 0 / 0.7879 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6603, allocations: 43.92 kB / 0.7879 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6603, allocations: 4 kB / 0.7879 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.6604, allocations: 3.938 kB / 0.7879 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.6604, allocations: 12 kB / 0.7879 GB, free: 11.57 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.584e-05/0.6605, allocations: 127.1 kB / 0.7881 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.6605, allocations: 7.906 kB / 0.7881 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.6606, allocations: 16.44 kB / 0.7881 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.6606, allocations: 7.984 kB / 0.7881 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6606, allocations: 0 / 0.7881 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6606, allocations: 7.875 kB / 0.7881 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.6608, allocations: 189.6 kB / 0.7883 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6608, allocations: 0 / 0.7883 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.661, allocations: 39.98 kB / 0.7883 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.661, allocations: 4 kB / 0.7883 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.661, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.6611, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6611, allocations: 3.938 kB / 0.7883 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.6625, allocations: 1.354 MB / 0.7896 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.6626, allocations: 96.94 kB / 0.7897 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.6626, allocations: 4.375 kB / 0.7897 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.6627, allocations: 8 kB / 0.7897 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.6627, allocations: 7.984 kB / 0.7898 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.6628, allocations: 20 kB / 0.7898 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.6628, allocations: 79.27 kB / 0.7899 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6628, allocations: 0 / 0.7899 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002841/0.6631, allocations: 32 kB / 0.7899 GB, free: 9.375 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.0001323/0.6632, allocations: 103.2 kB / 0.79 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.6634, allocations: 107.3 kB / 0.7901 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6634, allocations: 8 kB / 0.7901 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.6635, allocations: 51.92 kB / 0.7901 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.6638, allocations: 19.92 kB / 0.7902 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008799/0.6647, allocations: 0.6983 MB / 0.7908 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.6649, allocations: 0.7012 MB / 0.7915 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001448/0.6651, allocations: 32.39 kB / 0.7916 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.6651, allocations: 15.44 kB / 0.7916 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/0.6651, allocations: 4 kB / 0.7916 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of Templates: time 0.003473/0.6686, allocations: 1.145 MB / 0.7927 GB, free: 6.426 MB / 0.5261 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)