Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1365/0.1365, allocations: 17.36 MB / 276.9 MB, free: 11.67 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 7.938 kB / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.782e-05, allocations: 3.719 kB / 352.7 MB, free: 10.33 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.03604/0.03606, allocations: 24.63 MB / 377.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.04798, allocations: 8.062 MB / 385.4 MB, free: 9.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.04838, allocations: 15.88 kB / 385.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.04906, allocations: 206.4 kB / 385.6 MB, free: 9.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009993/0.05006, allocations: 380.9 kB / 386 MB, free: 9.148 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003973/0.05404, allocations: 1.474 MB / 387.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.05509, allocations: 0.6929 MB / 388.2 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.05545, allocations: 205.6 kB / 388.4 MB, free: 6.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.05599, allocations: 423.3 kB / 388.8 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.05648, allocations: 291.3 kB / 389.1 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.438e-05/0.05657, allocations: 36 kB / 389.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.05842, allocations: 0.7875 MB / 389.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.05858, allocations: 131.5 kB / 390 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.05885, allocations: 175.6 kB / 390.2 MB, free: 4.938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.06132, allocations: 1.619 MB / 391.8 MB, free: 3.312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.06133, allocations: 0 / 391.8 MB, free: 3.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.06133, allocations: 3.984 kB / 391.8 MB, free: 3.309 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.06134, allocations: 0 / 391.8 MB, free: 3.309 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001577/0.06292, allocations: 0.8773 MB / 392.7 MB, free: 2.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.06296, allocations: 12.03 kB / 392.7 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009649/0.06392, allocations: 255.3 kB / 392.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.06468, allocations: 411.6 kB / 393.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.06472, allocations: 24.97 kB / 393.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/0.06479, allocations: 32.38 kB / 393.4 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.06575, allocations: 0.5267 MB / 393.9 MB, free: 1.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.06577, allocations: 3.938 kB / 393.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.06584, allocations: 19.98 kB / 394 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.06585, allocations: 8 kB / 394 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.06718, allocations: 0.791 MB / 394.8 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.07005, allocations: 1.731 MB / 396.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.07051, allocations: 194.5 kB / 396.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.07077, allocations: 128.7 kB / 396.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002957/0.07372, allocations: 1.342 MB / 398.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.07376, allocations: 30.56 kB / 398.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.07376, allocations: 0 / 398.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006757/0.07443, allocations: 295 kB / 398.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.07449, allocations: 51.41 kB / 398.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.07503, allocations: 449.8 kB / 398.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.07507, allocations: 29.7 kB / 399 MB, free: 11.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.07533, allocations: 303.8 kB / 399.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.0754, allocations: 63.47 kB / 399.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.07556, allocations: 106 kB / 399.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.07576, allocations: 354.7 kB / 399.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.07594, allocations: 88.94 kB / 399.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.07638, allocations: 361.8 kB / 400.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/0.0771, allocations: 0.4925 MB / 400.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.07711, allocations: 3.938 kB / 400.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008965/0.07801, allocations: 0.5006 MB / 401.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.07803, allocations: 9 kB / 401.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.07804, allocations: 8 kB / 401.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.07807, allocations: 16 kB / 401.3 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.07843, allocations: 115.8 kB / 401.4 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/0.07845, allocations: 19.92 kB / 401.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.07873, allocations: 55.62 kB / 401.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.07879, allocations: 32.08 kB / 401.5 MB, free: 9.113 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0002239/0.07901, allocations: 185.5 kB / 401.7 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.0791, allocations: 43.72 kB / 401.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008113/0.07992, allocations: 399.5 kB / 402.1 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.07992, allocations: 0 / 402.1 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.07992, allocations: 4 kB / 402.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.07993, allocations: 3.938 kB / 402.1 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009636/0.08089, allocations: 0.6232 MB / 402.7 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.08089, allocations: 4 kB / 402.7 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.08097, allocations: 8 kB / 402.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.08097, allocations: 4 kB / 402.7 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.08098, allocations: 4 kB / 402.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.08099, allocations: 7.984 kB / 402.7 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.08099, allocations: 8.125 kB / 402.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.08129, allocations: 189 kB / 402.9 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.08138, allocations: 43.7 kB / 403 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.08144, allocations: 7.938 kB / 403 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.08157, allocations: 7.984 kB / 403 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.0816, allocations: 15.88 kB / 403 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.0816, allocations: 0 / 403 MB, free: 7.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004562/0.08206, allocations: 362.8 kB / 403.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08206, allocations: 0 / 403.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007699/0.08283, allocations: 255.1 kB / 403.6 MB, free: 6.832 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.0007451/0.08358, allocations: 426.6 kB / 404 MB, free: 6.402 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.084, allocations: 216.9 kB / 404.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.08401, allocations: 4 kB / 404.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.833e-05/0.08407, allocations: 33.55 kB / 404.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.08463, allocations: 113.8 kB / 404.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.08577, allocations: 0.6538 MB / 405 MB, free: 5.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.086, allocations: 211.8 kB / 405.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003835/0.08638, allocations: 131.1 kB / 405.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.08651, allocations: 52.48 kB / 405.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.08651, allocations: 0 / 405.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of Templates: time 0.1283/0.2148, allocations: 8.284 MB / 413.7 MB, free: 62.29 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.794449798995629]