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.00167/0.00167, allocations: 109.9 kB / 16.37 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.001993/0.001993, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8294/0.8294, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 55.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3846, allocations: 80.19 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002121/0.3867, allocations: 1.331 MB / 0.5828 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1498/0.5365, allocations: 148.1 MB / 0.7274 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.5366, allocations: 0 / 0.7274 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.5366, allocations: 3.938 kB / 0.7274 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.5368, allocations: 15.91 kB / 0.7274 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.5376, allocations: 334.6 kB / 0.7277 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.5377, allocations: 63.81 kB / 0.7278 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.5377, allocations: 4 kB / 0.7278 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.951e-05/0.5378, allocations: 31.91 kB / 0.7278 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.722e-05/0.5379, allocations: 35.83 kB / 0.7279 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.5379, allocations: 0 / 0.7279 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007529/0.5387, allocations: 414.8 kB / 0.7283 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.5387, allocations: 19.97 kB / 0.7283 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.5388, allocations: 27.86 kB / 0.7283 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.5391, allocations: 161.3 kB / 0.7285 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5391, allocations: 0 / 0.7285 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5391, allocations: 0 / 0.7285 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.5391, allocations: 0 / 0.7285 GB, free: 7.164 MB / 0.5606 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.0004022/0.5395, allocations: 395.3 kB / 0.7288 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.5395, allocations: 8.031 kB / 0.7289 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.5399, allocations: 40.81 kB / 0.7289 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/0.54, allocations: 164.4 kB / 0.729 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.54, allocations: 11.94 kB / 0.7291 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.5401, allocations: 11.98 kB / 0.7291 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.5402, allocations: 77.59 kB / 0.7291 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.5402, allocations: 0 / 0.7291 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.5402, allocations: 4 kB / 0.7292 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5402, allocations: 0 / 0.7292 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.5403, allocations: 43.95 kB / 0.7292 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.5405, allocations: 197.4 kB / 0.7294 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.5407, allocations: 90.55 kB / 0.7295 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.5408, allocations: 29.27 kB / 0.7295 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.541, allocations: 186.1 kB / 0.7297 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.541, allocations: 38.56 kB / 0.7297 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.541, allocations: 0 / 0.7297 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001204/0.5423, allocations: 0.5346 MB / 0.7302 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.5423, allocations: 63.34 kB / 0.7303 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.5424, allocations: 105.8 kB / 0.7304 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.5424, allocations: 29.7 kB / 0.7304 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.5424, allocations: 80.52 kB / 0.7305 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.5425, allocations: 67 kB / 0.7306 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.5426, allocations: 41.7 kB / 0.7306 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5427, allocations: 318.8 kB / 0.7309 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.5427, allocations: 36.11 kB / 0.7309 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.5428, allocations: 73.84 kB / 0.731 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.543, allocations: 123.3 kB / 0.7311 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.543, allocations: 0 / 0.7311 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002127/0.5432, allocations: 157.5 kB / 0.7313 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5432, allocations: 4 kB / 0.7313 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5432, allocations: 4 kB / 0.7313 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5433, allocations: 4 kB / 0.7313 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.5434, allocations: 39.92 kB / 0.7313 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5434, allocations: 0 / 0.7313 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.5435, allocations: 15.88 kB / 0.7313 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.5435, allocations: 4 kB / 0.7313 GB, free: 3.895 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 0.0001016/0.5436, allocations: 121.8 kB / 0.7315 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.5436, allocations: 11.91 kB / 0.7315 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.5437, allocations: 16.44 kB / 0.7315 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5437, allocations: 0 / 0.7315 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5437, allocations: 7.984 kB / 0.7315 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5437, allocations: 7.938 kB / 0.7315 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.5439, allocations: 189.6 kB / 0.7317 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5439, allocations: 0 / 0.7317 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.5441, allocations: 39.92 kB / 0.7317 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.5441, allocations: 0 / 0.7317 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.5441, allocations: 8 kB / 0.7317 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5441, allocations: 0 / 0.7317 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5441, allocations: 3.938 kB / 0.7317 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.5444, allocations: 208.9 kB / 0.7319 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.5445, allocations: 97.06 kB / 0.732 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.5445, allocations: 0 / 0.732 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5446, allocations: 8.25 kB / 0.732 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.5447, allocations: 11.92 kB / 0.732 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.5447, allocations: 15.98 kB / 0.7321 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.713e-05/0.5447, allocations: 79.28 kB / 0.7321 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5447, allocations: 0 / 0.7321 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002106/0.545, allocations: 28.09 kB / 0.7322 GB, free: 2.961 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.0001268/0.5451, allocations: 107.2 kB / 0.7323 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.5453, allocations: 105.9 kB / 0.7324 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5453, allocations: 0 / 0.7324 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.5454, allocations: 59.91 kB / 0.7324 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.5456, allocations: 12 kB / 0.7324 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.5463, allocations: 0.5127 MB / 0.7329 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.5466, allocations: 0.6969 MB / 0.7336 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.508e-05/0.5467, allocations: 28.62 kB / 0.7336 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.5467, allocations: 15.44 kB / 0.7337 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/0.5467, allocations: 0 / 0.7337 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of Templates: time 0.003742/0.5505, allocations: 1.111 MB / 0.7347 GB, free: 272 kB / 0.5606 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)