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.001268/0.001268, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.00142/0.00142, allocations: 215.7 kB / 22.25 MB, free: 4.73 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.793 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.1637/0.1637, allocations: 23.88 MB / 336.3 MB, free: 10.98 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.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.002106/0.002106, allocations: 63.91 kB / 471.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4134, allocations: 59.86 MB / 0.519 GB, free: 9.77 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.07347/0.4869, allocations: 25.52 MB / 0.5439 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.503, allocations: 10.26 MB / 0.5539 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.5041, allocations: 11.88 kB / 0.554 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009184/0.5051, allocations: 246.4 kB / 0.5542 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003771/0.5088, allocations: 0.9931 MB / 0.5552 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005406/0.5142, allocations: 1.537 MB / 0.5567 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.5168, allocations: 1.255 MB / 0.5579 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.5181, allocations: 0.5539 MB / 0.5584 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.5192, allocations: 0.6234 MB / 0.559 GB, free: 292 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.5202, allocations: 0.6041 MB / 0.5596 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.5204, allocations: 111.9 kB / 0.5597 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.5247, allocations: 1.225 MB / 0.5609 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.5251, allocations: 254.4 kB / 0.5612 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.5262, allocations: 479.2 kB / 0.5616 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008621/0.5349, allocations: 2.587 MB / 0.5642 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.5349, allocations: 0 / 0.5642 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5349, allocations: 0 / 0.5642 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-05/0.5349, allocations: 0 / 0.5642 GB, free: 11.64 MB / 414.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.004549/0.5395, allocations: 1.446 MB / 0.5656 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5395, allocations: 12.03 kB / 0.5656 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.5409, allocations: 215.9 kB / 0.5658 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.5422, allocations: 0.5193 MB / 0.5663 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.5425, allocations: 122 kB / 0.5664 GB, free: 9.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.5427, allocations: 88.38 kB / 0.5665 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.5451, allocations: 1.053 MB / 0.5675 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.5451, allocations: 4 kB / 0.5675 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-05/0.5452, allocations: 36 kB / 0.5676 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.5453, allocations: 24 kB / 0.5676 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.5478, allocations: 1.257 MB / 0.5688 GB, free: 6.777 MB / 414.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.006498/0.5543, allocations: 2.705 MB / 0.5715 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.5568, allocations: 1.243 MB / 0.5727 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007324/0.5575, allocations: 391.7 kB / 0.573 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005156/0.5627, allocations: 2.081 MB / 0.5751 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.5627, allocations: 35.06 kB / 0.5751 GB, free: 220 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 3.266e-06/0.5627, allocations: 4 kB / 0.5751 GB, free: 216 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003768/0.5665, allocations: 1.592 MB / 0.5767 GB, free: 14.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.5666, allocations: 64 kB / 0.5767 GB, free: 14.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007184/0.5673, allocations: 0.4947 MB / 0.5772 GB, free: 14.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.5673, allocations: 41.64 kB / 0.5773 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.5678, allocations: 475.7 kB / 0.5777 GB, free: 13.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.568, allocations: 234 kB / 0.5779 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.5682, allocations: 170.6 kB / 0.5781 GB, free: 13.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.5685, allocations: 378.8 kB / 0.5785 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.569, allocations: 213.8 kB / 0.5787 GB, free: 12.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007276/0.5697, allocations: 0.5296 MB / 0.5792 GB, free: 11.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.5711, allocations: 0.8143 MB / 0.58 GB, free: 10.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.5711, allocations: 7.938 kB / 0.58 GB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001665/0.5728, allocations: 0.8525 MB / 0.5808 GB, free: 9.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5728, allocations: 12 kB / 0.5808 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5729, allocations: 12 kB / 0.5808 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.689e-05/0.5729, allocations: 16 kB / 0.5808 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.5739, allocations: 267.5 kB / 0.5811 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.39e-05/0.574, allocations: 24.11 kB / 0.5811 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.5745, allocations: 32 kB / 0.5812 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/0.5746, allocations: 51.98 kB / 0.5812 GB, free: 9.578 MB / 430.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.0004502/0.575, allocations: 233.5 kB / 0.5814 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5752, allocations: 63.58 kB / 0.5815 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.5767, allocations: 0.6949 MB / 0.5822 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5767, allocations: 11.94 kB / 0.5822 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.5767, allocations: 4 kB / 0.5822 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.5767, allocations: 3.984 kB / 0.5822 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.5777, allocations: 0.5768 MB / 0.5827 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5777, allocations: 0 / 0.5827 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.5785, allocations: 175.9 kB / 0.5829 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.5785, allocations: 4 kB / 0.5829 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.5785, allocations: 27.98 kB / 0.5829 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.5785, allocations: 0 / 0.5829 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.5785, allocations: 11.88 kB / 0.583 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.58, allocations: 0.949 MB / 0.5839 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.5804, allocations: 111.6 kB / 0.584 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.5805, allocations: 12 kB / 0.584 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.5807, allocations: 12 kB / 0.584 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5809, allocations: 64.5 kB / 0.5841 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.5809, allocations: 23.98 kB / 0.5841 GB, free: 6.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003942/0.5813, allocations: 314.9 kB / 0.5844 GB, free: 6.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5813, allocations: 0 / 0.5844 GB, free: 6.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001566/0.5829, allocations: 486.6 kB / 0.5849 GB, free: 5.738 MB / 430.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.001588/0.5845, allocations: 0.5949 MB / 0.5854 GB, free: 5.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.5856, allocations: 0.5763 MB / 0.586 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5856, allocations: 1.875 kB / 0.586 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.5861, allocations: 263.6 kB / 0.5863 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.5869, allocations: 157 kB / 0.5864 GB, free: 4.148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.5898, allocations: 1.509 MB / 0.5879 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.5903, allocations: 377.4 kB / 0.5882 GB, free: 2.203 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005577/0.5908, allocations: 161.2 kB / 0.5884 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.591, allocations: 99.39 kB / 0.5885 GB, free: 1.945 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.591, allocations: 0 / 0.5885 GB, free: 1.945 MB / 430.1 MB Notification: Performance of Templates: time 0.02602/0.6171, allocations: 15.32 MB / 0.6035 GB, free: 2.758 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: 5.643516186624765] Failed to read output from testmodel.py, exit status != 0: 0.6259935479611158 0.640585249 0.10224800099999995 Calling exit ...