Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001809/0.001809, allocations: 111.7 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.002086/0.002086, allocations: 204 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.58/1.58, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1362/0.1362, allocations: 23.9 MB / 333.4 MB, free: 1.164 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002101/0.002101, allocations: 65.53 kB / 467.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1077, allocations: 59.84 MB / 0.5147 GB, free: 12.4 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.03873/0.1464, allocations: 25.92 MB / 0.54 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.1616, allocations: 11.68 MB / 0.5514 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006573/0.1623, allocations: 15.88 kB / 0.5514 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007772/0.1631, allocations: 266 kB / 0.5517 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.1655, allocations: 0.9851 MB / 0.5527 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003733/0.1692, allocations: 1.515 MB / 0.5541 GB, free: 4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.1708, allocations: 1.252 MB / 0.5554 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007327/0.1715, allocations: 0.5802 MB / 0.5559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.1721, allocations: 0.6234 MB / 0.5565 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008802/0.173, allocations: 0.6774 MB / 0.5572 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.1732, allocations: 108 kB / 0.5573 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.1766, allocations: 1.303 MB / 0.5586 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.1768, allocations: 259.2 kB / 0.5588 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.1774, allocations: 0.5483 MB / 0.5594 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003743/0.1812, allocations: 2.588 MB / 0.5619 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1812, allocations: 0 / 0.5619 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1812, allocations: 0 / 0.5619 GB, free: 12.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.1812, allocations: 0 / 0.5619 GB, free: 12.02 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.002736/0.1839, allocations: 1.537 MB / 0.5634 GB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1839, allocations: 8.031 kB / 0.5634 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009889/0.1849, allocations: 219.9 kB / 0.5636 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000943/0.1859, allocations: 0.5836 MB / 0.5642 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.186, allocations: 96.27 kB / 0.5643 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.1862, allocations: 84.38 kB / 0.5643 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.188, allocations: 1.053 MB / 0.5654 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.188, allocations: 3.984 kB / 0.5654 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/0.1881, allocations: 36 kB / 0.5654 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.1881, allocations: 20 kB / 0.5654 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.1903, allocations: 1.273 MB / 0.5667 GB, free: 6.992 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.005571/0.1958, allocations: 3.49 MB / 0.5701 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.1983, allocations: 1.474 MB / 0.5715 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.199, allocations: 399.7 kB / 0.5719 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005729/0.2048, allocations: 4.045 MB / 0.5759 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.2048, allocations: 47.11 kB / 0.5759 GB, free: 12.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 9.117e-06/0.2048, allocations: 0 / 0.5759 GB, free: 12.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=63): time 0.003514/0.2083, allocations: 1.679 MB / 0.5775 GB, free: 11.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.2084, allocations: 59.97 kB / 0.5776 GB, free: 11.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.209, allocations: 0.5185 MB / 0.5781 GB, free: 10.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.2091, allocations: 33.7 kB / 0.5781 GB, free: 10.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.2094, allocations: 471.8 kB / 0.5786 GB, free: 9.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.2096, allocations: 238 kB / 0.5788 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.2099, allocations: 174.6 kB / 0.579 GB, free: 9.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2101, allocations: 370.8 kB / 0.5793 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.2105, allocations: 213.9 kB / 0.5795 GB, free: 8.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/0.2112, allocations: 0.5412 MB / 0.5801 GB, free: 8.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.2124, allocations: 0.8053 MB / 0.5808 GB, free: 7.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2124, allocations: 4 kB / 0.5808 GB, free: 7.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001506/0.2139, allocations: 0.8497 MB / 0.5817 GB, free: 6.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.214, allocations: 12 kB / 0.5817 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.214, allocations: 8.906 kB / 0.5817 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.214, allocations: 23.92 kB / 0.5817 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.215, allocations: 263.6 kB / 0.582 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.677e-05/0.2151, allocations: 23.92 kB / 0.582 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.2155, allocations: 32 kB / 0.582 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.2156, allocations: 51.98 kB / 0.5821 GB, free: 6.074 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.0003352/0.2159, allocations: 241.5 kB / 0.5823 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.216, allocations: 71.58 kB / 0.5824 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.2175, allocations: 0.6852 MB / 0.583 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.2175, allocations: 8 kB / 0.5831 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2175, allocations: 3.938 kB / 0.5831 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.2175, allocations: 7.984 kB / 0.5831 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2187, allocations: 0.7682 MB / 0.5838 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2187, allocations: 8 kB / 0.5838 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.2195, allocations: 167.9 kB / 0.584 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.2195, allocations: 8 kB / 0.584 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.2196, allocations: 31.92 kB / 0.584 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.2196, allocations: 4 kB / 0.584 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2196, allocations: 3.938 kB / 0.584 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.2212, allocations: 0.9524 MB / 0.585 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.2215, allocations: 192.6 kB / 0.5851 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.2217, allocations: 15.94 kB / 0.5852 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.2219, allocations: 16 kB / 0.5852 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2221, allocations: 56.42 kB / 0.5852 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.2221, allocations: 20 kB / 0.5852 GB, free: 2.695 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004568/0.2226, allocations: 342.8 kB / 0.5856 GB, free: 2.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2226, allocations: 0 / 0.5856 GB, free: 2.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001468/0.224, allocations: 490.6 kB / 0.586 GB, free: 1.883 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.001148/0.2252, allocations: 0.6026 MB / 0.5866 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.2264, allocations: 0.5644 MB / 0.5872 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2264, allocations: 4 kB / 0.5872 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.2268, allocations: 263 kB / 0.5874 GB, free: 460 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.2277, allocations: 155.2 kB / 0.5876 GB, free: 304 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2048/0.4325, allocations: 1.532 MB / 0.5891 GB, free: 64.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.4329, allocations: 0.9596 MB / 0.59 GB, free: 64.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.4333, allocations: 129.1 kB / 0.5901 GB, free: 64.25 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4333, allocations: 0 / 0.5901 GB, free: 64.25 MB / 446.1 MB Notification: Performance of Templates: time 0.02097/0.4543, allocations: 12.78 MB / 0.6026 GB, free: 61.73 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.621490474004531] Failed to read output from testmodel.py, exit status != 0: 0.46191405298304744 0.47160826799999994 0.28820001399999995 Calling exit ...