Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.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.001436/0.001436, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001454/0.001454, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.626/1.626, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.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.1704/0.1704, allocations: 23.85 MB / 333.4 MB, free: 1.305 MB / 254.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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 65.19 kB / 467.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1304, allocations: 59.83 MB / 0.5146 GB, free: 12.48 MB / 382.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.SimpleReaction2): time 0.04171/0.1721, allocations: 25.65 MB / 0.5397 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01636/0.1885, allocations: 11.69 MB / 0.5511 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009144/0.1894, allocations: 19.81 kB / 0.5511 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000882/0.1903, allocations: 270 kB / 0.5514 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.1934, allocations: 0.9851 MB / 0.5523 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004578/0.198, allocations: 1.515 MB / 0.5538 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.2001, allocations: 1.256 MB / 0.555 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008291/0.201, allocations: 0.5841 MB / 0.5556 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007597/0.2017, allocations: 0.6195 MB / 0.5562 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009236/0.2026, allocations: 0.6735 MB / 0.5569 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.2028, allocations: 112 kB / 0.557 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.2073, allocations: 1.295 MB / 0.5582 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.2076, allocations: 271.2 kB / 0.5585 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006626/0.2083, allocations: 0.5445 MB / 0.559 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006556/0.2148, allocations: 2.591 MB / 0.5616 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2148, allocations: 4 kB / 0.5616 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2148, allocations: 3.938 kB / 0.5616 GB, free: 12.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.2149, allocations: 3.938 kB / 0.5616 GB, free: 12.34 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003034/0.2179, allocations: 1.525 MB / 0.5631 GB, free: 10.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.2179, allocations: 8.031 kB / 0.5631 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.219, allocations: 219.9 kB / 0.5633 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.2201, allocations: 0.5835 MB / 0.5638 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.2203, allocations: 96.27 kB / 0.5639 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.2205, allocations: 92.38 kB / 0.564 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.2224, allocations: 1.045 MB / 0.565 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.2225, allocations: 0 / 0.565 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.2226, allocations: 36 kB / 0.5651 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.2226, allocations: 20 kB / 0.5651 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.2248, allocations: 1.273 MB / 0.5663 GB, free: 7.332 MB / 430.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.005839/0.2306, allocations: 3.482 MB / 0.5697 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.2331, allocations: 1.488 MB / 0.5712 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/0.2337, allocations: 399.7 kB / 0.5716 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005924/0.2396, allocations: 4.041 MB / 0.5755 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.2397, allocations: 43.12 kB / 0.5756 GB, free: 13.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 2.103e-06/0.2397, allocations: 0 / 0.5756 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=63): time 0.003654/0.2433, allocations: 1.682 MB / 0.5772 GB, free: 11.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2434, allocations: 59.97 kB / 0.5773 GB, free: 11.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006716/0.244, allocations: 0.5107 MB / 0.5778 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.2441, allocations: 37.7 kB / 0.5778 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.2445, allocations: 479.7 kB / 0.5783 GB, free: 10.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.2447, allocations: 234 kB / 0.5785 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.2449, allocations: 170.6 kB / 0.5786 GB, free: 9.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.2451, allocations: 378.8 kB / 0.579 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.2455, allocations: 209.9 kB / 0.5792 GB, free: 9.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006605/0.2462, allocations: 0.5294 MB / 0.5797 GB, free: 8.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.2473, allocations: 0.8131 MB / 0.5805 GB, free: 7.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.2473, allocations: 4 kB / 0.5805 GB, free: 7.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001495/0.2488, allocations: 0.8504 MB / 0.5813 GB, free: 6.824 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.2489, allocations: 8 kB / 0.5814 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.2489, allocations: 16.12 kB / 0.5814 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.558e-05/0.2489, allocations: 19.94 kB / 0.5814 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.2499, allocations: 267.6 kB / 0.5816 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/0.25, allocations: 27.86 kB / 0.5817 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.2505, allocations: 28 kB / 0.5817 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.2505, allocations: 51.98 kB / 0.5817 GB, free: 6.414 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0004048/0.2509, allocations: 237.5 kB / 0.582 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.2511, allocations: 67.56 kB / 0.582 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.2525, allocations: 0.6853 MB / 0.5827 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.2525, allocations: 8 kB / 0.5827 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2525, allocations: 4 kB / 0.5827 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2525, allocations: 3.984 kB / 0.5827 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.2537, allocations: 0.7681 MB / 0.5835 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2537, allocations: 0 / 0.5835 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007753/0.2544, allocations: 179.9 kB / 0.5836 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.2545, allocations: 7.984 kB / 0.5836 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.2545, allocations: 23.92 kB / 0.5837 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2545, allocations: 4 kB / 0.5837 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2545, allocations: 4 kB / 0.5837 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.256, allocations: 0.9562 MB / 0.5846 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.2563, allocations: 196.5 kB / 0.5848 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.216e-05/0.2564, allocations: 19.94 kB / 0.5848 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.2567, allocations: 16 kB / 0.5848 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2568, allocations: 48.5 kB / 0.5849 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.228e-05/0.2569, allocations: 27.98 kB / 0.5849 GB, free: 3.039 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004445/0.2573, allocations: 346.8 kB / 0.5852 GB, free: 2.703 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2573, allocations: 0 / 0.5852 GB, free: 2.703 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001516/0.2588, allocations: 482.7 kB / 0.5857 GB, free: 2.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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.001251/0.2601, allocations: 0.5988 MB / 0.5863 GB, free: 1.621 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.2613, allocations: 0.5638 MB / 0.5868 GB, free: 1.059 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2613, allocations: 0 / 0.5868 GB, free: 1.059 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005438/0.2618, allocations: 264.6 kB / 0.5871 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.2627, allocations: 158.1 kB / 0.5872 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2993/0.562, allocations: 1.545 MB / 0.5887 GB, free: 64.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.5626, allocations: 0.9566 MB / 0.5897 GB, free: 63.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000415/0.563, allocations: 128.4 kB / 0.5898 GB, free: 63.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.653e-06/0.563, allocations: 0 / 0.5898 GB, free: 63.98 MB / 446.1 MB Notification: Performance of Templates: time 0.0232/0.5862, allocations: 12.77 MB / 0.6023 GB, free: 61.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.182881227025064] Failed to read output from testmodel.py, exit status != 0: 0.5941676290240139 0.604095691 0.387024676 Calling exit ...