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.001188/0.001188, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.001123/0.001123, allocations: 187.7 kB / 17.2 MB, free: 5.605 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8123/0.8123, allocations: 135.1 MB / 426.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 63.89 kB / 0.506 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3647, allocations: 80.91 MB / 0.585 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002204/0.367, allocations: 1.339 MB / 0.5863 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.15/0.517, allocations: 148.1 MB / 0.7309 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.5171, allocations: 0 / 0.7309 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.5172, allocations: 3.938 kB / 0.7309 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.5174, allocations: 19.91 kB / 0.7309 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.5184, allocations: 330.6 kB / 0.7313 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.5186, allocations: 63.81 kB / 0.7313 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.5186, allocations: 4 kB / 0.7313 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.5187, allocations: 23.92 kB / 0.7313 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.5188, allocations: 39.83 kB / 0.7314 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5188, allocations: 0 / 0.7314 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008964/0.5197, allocations: 414.9 kB / 0.7318 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.5198, allocations: 15.92 kB / 0.7318 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.5198, allocations: 27.91 kB / 0.7318 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.5202, allocations: 161.6 kB / 0.732 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5203, allocations: 0 / 0.732 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5203, allocations: 0 / 0.732 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.5203, allocations: 0 / 0.732 GB, free: 3.582 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.0004602/0.5208, allocations: 387.3 kB / 0.7323 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.5208, allocations: 17.09 kB / 0.7324 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004363/0.5212, allocations: 36.8 kB / 0.7324 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.5214, allocations: 164.4 kB / 0.7325 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.5214, allocations: 11.94 kB / 0.7326 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.5214, allocations: 8 kB / 0.7326 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.5216, allocations: 85.52 kB / 0.7326 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5216, allocations: 0 / 0.7326 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.5217, allocations: 0 / 0.7326 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5217, allocations: 4 kB / 0.7327 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.5218, allocations: 43.95 kB / 0.7327 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.522, allocations: 193.4 kB / 0.7329 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.5222, allocations: 93.58 kB / 0.733 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.5222, allocations: 32.84 kB / 0.733 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.5225, allocations: 178.2 kB / 0.7332 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5225, allocations: 38.56 kB / 0.7332 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.5225, allocations: 0 / 0.7332 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001304/0.5238, allocations: 0.5372 MB / 0.7337 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.5239, allocations: 59.34 kB / 0.7338 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.524, allocations: 105.7 kB / 0.7339 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.524, allocations: 33.7 kB / 0.7339 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.524, allocations: 80.52 kB / 0.734 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.5241, allocations: 63.02 kB / 0.7341 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.5242, allocations: 37.7 kB / 0.7341 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5243, allocations: 323 kB / 0.7344 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.5244, allocations: 39.98 kB / 0.7344 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.5245, allocations: 69.84 kB / 0.7345 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.5246, allocations: 123.3 kB / 0.7346 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5247, allocations: 0 / 0.7346 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002443/0.5249, allocations: 157.5 kB / 0.7348 GB, free: 396 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.5249, allocations: 7.984 kB / 0.7348 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5249, allocations: 4 kB / 0.7348 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.525, allocations: 4 kB / 0.7348 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.5252, allocations: 39.92 kB / 0.7348 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.5252, allocations: 0 / 0.7348 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.5253, allocations: 11.94 kB / 0.7348 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.5253, allocations: 4 kB / 0.7348 GB, free: 324 kB / 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.464e-05/0.5254, allocations: 122.7 kB / 0.735 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.5254, allocations: 7.906 kB / 0.735 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.5255, allocations: 24.42 kB / 0.735 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5255, allocations: 4 kB / 0.735 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5255, allocations: 0 / 0.735 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5255, allocations: 7.922 kB / 0.735 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.5257, allocations: 197.6 kB / 0.7352 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5257, allocations: 0 / 0.7352 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.5259, allocations: 39.92 kB / 0.7352 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5259, allocations: 0 / 0.7352 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5259, allocations: 8 kB / 0.7352 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5259, allocations: 0 / 0.7352 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5259, allocations: 0 / 0.7352 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.5262, allocations: 211.3 kB / 0.7354 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.5263, allocations: 97.06 kB / 0.7355 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.5264, allocations: 0 / 0.7355 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.5265, allocations: 8 kB / 0.7355 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.5265, allocations: 11.92 kB / 0.7355 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.5266, allocations: 8 kB / 0.7356 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.5266, allocations: 83.27 kB / 0.7356 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5266, allocations: 4.094 kB / 0.7356 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002349/0.5268, allocations: 24 kB / 0.7357 GB, free: 15.39 MB / 0.5762 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.0001217/0.527, allocations: 107.2 kB / 0.7358 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.5272, allocations: 124.1 kB / 0.7359 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5272, allocations: 0 / 0.7359 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.5273, allocations: 55.91 kB / 0.7359 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.5276, allocations: 29.94 kB / 0.736 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/0.5284, allocations: 0.5181 MB / 0.7365 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.5287, allocations: 0.7008 MB / 0.7372 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.5288, allocations: 23.44 kB / 0.7372 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.5288, allocations: 0 / 0.7372 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.003065/0.5318, allocations: 1.288 MB / 0.7384 GB, free: 12.48 MB / 0.5762 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)