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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008294/0.0008294, 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.0008927/0.0008927, 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.156/1.156, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6688/0.6688, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002622, allocations: 8 kB / 0.5034 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3277, allocations: 81.58 MB / 0.5831 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.0009673/0.3287, allocations: 1.036 MB / 0.5841 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1296/0.4583, allocations: 134.5 MB / 0.7154 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.4583, allocations: 0 / 0.7154 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.4584, allocations: 3.938 kB / 0.7154 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.295e-05/0.4585, allocations: 15.91 kB / 0.7154 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.4592, allocations: 230.9 kB / 0.7156 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.98e-05/0.4593, allocations: 67.81 kB / 0.7157 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.997e-05/0.4593, allocations: 7.984 kB / 0.7157 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.4594, allocations: 31.91 kB / 0.7157 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.4594, allocations: 31.89 kB / 0.7158 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.4595, allocations: 4 kB / 0.7158 GB, free: 8.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.46, allocations: 255.3 kB / 0.716 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.4601, allocations: 15.98 kB / 0.716 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.4601, allocations: 37.64 kB / 0.7161 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.4603, allocations: 101.7 kB / 0.7162 GB, free: 7.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4603, allocations: 4 kB / 0.7162 GB, free: 7.836 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4603, allocations: 0 / 0.7162 GB, free: 7.836 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.4603, allocations: 0 / 0.7162 GB, free: 7.836 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.0003576/0.4607, allocations: 375.2 kB / 0.7165 GB, free: 7.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4607, allocations: 8.031 kB / 0.7165 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/0.4611, allocations: 43.81 kB / 0.7166 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.396e-05/0.4612, allocations: 163.1 kB / 0.7167 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4612, allocations: 4 kB / 0.7167 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.4612, allocations: 12 kB / 0.7168 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.4614, allocations: 89.23 kB / 0.7168 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.4614, allocations: 0 / 0.7168 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4614, allocations: 0 / 0.7168 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4614, allocations: 3.953 kB / 0.7168 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.4615, allocations: 47.95 kB / 0.7169 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.4617, allocations: 193.5 kB / 0.7171 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.4618, allocations: 94.62 kB / 0.7172 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.4619, allocations: 32.84 kB / 0.7172 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.4621, allocations: 170.2 kB / 0.7174 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4621, allocations: 42.56 kB / 0.7174 GB, free: 6.387 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.4621, allocations: 0 / 0.7174 GB, free: 6.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001131/0.4633, allocations: 0.5351 MB / 0.7179 GB, free: 5.801 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.4633, allocations: 67.3 kB / 0.718 GB, free: 5.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.4634, allocations: 93.86 kB / 0.7181 GB, free: 5.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4634, allocations: 29.7 kB / 0.7181 GB, free: 5.586 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.4634, allocations: 84.52 kB / 0.7182 GB, free: 5.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.4635, allocations: 67 kB / 0.7182 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.4635, allocations: 7.938 kB / 0.7183 GB, free: 5.426 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.4636, allocations: 322.8 kB / 0.7186 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.4637, allocations: 31.98 kB / 0.7186 GB, free: 5.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.4638, allocations: 67.53 kB / 0.7187 GB, free: 4.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.93e-05/0.4638, allocations: 47.98 kB / 0.7187 GB, free: 4.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4638, allocations: 0 / 0.7187 GB, free: 4.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001982/0.464, allocations: 161.4 kB / 0.7189 GB, free: 4.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4641, allocations: 4 kB / 0.7189 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4641, allocations: 4 kB / 0.7189 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4641, allocations: 3.984 kB / 0.7189 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.4643, allocations: 35.98 kB / 0.7189 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4643, allocations: 7.953 kB / 0.7189 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.4643, allocations: 8 kB / 0.7189 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.4643, allocations: 4 kB / 0.7189 GB, free: 4.715 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 7.795e-05/0.4644, allocations: 121.8 kB / 0.719 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.4644, allocations: 8 kB / 0.719 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.4645, allocations: 16.44 kB / 0.7191 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4645, allocations: 0 / 0.7191 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4645, allocations: 0 / 0.7191 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4645, allocations: 11.94 kB / 0.7191 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.4647, allocations: 193.6 kB / 0.7193 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4647, allocations: 4 kB / 0.7193 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.4649, allocations: 35.92 kB / 0.7193 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4649, allocations: 0 / 0.7193 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4649, allocations: 8 kB / 0.7193 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4649, allocations: 128 / 0.7193 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4649, allocations: 4 kB / 0.7193 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.4652, allocations: 210.3 kB / 0.7195 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.4652, allocations: 97.06 kB / 0.7196 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.4653, allocations: 4 kB / 0.7196 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.4654, allocations: 11.94 kB / 0.7196 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.4654, allocations: 7.984 kB / 0.7196 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.4654, allocations: 8 kB / 0.7196 GB, free: 3.895 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.4654, allocations: 83.27 kB / 0.7197 GB, free: 3.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4654, allocations: 0 / 0.7197 GB, free: 3.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000205/0.4656, allocations: 31.95 kB / 0.7197 GB, free: 3.781 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.0001055/0.4658, allocations: 111.3 kB / 0.7198 GB, free: 3.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.4659, allocations: 99.88 kB / 0.7199 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.466, allocations: 8 kB / 0.7199 GB, free: 3.559 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.466, allocations: 47.92 kB / 0.72 GB, free: 3.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.4662, allocations: 23.88 kB / 0.72 GB, free: 3.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007335/0.467, allocations: 0.6026 MB / 0.7206 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.4672, allocations: 0.7011 MB / 0.7213 GB, free: 2.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.4673, allocations: 28.41 kB / 0.7213 GB, free: 2.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.4673, allocations: 19.38 kB / 0.7213 GB, free: 2.086 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.4674, allocations: 0 / 0.7213 GB, free: 2.086 MB / 0.545 GB Notification: Performance of Templates: time 0.002836/0.4702, allocations: 1.018 MB / 0.7223 GB, free: 1.078 MB / 0.545 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)