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.001549/0.001549, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001505/0.001505, allocations: 193.1 kB / 16.25 MB, free: 6.633 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9468/0.9468, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 64.45 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 81.02 MB / 0.5845 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002347/0.1625, allocations: 1.389 MB / 0.5858 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4238/0.5863, allocations: 145.9 MB / 0.7283 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.5864, allocations: 0 / 0.7283 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.5864, allocations: 5.875 kB / 0.7283 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/0.5866, allocations: 14.44 kB / 0.7284 GB, free: 1.453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.5877, allocations: 307.6 kB / 0.7287 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.5879, allocations: 65.38 kB / 0.7287 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.5879, allocations: 4.016 kB / 0.7287 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.588, allocations: 38.62 kB / 0.7288 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.5881, allocations: 32.53 kB / 0.7288 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.5881, allocations: 3.438 kB / 0.7288 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009568/0.5891, allocations: 444.5 kB / 0.7292 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.5891, allocations: 12.33 kB / 0.7292 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.5892, allocations: 30.27 kB / 0.7293 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.5897, allocations: 191.9 kB / 0.7294 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5897, allocations: 1.375 kB / 0.7294 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5897, allocations: 0.6562 kB / 0.7294 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.5897, allocations: 0 / 0.7294 GB, free: 0.9922 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.0005541/0.5902, allocations: 391.7 kB / 0.7298 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.5903, allocations: 8.844 kB / 0.7298 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004247/0.5907, allocations: 37.34 kB / 0.7299 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.5909, allocations: 166.9 kB / 0.73 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5909, allocations: 7.219 kB / 0.73 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.5909, allocations: 10.12 kB / 0.73 GB, free: 404 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.5911, allocations: 80.75 kB / 0.7301 GB, free: 356 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5911, allocations: 4.703 kB / 0.7301 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.5912, allocations: 2.094 kB / 0.7301 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5912, allocations: 5.469 kB / 0.7301 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.5913, allocations: 45.33 kB / 0.7302 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.5915, allocations: 187.8 kB / 0.7303 GB, free: 128 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.5917, allocations: 93.34 kB / 0.7304 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.5918, allocations: 37.45 kB / 0.7305 GB, free: 60 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000265/0.5921, allocations: 175.6 kB / 0.7306 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.5921, allocations: 36 kB / 0.7307 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.5921, allocations: 0 / 0.7307 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001401/0.5935, allocations: 0.5502 MB / 0.7312 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.5936, allocations: 53.5 kB / 0.7313 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.5937, allocations: 102.6 kB / 0.7314 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.5937, allocations: 31.14 kB / 0.7314 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.5938, allocations: 81.7 kB / 0.7315 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.5938, allocations: 69.14 kB / 0.7315 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.5939, allocations: 43.42 kB / 0.7316 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5941, allocations: 318.7 kB / 0.7319 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.5941, allocations: 38.03 kB / 0.7319 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.5942, allocations: 71.2 kB / 0.732 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.5944, allocations: 120.7 kB / 0.7321 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5944, allocations: 0 / 0.7321 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000241/0.5947, allocations: 154.7 kB / 0.7322 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5947, allocations: 5.594 kB / 0.7322 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5947, allocations: 1.719 kB / 0.7322 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.5947, allocations: 1.406 kB / 0.7322 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.5949, allocations: 47.95 kB / 0.7323 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5949, allocations: 4 kB / 0.7323 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.595, allocations: 13.5 kB / 0.7323 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.595, allocations: 4.938 kB / 0.7323 GB, free: 14.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 0.0001099/0.5951, allocations: 127.6 kB / 0.7324 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.5951, allocations: 8.469 kB / 0.7324 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.5952, allocations: 18.25 kB / 0.7325 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5952, allocations: 1.938 kB / 0.7325 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5952, allocations: 0.7031 kB / 0.7325 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5952, allocations: 5.359 kB / 0.7325 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.5954, allocations: 196.8 kB / 0.7327 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5954, allocations: 1.531 kB / 0.7327 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.5956, allocations: 34.64 kB / 0.7327 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.351e-06/0.5956, allocations: 5.312 kB / 0.7327 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5956, allocations: 9.344 kB / 0.7327 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5956, allocations: 1.891 kB / 0.7327 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5956, allocations: 0 / 0.7327 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.596, allocations: 203.5 kB / 0.7329 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.5961, allocations: 95.3 kB / 0.733 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.5961, allocations: 2.156 kB / 0.733 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.5962, allocations: 9.438 kB / 0.733 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.5963, allocations: 14.03 kB / 0.733 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.5963, allocations: 12.56 kB / 0.733 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.5963, allocations: 77.84 kB / 0.7331 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5963, allocations: 0 / 0.7331 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002201/0.5966, allocations: 26.25 kB / 0.7331 GB, free: 13.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.0001452/0.5967, allocations: 111 kB / 0.7332 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.597, allocations: 124.9 kB / 0.7334 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.597, allocations: 0 / 0.7334 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.5971, allocations: 56.22 kB / 0.7334 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.5974, allocations: 17.42 kB / 0.7334 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.5983, allocations: 0.5324 MB / 0.7339 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.5986, allocations: 0.6988 MB / 0.7346 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.5987, allocations: 24 kB / 0.7347 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.5988, allocations: 15.53 kB / 0.7347 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of SimCode: time 2.004e-06/0.5988, allocations: 0 / 0.7347 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.004/0.6028, allocations: 1.121 MB / 0.7358 GB, free: 12.5 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)