Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.001332/0.001332, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001422/0.001422, allocations: 158.4 kB / 22.45 MB, free: 5.375 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.474/1.474, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.1468/0.1468, allocations: 17.37 MB / 276.5 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 411.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.038e-05, allocations: 5.234 kB / 412 MB, free: 4.449 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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:14337:7-14337:66: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.SimpleReaction): time 0.04032/0.04035, allocations: 25.12 MB / 437.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.05296, allocations: 7.067 MB / 444.1 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008338/0.05379, allocations: 11.88 kB / 444.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008858/0.05468, allocations: 170.5 kB / 444.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.05709, allocations: 0.7288 MB / 445 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.06067, allocations: 1.068 MB / 446.1 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.06231, allocations: 0.9779 MB / 447.1 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00068/0.06299, allocations: 426.4 kB / 447.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007637/0.06375, allocations: 0.6278 MB / 448.1 MB, free: 352 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.25/0.3138, allocations: 402.4 kB / 448.5 MB, free: 33.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003815/0.3141, allocations: 79.09 kB / 448.6 MB, free: 33.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.3171, allocations: 0.8261 MB / 449.4 MB, free: 33.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.3173, allocations: 197.2 kB / 449.6 MB, free: 33.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.3178, allocations: 297.8 kB / 449.9 MB, free: 33.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.3213, allocations: 1.919 MB / 451.8 MB, free: 32.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3213, allocations: 0.6562 kB / 451.8 MB, free: 32.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3213, allocations: 0 / 451.8 MB, free: 32.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3213, allocations: 1.75 kB / 451.8 MB, free: 32.94 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00213/0.3235, allocations: 1.105 MB / 452.9 MB, free: 32.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3235, allocations: 10.08 kB / 453 MB, free: 32.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/0.3242, allocations: 152.7 kB / 453.1 MB, free: 32.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007593/0.325, allocations: 428.5 kB / 453.5 MB, free: 32.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.3251, allocations: 108.2 kB / 453.6 MB, free: 32.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.3252, allocations: 69.31 kB / 453.7 MB, free: 32.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3266, allocations: 0.7752 MB / 454.5 MB, free: 31.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3267, allocations: 192 / 454.5 MB, free: 31.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.638e-05/0.3267, allocations: 26 kB / 454.5 MB, free: 31.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.3268, allocations: 24 kB / 454.5 MB, free: 31.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.3282, allocations: 0.871 MB / 455.4 MB, free: 31.95 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.332, allocations: 1.972 MB / 457.4 MB, free: 31.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.3335, allocations: 0.8233 MB / 458.2 MB, free: 30.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.334, allocations: 279.2 kB / 458.5 MB, free: 30.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003455/0.3374, allocations: 1.512 MB / 460 MB, free: 29.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3375, allocations: 34.11 kB / 460 MB, free: 29.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.823e-06/0.3375, allocations: 0 / 460 MB, free: 29.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002611/0.3401, allocations: 1.156 MB / 461.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.3401, allocations: 61.22 kB / 461.2 MB, free: 29.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.3406, allocations: 400.3 kB / 461.6 MB, free: 29.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3407, allocations: 31.52 kB / 461.6 MB, free: 29.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.3409, allocations: 382 kB / 462 MB, free: 28.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.341, allocations: 171.8 kB / 462.2 MB, free: 28.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.3412, allocations: 126.4 kB / 462.3 MB, free: 28.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3413, allocations: 361.1 kB / 462.7 MB, free: 28.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.3415, allocations: 149 kB / 462.8 MB, free: 28.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.342, allocations: 390.8 kB / 463.2 MB, free: 27.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/0.3427, allocations: 0.5821 MB / 463.8 MB, free: 27.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3427, allocations: 4.031 kB / 463.8 MB, free: 27.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001029/0.3438, allocations: 0.6098 MB / 464.4 MB, free: 27.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.3438, allocations: 9.156 kB / 464.4 MB, free: 27.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.3438, allocations: 9.078 kB / 464.4 MB, free: 27.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.3438, allocations: 12.5 kB / 464.4 MB, free: 27.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/0.3446, allocations: 206 kB / 464.6 MB, free: 27.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.3446, allocations: 16.31 kB / 464.6 MB, free: 27.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.345, allocations: 25.97 kB / 464.7 MB, free: 27.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.345, allocations: 38.83 kB / 464.7 MB, free: 27.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0002519/0.3453, allocations: 208 kB / 464.9 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.3454, allocations: 50.56 kB / 464.9 MB, free: 26.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.3464, allocations: 0.4889 MB / 465.4 MB, free: 26.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3464, allocations: 4.344 kB / 465.4 MB, free: 26.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3464, allocations: 1.281 kB / 465.4 MB, free: 26.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.3464, allocations: 2.531 kB / 465.4 MB, free: 26.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.3472, allocations: 490.1 kB / 465.9 MB, free: 26.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3472, allocations: 3.875 kB / 465.9 MB, free: 26.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.3478, allocations: 140 kB / 466.1 MB, free: 26.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.3478, allocations: 6.656 kB / 466.1 MB, free: 26.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.3478, allocations: 15.69 kB / 466.1 MB, free: 26.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.3478, allocations: 7.859 kB / 466.1 MB, free: 26.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3478, allocations: 2.219 kB / 466.1 MB, free: 26.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.349, allocations: 0.7246 MB / 466.8 MB, free: 26.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.3492, allocations: 87.27 kB / 466.9 MB, free: 25.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.3493, allocations: 11.28 kB / 466.9 MB, free: 25.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.3495, allocations: 15.27 kB / 466.9 MB, free: 25.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3496, allocations: 43.2 kB / 467 MB, free: 25.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.3496, allocations: 23.56 kB / 467 MB, free: 25.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.3499, allocations: 255.6 kB / 467.2 MB, free: 25.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3499, allocations: 0 / 467.2 MB, free: 25.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001634/0.3516, allocations: 339.9 kB / 467.6 MB, free: 25.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.logn) * 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 (53): * Single equations (assignments): 53 * 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.001051/0.3526, allocations: 452.9 kB / 468 MB, free: 25.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008638/0.3535, allocations: 415.6 kB / 468.4 MB, free: 25.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3535, allocations: 5.25 kB / 468.4 MB, free: 25.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.3539, allocations: 184.9 kB / 468.6 MB, free: 25.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.3547, allocations: 128.6 kB / 468.7 MB, free: 25.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3568, allocations: 1.123 MB / 469.9 MB, free: 24.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3571, allocations: 288 kB / 470.1 MB, free: 24.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.3575, allocations: 115.2 kB / 470.2 MB, free: 24.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3576, allocations: 75.33 kB / 470.3 MB, free: 24.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3576, allocations: 3.938 kB / 470.3 MB, free: 24.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01644/0.3741, allocations: 10.11 MB / 480.4 MB, free: 18.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.240641735494137] Failed to read output from testmodel.py, exit status != 0: 0.38236868008971214 0.39133860099999995 0.067766305 Calling exit ...