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.001188/0.001188, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007473/0.007472, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8011/0.8011, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004072, allocations: 8 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5612, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001371/0.5627, allocations: 1.061 MB / 0.5847 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1773/0.74, allocations: 144.3 MB / 0.7256 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.7401, allocations: 0 / 0.7256 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/0.7402, allocations: 7.922 kB / 0.7256 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.7403, allocations: 11.92 kB / 0.7256 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.7416, allocations: 294.9 kB / 0.7259 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.7417, allocations: 83.73 kB / 0.7259 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.7418, allocations: 4 kB / 0.7259 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.7419, allocations: 27.92 kB / 0.726 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.742, allocations: 43.83 kB / 0.726 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.742, allocations: 4 kB / 0.726 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.7432, allocations: 498.6 kB / 0.7265 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.7433, allocations: 23.91 kB / 0.7265 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.7434, allocations: 49.62 kB / 0.7266 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.7439, allocations: 185.5 kB / 0.7267 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7439, allocations: 0 / 0.7267 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7439, allocations: 0 / 0.7267 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7439, allocations: 0 / 0.7267 GB, free: 13.42 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.0006594/0.7446, allocations: 379.4 kB / 0.7271 GB, free: 13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.7447, allocations: 11.97 kB / 0.7271 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/0.7452, allocations: 32.81 kB / 0.7271 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.7453, allocations: 168.4 kB / 0.7273 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.7454, allocations: 7.922 kB / 0.7273 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.7454, allocations: 12 kB / 0.7273 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.7456, allocations: 77.59 kB / 0.7274 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.7456, allocations: 4 kB / 0.7274 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.7457, allocations: 0 / 0.7274 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.7457, allocations: 4 kB / 0.7274 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.953e-05/0.7458, allocations: 47.89 kB / 0.7275 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/0.746, allocations: 197.4 kB / 0.7276 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.7462, allocations: 82.61 kB / 0.7277 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.7463, allocations: 36.94 kB / 0.7278 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.7467, allocations: 178.2 kB / 0.7279 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.688e-05/0.7467, allocations: 38.5 kB / 0.728 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.7467, allocations: 0 / 0.728 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001432/0.7482, allocations: 0.5423 MB / 0.7285 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.7482, allocations: 59.39 kB / 0.7286 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.7483, allocations: 97.8 kB / 0.7286 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.7483, allocations: 33.7 kB / 0.7287 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.7484, allocations: 80.52 kB / 0.7288 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/0.7485, allocations: 71.12 kB / 0.7288 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.7485, allocations: 25.72 kB / 0.7288 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7486, allocations: 318.8 kB / 0.7291 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.7487, allocations: 31.98 kB / 0.7292 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.7488, allocations: 71.34 kB / 0.7292 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.749, allocations: 127.3 kB / 0.7294 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.749, allocations: 4 kB / 0.7294 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002421/0.7492, allocations: 157.5 kB / 0.7295 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7492, allocations: 4 kB / 0.7295 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7493, allocations: 0 / 0.7295 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.7493, allocations: 4 kB / 0.7295 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.7495, allocations: 47.86 kB / 0.7296 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7495, allocations: 0 / 0.7296 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.7496, allocations: 7.938 kB / 0.7296 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.7496, allocations: 8 kB / 0.7296 GB, free: 10.18 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.0001496/0.7497, allocations: 121.8 kB / 0.7297 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.7498, allocations: 7.906 kB / 0.7297 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.7498, allocations: 20.44 kB / 0.7297 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7498, allocations: 3.938 kB / 0.7297 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.7498, allocations: 7.969 kB / 0.7297 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7499, allocations: 3.938 kB / 0.7297 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.7501, allocations: 189.6 kB / 0.7299 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7501, allocations: 0 / 0.7299 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.7503, allocations: 39.98 kB / 0.73 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7503, allocations: 0 / 0.73 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.7504, allocations: 8 kB / 0.73 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7504, allocations: 0 / 0.73 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7504, allocations: 0 / 0.73 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.7507, allocations: 214.3 kB / 0.7302 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.7508, allocations: 93 kB / 0.7303 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.7509, allocations: 4.062 kB / 0.7303 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.751, allocations: 4 kB / 0.7303 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.751, allocations: 16.17 kB / 0.7303 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.7511, allocations: 11.98 kB / 0.7303 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.7511, allocations: 79.28 kB / 0.7304 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7511, allocations: 0 / 0.7304 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002355/0.7514, allocations: 28 kB / 0.7304 GB, free: 9.246 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.0001881/0.7515, allocations: 111.2 kB / 0.7305 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.7518, allocations: 107.9 kB / 0.7306 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7518, allocations: 4 kB / 0.7306 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.7519, allocations: 58.48 kB / 0.7307 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.7521, allocations: 15.94 kB / 0.7307 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.7532, allocations: 0.6201 MB / 0.7313 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.7535, allocations: 0.7011 MB / 0.732 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.7537, allocations: 24.42 kB / 0.732 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.7537, allocations: 19.44 kB / 0.732 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.7537, allocations: 0 / 0.732 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of Templates: time 0.004937/0.7587, allocations: 1.058 MB / 0.7331 GB, free: 6.48 MB / 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)