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.00133/0.00133, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001498/0.001498, allocations: 167.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.1247/0.1247, allocations: 17.36 MB / 276.6 MB, free: 15.3 MB / 270.1 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 1.673e-06/1.673e-06, allocations: 0 / 411.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.425e-05, allocations: 9.375 kB / 412 MB, free: 4.445 MB / 334.1 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.03381/0.03384, allocations: 24.46 MB / 436.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.04537, allocations: 8.07 MB / 444.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.04592, allocations: 11.88 kB / 444.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000753/0.04667, allocations: 210.4 kB / 444.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.04779, allocations: 369 kB / 445.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.05209, allocations: 1.49 MB / 446.6 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.05323, allocations: 0.6929 MB / 447.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.05358, allocations: 193.6 kB / 447.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.05406, allocations: 423.2 kB / 447.9 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.05455, allocations: 303.4 kB / 448.1 MB, free: 340 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.143e-05/0.05464, allocations: 36 kB / 448.2 MB, free: 304 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2013/0.256, allocations: 0.7765 MB / 449 MB, free: 32.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.2563, allocations: 123.3 kB / 449.1 MB, free: 32.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.2567, allocations: 177.5 kB / 449.3 MB, free: 32.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.2602, allocations: 1.62 MB / 450.9 MB, free: 32.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2602, allocations: 1.375 kB / 450.9 MB, free: 32.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2602, allocations: 0 / 450.9 MB, free: 32.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.2602, allocations: 0 / 450.9 MB, free: 32.77 MB / 366.1 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.001445/0.2616, allocations: 0.88 MB / 451.8 MB, free: 32.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2617, allocations: 8.969 kB / 451.8 MB, free: 32.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007968/0.2625, allocations: 160 kB / 451.9 MB, free: 32.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.2631, allocations: 403.3 kB / 452.3 MB, free: 32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2632, allocations: 21.58 kB / 452.3 MB, free: 32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.382e-05/0.2632, allocations: 34 kB / 452.4 MB, free: 32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.2641, allocations: 0.5336 MB / 452.9 MB, free: 31.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2641, allocations: 0 / 452.9 MB, free: 31.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/0.2642, allocations: 18.25 kB / 452.9 MB, free: 31.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.2642, allocations: 9.594 kB / 452.9 MB, free: 31.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.2654, allocations: 0.7933 MB / 453.7 MB, free: 31.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.2677, allocations: 1.721 MB / 455.4 MB, free: 30.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.2681, allocations: 198.2 kB / 455.6 MB, free: 30.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.2683, allocations: 125.6 kB / 455.8 MB, free: 30.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002749/0.2711, allocations: 1.272 MB / 457 MB, free: 30.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.2711, allocations: 40.03 kB / 457.1 MB, free: 30.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.2711, allocations: 0 / 457.1 MB, free: 30.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006639/0.2718, allocations: 286.8 kB / 457.4 MB, free: 30.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.2718, allocations: 57.94 kB / 457.4 MB, free: 30.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.2723, allocations: 452.8 kB / 457.9 MB, free: 30.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.2723, allocations: 30.52 kB / 457.9 MB, free: 30.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.2725, allocations: 303.6 kB / 458.2 MB, free: 30.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.2726, allocations: 64.94 kB / 458.2 MB, free: 30.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.2727, allocations: 97.16 kB / 458.3 MB, free: 29.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.2728, allocations: 357.6 kB / 458.7 MB, free: 29.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2729, allocations: 94.69 kB / 458.8 MB, free: 29.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.2732, allocations: 365.4 kB / 459.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.2737, allocations: 493.9 kB / 459.6 MB, free: 28.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2737, allocations: 7.188 kB / 459.6 MB, free: 28.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008895/0.2746, allocations: 491.3 kB / 460.1 MB, free: 28.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2747, allocations: 9 kB / 460.1 MB, free: 28.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.2747, allocations: 9.594 kB / 460.1 MB, free: 28.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-05/0.2747, allocations: 15.34 kB / 460.1 MB, free: 28.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.2751, allocations: 112.3 kB / 460.2 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.2751, allocations: 20.75 kB / 460.3 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.2754, allocations: 52.77 kB / 460.3 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.2754, allocations: 36.55 kB / 460.4 MB, free: 28.64 MB / 366.1 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.0001666/0.2756, allocations: 176 kB / 460.5 MB, free: 28.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.2757, allocations: 50.05 kB / 460.6 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007102/0.2764, allocations: 389.4 kB / 461 MB, free: 28.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2764, allocations: 2.672 kB / 461 MB, free: 28.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2764, allocations: 1.062 kB / 461 MB, free: 28.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2764, allocations: 0.75 kB / 461 MB, free: 28.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.2771, allocations: 0.6297 MB / 461.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2771, allocations: 5.516 kB / 461.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.2772, allocations: 13.2 kB / 461.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2772, allocations: 5.312 kB / 461.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2772, allocations: 3.25 kB / 461.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2772, allocations: 4.375 kB / 461.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2772, allocations: 2.5 kB / 461.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.2774, allocations: 193.5 kB / 461.8 MB, free: 27.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.2775, allocations: 43.36 kB / 461.9 MB, free: 27.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.2776, allocations: 11.91 kB / 461.9 MB, free: 27.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2777, allocations: 9.875 kB / 461.9 MB, free: 27.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.2777, allocations: 12.08 kB / 461.9 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2777, allocations: 6.562 kB / 461.9 MB, free: 27.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004206/0.2782, allocations: 363.3 kB / 462.2 MB, free: 27.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2782, allocations: 0 / 462.2 MB, free: 27.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009611/0.2791, allocations: 257.5 kB / 462.5 MB, free: 27.36 MB / 366.1 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.0007257/0.2799, allocations: 413.3 kB / 462.9 MB, free: 27.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.2803, allocations: 224.7 kB / 463.1 MB, free: 27.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2803, allocations: 0 / 463.1 MB, free: 27.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.802e-05/0.2803, allocations: 33.34 kB / 463.2 MB, free: 27.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.2809, allocations: 96.98 kB / 463.2 MB, free: 27.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.282, allocations: 0.653 MB / 463.9 MB, free: 26.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.2821, allocations: 206.4 kB / 464.1 MB, free: 26.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003426/0.2825, allocations: 130 kB / 464.2 MB, free: 26.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.2826, allocations: 57.52 kB / 464.3 MB, free: 26.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2826, allocations: 0 / 464.3 MB, free: 26.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01339/0.296, allocations: 8.239 MB / 472.5 MB, free: 24.76 MB / 366.1 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.905088324099779] Failed to read output from testmodel.py, exit status != 0: 0.30420684069395065 0.313701431 0.05121991999999994 Calling exit ...