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.001787/0.001787, allocations: 112.9 kB / 16.41 MB, free: 6.012 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.001852/0.001852, allocations: 181.4 kB / 17.34 MB, free: 5.625 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8622/0.8622, allocations: 135.2 MB / 426.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 70.72 kB / 0.5863 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.173, allocations: 80.92 MB / 0.6653 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002629/0.1756, allocations: 1.341 MB / 0.6666 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5777/0.7533, allocations: 148.5 MB / 0.8117 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.7533, allocations: 0 / 0.8117 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.7534, allocations: 6.516 kB / 0.8117 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.922e-05/0.7535, allocations: 12.61 kB / 0.8117 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009072/0.7544, allocations: 342.3 kB / 0.812 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.7545, allocations: 58.59 kB / 0.8121 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.7545, allocations: 2.5 kB / 0.8121 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.7546, allocations: 33.83 kB / 0.8121 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.7547, allocations: 34.81 kB / 0.8121 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.7547, allocations: 3.812 kB / 0.8121 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007444/0.7554, allocations: 410.8 kB / 0.8125 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.7555, allocations: 27.44 kB / 0.8126 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.7555, allocations: 23.42 kB / 0.8126 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.7559, allocations: 163.7 kB / 0.8127 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.7559, allocations: 0 / 0.8127 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.91e-07/0.7559, allocations: 0 / 0.8127 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.7559, allocations: 1.969 kB / 0.8127 GB, free: 11.21 MB / 0.5919 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.0005402/0.7564, allocations: 394.5 kB / 0.8131 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.7564, allocations: 8.922 kB / 0.8131 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.7568, allocations: 40.88 kB / 0.8132 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.757, allocations: 167 kB / 0.8133 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.757, allocations: 9.562 kB / 0.8133 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.757, allocations: 10.55 kB / 0.8133 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.7572, allocations: 86.28 kB / 0.8134 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.7572, allocations: 0 / 0.8134 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.7572, allocations: 5.188 kB / 0.8134 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.7572, allocations: 1.594 kB / 0.8134 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.217e-05/0.7573, allocations: 45.17 kB / 0.8135 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.7576, allocations: 181.6 kB / 0.8136 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.7577, allocations: 88.38 kB / 0.8137 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.7578, allocations: 34.64 kB / 0.8138 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.7581, allocations: 178.3 kB / 0.8139 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.7581, allocations: 35.28 kB / 0.814 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.7581, allocations: 0 / 0.814 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001335/0.7594, allocations: 0.5542 MB / 0.8145 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.7595, allocations: 52.62 kB / 0.8146 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.7596, allocations: 98.94 kB / 0.8147 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.7596, allocations: 33.7 kB / 0.8147 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.7596, allocations: 84.45 kB / 0.8148 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.7597, allocations: 79.59 kB / 0.8148 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.7598, allocations: 39.42 kB / 0.8149 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.7599, allocations: 323.3 kB / 0.8152 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.76, allocations: 37.23 kB / 0.8152 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.7601, allocations: 70.75 kB / 0.8153 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.7602, allocations: 120.6 kB / 0.8154 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.7603, allocations: 0 / 0.8154 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00022/0.7605, allocations: 157 kB / 0.8156 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7605, allocations: 5.562 kB / 0.8156 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.7605, allocations: 1.375 kB / 0.8156 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7605, allocations: 3.125 kB / 0.8156 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.7607, allocations: 41.81 kB / 0.8156 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7607, allocations: 2.75 kB / 0.8156 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.7607, allocations: 8.75 kB / 0.8156 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.7607, allocations: 5.312 kB / 0.8156 GB, free: 9.051 MB / 0.5919 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 0.0001115/0.7609, allocations: 128.2 kB / 0.8157 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.7609, allocations: 8.078 kB / 0.8158 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.7609, allocations: 19.59 kB / 0.8158 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7609, allocations: 5.438 kB / 0.8158 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.7609, allocations: 1.438 kB / 0.8158 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.761, allocations: 5.906 kB / 0.8158 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.7611, allocations: 191.8 kB / 0.816 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7611, allocations: 0 / 0.816 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.7613, allocations: 34.89 kB / 0.816 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7613, allocations: 5.125 kB / 0.816 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.7613, allocations: 5.812 kB / 0.816 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7613, allocations: 0 / 0.816 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7613, allocations: 5.469 kB / 0.816 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.7616, allocations: 207.8 kB / 0.8162 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.7617, allocations: 92.86 kB / 0.8163 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.7617, allocations: 4.75 kB / 0.8163 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.7619, allocations: 4.125 kB / 0.8163 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.7619, allocations: 17.19 kB / 0.8163 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.7619, allocations: 10.64 kB / 0.8163 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.762, allocations: 81.28 kB / 0.8164 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.762, allocations: 0 / 0.8164 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002128/0.7622, allocations: 25.62 kB / 0.8164 GB, free: 8.461 MB / 0.5919 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.0001465/0.7623, allocations: 105.5 kB / 0.8165 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.7625, allocations: 108.1 kB / 0.8166 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7625, allocations: 3.938 kB / 0.8166 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.629e-05/0.7626, allocations: 49.09 kB / 0.8167 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.7628, allocations: 14.72 kB / 0.8167 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.7637, allocations: 0.5357 MB / 0.8172 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.764, allocations: 0.7028 MB / 0.8179 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.7641, allocations: 17.5 kB / 0.8179 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.7641, allocations: 3.938 kB / 0.8179 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of Templates: time 0.003059/0.7671, allocations: 1.319 MB / 0.8192 GB, free: 6.582 MB / 0.5919 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)