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.001364/0.001364, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001532/0.001532, allocations: 211.4 kB / 23 MB, free: 4.57 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.1437/0.1437, allocations: 23.85 MB / 337 MB, free: 11.21 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.002004/0.002004, allocations: 59.91 kB / 472.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3179, allocations: 59.86 MB / 0.5198 GB, free: 9.844 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.03868/0.3565, allocations: 25.88 MB / 0.5451 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.3718, allocations: 11.7 MB / 0.5565 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008213/0.3727, allocations: 15.88 kB / 0.5565 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008057/0.3735, allocations: 257.7 kB / 0.5568 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.3763, allocations: 0.9976 MB / 0.5577 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004338/0.3807, allocations: 1.537 MB / 0.5592 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.3826, allocations: 1.255 MB / 0.5605 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009941/0.3836, allocations: 0.5764 MB / 0.561 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3846, allocations: 0.6151 MB / 0.5616 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.3858, allocations: 0.6747 MB / 0.5623 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.3861, allocations: 108 kB / 0.5624 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004044/0.3902, allocations: 1.304 MB / 0.5637 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.3906, allocations: 263.2 kB / 0.5639 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008729/0.3915, allocations: 0.5497 MB / 0.5644 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.3969, allocations: 2.594 MB / 0.567 GB, free: 9.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3969, allocations: 0 / 0.567 GB, free: 9.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3969, allocations: 0 / 0.567 GB, free: 9.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.763e-05/0.397, allocations: 3.938 kB / 0.567 GB, free: 9.797 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.003388/0.4004, allocations: 1.45 MB / 0.5684 GB, free: 8.312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4004, allocations: 8.031 kB / 0.5684 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.4015, allocations: 215.9 kB / 0.5686 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.4026, allocations: 0.5232 MB / 0.5691 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.4028, allocations: 118 kB / 0.5692 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.403, allocations: 92.38 kB / 0.5693 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.4049, allocations: 1.053 MB / 0.5703 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.4049, allocations: 3.938 kB / 0.5704 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.405, allocations: 36 kB / 0.5704 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.405, allocations: 20 kB / 0.5704 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.4072, allocations: 1.273 MB / 0.5716 GB, free: 4.922 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.00615/0.4134, allocations: 3.436 MB / 0.575 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.4158, allocations: 1.258 MB / 0.5762 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.4164, allocations: 395.7 kB / 0.5766 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004886/0.4213, allocations: 2.19 MB / 0.5787 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.4214, allocations: 50.94 kB / 0.5788 GB, free: 13.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 1.833e-06/0.4214, allocations: 0 / 0.5788 GB, free: 13.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003473/0.4248, allocations: 1.6 MB / 0.5804 GB, free: 11.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.4249, allocations: 60.06 kB / 0.5804 GB, free: 11.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.4256, allocations: 0.5107 MB / 0.5809 GB, free: 11.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.4256, allocations: 33.7 kB / 0.5809 GB, free: 11.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.426, allocations: 479.7 kB / 0.5814 GB, free: 10.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.4262, allocations: 234 kB / 0.5816 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.4264, allocations: 170.6 kB / 0.5818 GB, free: 10.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.4266, allocations: 382.8 kB / 0.5822 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.427, allocations: 213.9 kB / 0.5824 GB, free: 9.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.4277, allocations: 0.5334 MB / 0.5829 GB, free: 8.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.4289, allocations: 0.8143 MB / 0.5837 GB, free: 8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4289, allocations: 4 kB / 0.5837 GB, free: 7.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001477/0.4304, allocations: 0.8566 MB / 0.5845 GB, free: 7.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.4304, allocations: 12 kB / 0.5845 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.4304, allocations: 8 kB / 0.5845 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.4305, allocations: 27.95 kB / 0.5846 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000996/0.4315, allocations: 263.6 kB / 0.5848 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.053e-05/0.4315, allocations: 23.92 kB / 0.5848 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.4319, allocations: 28 kB / 0.5849 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/0.432, allocations: 48 kB / 0.5849 GB, free: 6.73 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.0003393/0.4324, allocations: 238 kB / 0.5851 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.4325, allocations: 67.58 kB / 0.5852 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.4339, allocations: 0.6952 MB / 0.5859 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4339, allocations: 8 kB / 0.5859 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4339, allocations: 4 kB / 0.5859 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.4339, allocations: 3.984 kB / 0.5859 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.435, allocations: 0.7439 MB / 0.5866 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.435, allocations: 4 kB / 0.5866 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.4358, allocations: 175.9 kB / 0.5868 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.4358, allocations: 4 kB / 0.5868 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.4359, allocations: 23.94 kB / 0.5868 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.4359, allocations: 4 kB / 0.5868 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4359, allocations: 3.984 kB / 0.5868 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4374, allocations: 0.9568 MB / 0.5878 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.4377, allocations: 115.5 kB / 0.5879 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.4378, allocations: 19.92 kB / 0.5879 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.4381, allocations: 12 kB / 0.5879 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4382, allocations: 56.56 kB / 0.588 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.4382, allocations: 20 kB / 0.588 GB, free: 3.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004366/0.4387, allocations: 350.8 kB / 0.5883 GB, free: 3.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4387, allocations: 0 / 0.5883 GB, free: 3.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001544/0.4402, allocations: 482.6 kB / 0.5888 GB, free: 2.672 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.001527/0.4418, allocations: 0.5988 MB / 0.5894 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.4429, allocations: 0.5653 MB / 0.5899 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4429, allocations: 0 / 0.5899 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.4434, allocations: 259.6 kB / 0.5902 GB, free: 1.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.4443, allocations: 170.2 kB / 0.5903 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.4475, allocations: 1.55 MB / 0.5918 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.4482, allocations: 0.9578 MB / 0.5928 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.4485, allocations: 127.4 kB / 0.5929 GB, free: 14.37 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4485, allocations: 0 / 0.5929 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Templates: time 0.02355/0.472, allocations: 12.77 MB / 0.6054 GB, free: 1.637 MB / 446.1 MB " [Timeout remaining time 660] 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: 8.339507811004296] Failed to read output from testmodel.py, exit status != 0: 0.48152571683749557 0.49720153300000003 0.09710043500000001 Calling exit ...