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.001565/0.001565, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001753/0.001753, allocations: 215.5 kB / 22.25 MB, free: 5.082 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 8.02 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.1293/0.1293, allocations: 23.86 MB / 336.3 MB, free: 11.2 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.001995/0.001995, allocations: 63.91 kB / 471.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2713, allocations: 59.86 MB / 0.519 GB, free: 9.828 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.03194/0.3033, allocations: 25.88 MB / 0.5443 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.3181, allocations: 11.71 MB / 0.5557 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/0.3188, allocations: 11.88 kB / 0.5558 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006793/0.3194, allocations: 264.5 kB / 0.556 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.3217, allocations: 0.9943 MB / 0.557 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.3254, allocations: 1.536 MB / 0.5585 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.3269, allocations: 1.255 MB / 0.5597 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007322/0.3277, allocations: 0.569 MB / 0.5603 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.3284, allocations: 0.6149 MB / 0.5609 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009594/0.3293, allocations: 0.6862 MB / 0.5615 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.3295, allocations: 112 kB / 0.5616 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.3327, allocations: 1.3 MB / 0.5629 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.333, allocations: 259.5 kB / 0.5632 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.3335, allocations: 0.5453 MB / 0.5637 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.3374, allocations: 2.595 MB / 0.5662 GB, free: 9.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3374, allocations: 0 / 0.5662 GB, free: 9.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3374, allocations: 0 / 0.5662 GB, free: 9.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3374, allocations: 0 / 0.5662 GB, free: 9.773 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.00251/0.3399, allocations: 1.454 MB / 0.5676 GB, free: 8.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3399, allocations: 16.03 kB / 0.5677 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008699/0.3408, allocations: 219.9 kB / 0.5679 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.3417, allocations: 0.5115 MB / 0.5684 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.3418, allocations: 118 kB / 0.5685 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.342, allocations: 92.38 kB / 0.5686 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.3436, allocations: 1.057 MB / 0.5696 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3437, allocations: 0 / 0.5696 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/0.3438, allocations: 36 kB / 0.5696 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.3438, allocations: 24 kB / 0.5697 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.3458, allocations: 1.273 MB / 0.5709 GB, free: 4.891 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.005259/0.3511, allocations: 3.436 MB / 0.5743 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.3533, allocations: 1.258 MB / 0.5755 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.3539, allocations: 395.8 kB / 0.5759 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004401/0.3583, allocations: 2.197 MB / 0.578 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3584, allocations: 39.06 kB / 0.578 GB, free: 13.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 1.573e-06/0.3584, allocations: 0 / 0.578 GB, free: 13.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003068/0.3614, allocations: 1.6 MB / 0.5796 GB, free: 11.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3615, allocations: 60 kB / 0.5797 GB, free: 11.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.3621, allocations: 0.5185 MB / 0.5802 GB, free: 11.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.3621, allocations: 33.7 kB / 0.5802 GB, free: 11.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.3625, allocations: 475.7 kB / 0.5807 GB, free: 10.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.3626, allocations: 242 kB / 0.5809 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.3629, allocations: 174.6 kB / 0.5811 GB, free: 10.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.363, allocations: 374.8 kB / 0.5814 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.3634, allocations: 213.9 kB / 0.5816 GB, free: 9.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.3641, allocations: 0.5296 MB / 0.5821 GB, free: 8.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3652, allocations: 0.8143 MB / 0.5829 GB, free: 7.969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.3652, allocations: 8 kB / 0.5829 GB, free: 7.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001362/0.3666, allocations: 0.8527 MB / 0.5838 GB, free: 7.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3666, allocations: 12 kB / 0.5838 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.3666, allocations: 12 kB / 0.5838 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.3666, allocations: 19.94 kB / 0.5838 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.3676, allocations: 259.6 kB / 0.5841 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.3676, allocations: 19.94 kB / 0.5841 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.368, allocations: 40.05 kB / 0.5841 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/0.3681, allocations: 52 kB / 0.5842 GB, free: 6.695 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.0003078/0.3684, allocations: 234 kB / 0.5844 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3685, allocations: 67.58 kB / 0.5845 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.3698, allocations: 0.6951 MB / 0.5851 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3698, allocations: 11.98 kB / 0.5851 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3698, allocations: 3.938 kB / 0.5851 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3698, allocations: 0 / 0.5851 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.3708, allocations: 0.7401 MB / 0.5859 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3708, allocations: 0 / 0.5859 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.3716, allocations: 179.9 kB / 0.586 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3716, allocations: 4 kB / 0.586 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.3716, allocations: 23.94 kB / 0.5861 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3716, allocations: 4 kB / 0.5861 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3716, allocations: 0 / 0.5861 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.373, allocations: 0.9568 MB / 0.587 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.3733, allocations: 115.5 kB / 0.5871 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.54e-05/0.3734, allocations: 15.94 kB / 0.5871 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.3736, allocations: 23.98 kB / 0.5872 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.3737, allocations: 48.58 kB / 0.5872 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.3738, allocations: 27.98 kB / 0.5872 GB, free: 3.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003795/0.3742, allocations: 346.8 kB / 0.5876 GB, free: 3.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3742, allocations: 0 / 0.5876 GB, free: 3.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001245/0.3754, allocations: 478.7 kB / 0.588 GB, free: 2.648 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.001035/0.3764, allocations: 0.6029 MB / 0.5886 GB, free: 2.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009732/0.3774, allocations: 0.5701 MB / 0.5892 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3774, allocations: 4 kB / 0.5892 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.3778, allocations: 263.6 kB / 0.5894 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.3786, allocations: 168.6 kB / 0.5896 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.381, allocations: 1.505 MB / 0.591 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.3816, allocations: 0.9578 MB / 0.592 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004942/0.3821, allocations: 169.4 kB / 0.5921 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.3823, allocations: 103.4 kB / 0.5922 GB, free: 14.25 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3823, allocations: 0 / 0.5922 GB, free: 14.25 MB / 446.1 MB Notification: Performance of Templates: time 0.02445/0.4067, allocations: 14.95 MB / 0.6068 GB, free: 15.34 MB / 462.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: 4.927895253058523] Failed to read output from testmodel.py, exit status != 0: 0.4149292369838804 0.42869276399999995 0.088419774 Calling exit ...