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.001439/0.001439, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001811/0.001811, allocations: 197.7 kB / 16.14 MB, free: 6.648 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9377/0.9377, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 73.22 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1774, allocations: 80.92 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002352/0.1798, allocations: 1.39 MB / 0.5851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5416/0.7215, allocations: 145.8 MB / 0.7274 GB, free: 2.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.7216, allocations: 0 / 0.7274 GB, free: 2.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.719e-05/0.7217, allocations: 1.547 kB / 0.7274 GB, free: 2.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.7218, allocations: 13.89 kB / 0.7274 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.723, allocations: 300.3 kB / 0.7277 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.7232, allocations: 89.06 kB / 0.7278 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.7232, allocations: 3.766 kB / 0.7278 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.7233, allocations: 30.98 kB / 0.7278 GB, free: 2.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.7234, allocations: 33.47 kB / 0.7279 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.7234, allocations: 3.438 kB / 0.7279 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.7246, allocations: 0.4934 MB / 0.7284 GB, free: 2.082 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.7247, allocations: 21.78 kB / 0.7284 GB, free: 2.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.7247, allocations: 25.75 kB / 0.7284 GB, free: 2.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.7252, allocations: 183.9 kB / 0.7286 GB, free: 2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.7252, allocations: 0 / 0.7286 GB, free: 2 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.02e-07/0.7252, allocations: 5.062 kB / 0.7286 GB, free: 1.996 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.7252, allocations: 0 / 0.7286 GB, free: 1.996 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.0005004/0.7257, allocations: 395.6 kB / 0.729 GB, free: 1.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7257, allocations: 8.312 kB / 0.729 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.7262, allocations: 36.16 kB / 0.729 GB, free: 1.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.7263, allocations: 168.4 kB / 0.7292 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.7263, allocations: 10.12 kB / 0.7292 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.7264, allocations: 9.719 kB / 0.7292 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.7266, allocations: 82.06 kB / 0.7293 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.7266, allocations: 0 / 0.7293 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.7266, allocations: 1.031 kB / 0.7293 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.7266, allocations: 2.375 kB / 0.7293 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.7267, allocations: 53.28 kB / 0.7293 GB, free: 1.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.727, allocations: 190.4 kB / 0.7295 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.7272, allocations: 95.7 kB / 0.7296 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.7273, allocations: 37.23 kB / 0.7296 GB, free: 1.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.7275, allocations: 173.9 kB / 0.7298 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.7276, allocations: 35.91 kB / 0.7298 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.7276, allocations: 0 / 0.7298 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001414/0.729, allocations: 0.5459 MB / 0.7304 GB, free: 484 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.7291, allocations: 54.25 kB / 0.7304 GB, free: 420 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.7291, allocations: 99.28 kB / 0.7305 GB, free: 316 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.7292, allocations: 31.11 kB / 0.7305 GB, free: 280 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.7292, allocations: 81.86 kB / 0.7306 GB, free: 196 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.7293, allocations: 68.17 kB / 0.7307 GB, free: 140 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.7293, allocations: 38.34 kB / 0.7307 GB, free: 112 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7295, allocations: 323.4 kB / 0.731 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.7296, allocations: 39.33 kB / 0.7311 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.7297, allocations: 69.62 kB / 0.7311 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.7299, allocations: 118 kB / 0.7312 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7299, allocations: 0 / 0.7312 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002313/0.7301, allocations: 161 kB / 0.7314 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7301, allocations: 5.469 kB / 0.7314 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7302, allocations: 1.406 kB / 0.7314 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.7302, allocations: 1.312 kB / 0.7314 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.7304, allocations: 42.53 kB / 0.7314 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.7304, allocations: 3.281 kB / 0.7314 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.7304, allocations: 14.22 kB / 0.7315 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.7305, allocations: 5.219 kB / 0.7315 GB, free: 15.57 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 9.975e-05/0.7306, allocations: 122.5 kB / 0.7316 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.7306, allocations: 9.031 kB / 0.7316 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.7307, allocations: 21.48 kB / 0.7316 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7307, allocations: 1.219 kB / 0.7316 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7307, allocations: 1.344 kB / 0.7316 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.7307, allocations: 3.938 kB / 0.7316 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.7309, allocations: 196.8 kB / 0.7318 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7309, allocations: 0 / 0.7318 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.7311, allocations: 35.75 kB / 0.7318 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7311, allocations: 5.25 kB / 0.7318 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.7311, allocations: 5.312 kB / 0.7318 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7311, allocations: 1.469 kB / 0.7319 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7311, allocations: 0 / 0.7319 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.7315, allocations: 212 kB / 0.7321 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.7315, allocations: 94.23 kB / 0.7321 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.7316, allocations: 3.875 kB / 0.7321 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.7317, allocations: 7.406 kB / 0.7322 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.7317, allocations: 13.88 kB / 0.7322 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.7318, allocations: 12.53 kB / 0.7322 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.7318, allocations: 80.11 kB / 0.7323 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7318, allocations: 0 / 0.7323 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002256/0.732, allocations: 25.84 kB / 0.7323 GB, free: 14.89 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.0001582/0.7322, allocations: 106.7 kB / 0.7324 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.7325, allocations: 114.7 kB / 0.7325 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.7325, allocations: 1.25 kB / 0.7325 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/0.7326, allocations: 55.25 kB / 0.7325 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.7329, allocations: 15.22 kB / 0.7326 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009191/0.7338, allocations: 0.5425 MB / 0.7331 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.7341, allocations: 0.7001 MB / 0.7338 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000134/0.7342, allocations: 27.59 kB / 0.7338 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.7343, allocations: 16 kB / 0.7338 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.7343, allocations: 0 / 0.7338 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.003728/0.738, allocations: 1.078 MB / 0.7349 GB, free: 13.51 MB / 0.5606 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)