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.001476/0.001476, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001691/0.001691, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8093/0.8093, allocations: 132.2 MB / 423.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3658, allocations: 80.18 MB / 0.5807 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002186/0.368, allocations: 1.332 MB / 0.582 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1582/0.5262, allocations: 148.1 MB / 0.7266 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.5264, allocations: 0 / 0.7266 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.766e-05/0.5264, allocations: 7.922 kB / 0.7266 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.5267, allocations: 19.91 kB / 0.7267 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.5279, allocations: 325.8 kB / 0.727 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.5281, allocations: 71.7 kB / 0.727 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.5281, allocations: 0 / 0.727 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.5282, allocations: 27.92 kB / 0.7271 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.5283, allocations: 31.89 kB / 0.7271 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.5283, allocations: 7.984 kB / 0.7271 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/0.5293, allocations: 410.8 kB / 0.7275 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.5294, allocations: 19.92 kB / 0.7275 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.5294, allocations: 27.91 kB / 0.7275 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.5299, allocations: 157.6 kB / 0.7277 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5299, allocations: 4 kB / 0.7277 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5299, allocations: 3.938 kB / 0.7277 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5299, allocations: 0 / 0.7277 GB, free: 7.227 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.0005288/0.5304, allocations: 391.3 kB / 0.7281 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5305, allocations: 8.031 kB / 0.7281 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.531, allocations: 48.8 kB / 0.7281 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.5311, allocations: 164.4 kB / 0.7283 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.5311, allocations: 3.938 kB / 0.7283 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.5312, allocations: 15.98 kB / 0.7283 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.5314, allocations: 81.58 kB / 0.7284 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5314, allocations: 0 / 0.7284 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.5314, allocations: 0 / 0.7284 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5314, allocations: 4 kB / 0.7284 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.5315, allocations: 47.89 kB / 0.7284 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.5318, allocations: 193.4 kB / 0.7286 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.532, allocations: 86.69 kB / 0.7287 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.532, allocations: 32.84 kB / 0.7287 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.5323, allocations: 178.2 kB / 0.7289 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.5324, allocations: 38.5 kB / 0.7289 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.5324, allocations: 0 / 0.7289 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001383/0.5337, allocations: 0.542 MB / 0.7295 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.5338, allocations: 55.41 kB / 0.7295 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.5339, allocations: 101.8 kB / 0.7296 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.5339, allocations: 33.7 kB / 0.7296 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.5339, allocations: 80.52 kB / 0.7297 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.534, allocations: 67 kB / 0.7298 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.5341, allocations: 41.7 kB / 0.7298 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5342, allocations: 318.8 kB / 0.7301 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.5343, allocations: 40.09 kB / 0.7302 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.5344, allocations: 75.28 kB / 0.7302 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.5346, allocations: 119.3 kB / 0.7304 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5346, allocations: 0 / 0.7304 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002282/0.5348, allocations: 153.5 kB / 0.7305 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5348, allocations: 7.938 kB / 0.7305 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5348, allocations: 0 / 0.7305 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5349, allocations: 8 kB / 0.7305 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.5351, allocations: 44.05 kB / 0.7306 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5351, allocations: 0 / 0.7306 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.5351, allocations: 7.938 kB / 0.7306 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.5352, allocations: 8 kB / 0.7306 GB, free: 3.957 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.0001135/0.5353, allocations: 125.8 kB / 0.7307 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.5353, allocations: 7.906 kB / 0.7307 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.5354, allocations: 16.44 kB / 0.7307 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5354, allocations: 4 kB / 0.7307 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5354, allocations: 4 kB / 0.7307 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5354, allocations: 3.938 kB / 0.7307 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.5356, allocations: 197.6 kB / 0.7309 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5356, allocations: 0 / 0.7309 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.5358, allocations: 35.98 kB / 0.731 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5358, allocations: 0 / 0.731 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.5358, allocations: 7.984 kB / 0.731 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5358, allocations: 4 kB / 0.731 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5358, allocations: 0 / 0.731 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.5361, allocations: 210.4 kB / 0.7312 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.5362, allocations: 93.06 kB / 0.7313 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.5363, allocations: 4 kB / 0.7313 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5364, allocations: 11.98 kB / 0.7313 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.5364, allocations: 11.92 kB / 0.7313 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.5364, allocations: 8 kB / 0.7313 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.5365, allocations: 79.28 kB / 0.7314 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5365, allocations: 96 / 0.7314 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002291/0.5367, allocations: 32 kB / 0.7314 GB, free: 3.023 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.0001507/0.5369, allocations: 103.2 kB / 0.7315 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.5371, allocations: 121.9 kB / 0.7316 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5371, allocations: 0 / 0.7316 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.5372, allocations: 51.86 kB / 0.7317 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.5375, allocations: 19.98 kB / 0.7317 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.5384, allocations: 0.5457 MB / 0.7322 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.5387, allocations: 0.6969 MB / 0.7329 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.5387, allocations: 19.44 kB / 0.7329 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5387, allocations: 0 / 0.7329 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of Templates: time 0.002939/0.5417, allocations: 1.288 MB / 0.7342 GB, free: 120 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)