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.001564/0.001563, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002349/0.002349, allocations: 197.8 kB / 16.14 MB, free: 6.695 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8031/0.8031, allocations: 132.2 MB / 422.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 60.53 kB / 0.5011 GB, free: 9.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1734, allocations: 80.21 MB / 0.5794 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002263/0.1757, allocations: 1.4 MB / 0.5808 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.458/0.6337, allocations: 145.8 MB / 0.7232 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.6338, allocations: 0 / 0.7232 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.61e-05/0.6338, allocations: 1.953 kB / 0.7232 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.634, allocations: 10.22 kB / 0.7232 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.635, allocations: 300.9 kB / 0.7235 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.6351, allocations: 85.27 kB / 0.7235 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.6352, allocations: 7.344 kB / 0.7235 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.6352, allocations: 29.17 kB / 0.7236 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.6353, allocations: 37.98 kB / 0.7236 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.6353, allocations: 3.812 kB / 0.7236 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009564/0.6363, allocations: 0.49 MB / 0.7241 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.6364, allocations: 13.22 kB / 0.7241 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.6364, allocations: 33.58 kB / 0.7241 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.6368, allocations: 186.8 kB / 0.7243 GB, free: 6.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6369, allocations: 2.938 kB / 0.7243 GB, free: 6.891 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6369, allocations: 0 / 0.7243 GB, free: 6.891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.6369, allocations: 0 / 0.7243 GB, free: 6.891 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.0004805/0.6374, allocations: 392.3 kB / 0.7247 GB, free: 6.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.6374, allocations: 9.094 kB / 0.7247 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004302/0.6378, allocations: 45.23 kB / 0.7247 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.638, allocations: 167.6 kB / 0.7249 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.638, allocations: 10.06 kB / 0.7249 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.638, allocations: 10.41 kB / 0.7249 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.6382, allocations: 76.23 kB / 0.725 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6382, allocations: 0 / 0.725 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.6383, allocations: 2.312 kB / 0.725 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6383, allocations: 0.9375 kB / 0.725 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.6384, allocations: 46.14 kB / 0.725 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.6386, allocations: 185.7 kB / 0.7252 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.6388, allocations: 103.4 kB / 0.7253 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.6389, allocations: 32.98 kB / 0.7253 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/0.6391, allocations: 177.2 kB / 0.7255 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.6392, allocations: 32.55 kB / 0.7255 GB, free: 5.723 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.6392, allocations: 4 kB / 0.7256 GB, free: 5.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.00136/0.6406, allocations: 0.5478 MB / 0.7261 GB, free: 5.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.6406, allocations: 52.94 kB / 0.7261 GB, free: 5.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.6407, allocations: 101.8 kB / 0.7262 GB, free: 5.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.6407, allocations: 31.55 kB / 0.7263 GB, free: 5.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.6408, allocations: 82.86 kB / 0.7263 GB, free: 5.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.6408, allocations: 66.41 kB / 0.7264 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.6409, allocations: 43.38 kB / 0.7264 GB, free: 4.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.641, allocations: 325.2 kB / 0.7268 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.6411, allocations: 33.39 kB / 0.7268 GB, free: 4.668 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/0.6412, allocations: 69.81 kB / 0.7269 GB, free: 4.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.6414, allocations: 122.3 kB / 0.727 GB, free: 4.551 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6414, allocations: 0 / 0.727 GB, free: 4.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002282/0.6416, allocations: 154.9 kB / 0.7271 GB, free: 4.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6416, allocations: 4.812 kB / 0.7271 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6416, allocations: 1.062 kB / 0.7271 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6417, allocations: 2.25 kB / 0.7271 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.6418, allocations: 42.42 kB / 0.7272 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.6418, allocations: 3.766 kB / 0.7272 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.6419, allocations: 10.34 kB / 0.7272 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.6419, allocations: 5.609 kB / 0.7272 GB, free: 4.461 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.353e-05/0.642, allocations: 123.8 kB / 0.7273 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.6421, allocations: 8.5 kB / 0.7273 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.6421, allocations: 16.44 kB / 0.7273 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6421, allocations: 2.469 kB / 0.7273 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6421, allocations: 1.875 kB / 0.7273 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6421, allocations: 9.125 kB / 0.7273 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.6423, allocations: 192.3 kB / 0.7275 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6423, allocations: 1.219 kB / 0.7275 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.6425, allocations: 43 kB / 0.7276 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.6425, allocations: 1.062 kB / 0.7276 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.6425, allocations: 5.156 kB / 0.7276 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.6426, allocations: 5.094 kB / 0.7276 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6426, allocations: 2.531 kB / 0.7276 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.6429, allocations: 206 kB / 0.7278 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.643, allocations: 94.64 kB / 0.7279 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.643, allocations: 1.891 kB / 0.7279 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.6431, allocations: 10.02 kB / 0.7279 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.6432, allocations: 8.844 kB / 0.7279 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.6432, allocations: 13.48 kB / 0.7279 GB, free: 3.863 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.6432, allocations: 77.03 kB / 0.728 GB, free: 3.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6432, allocations: 5.312 kB / 0.728 GB, free: 3.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002262/0.6435, allocations: 29.28 kB / 0.728 GB, free: 3.777 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 (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.0001493/0.6436, allocations: 114.1 kB / 0.7281 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.6438, allocations: 104.3 kB / 0.7282 GB, free: 3.652 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6438, allocations: 4 kB / 0.7282 GB, free: 3.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.6439, allocations: 51.97 kB / 0.7283 GB, free: 3.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.6442, allocations: 16.16 kB / 0.7283 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.6451, allocations: 0.5436 MB / 0.7288 GB, free: 3.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.6453, allocations: 0.7031 MB / 0.7295 GB, free: 2.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.6455, allocations: 22.77 kB / 0.7295 GB, free: 2.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.6455, allocations: 16.34 kB / 0.7295 GB, free: 2.508 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.6455, allocations: 0 / 0.7295 GB, free: 2.508 MB / 0.545 GB Notification: Performance of Templates: time 0.003532/0.649, allocations: 1.062 MB / 0.7306 GB, free: 2.41 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)