Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.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.00114/0.00114, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.00141/0.00141, allocations: 210.4 kB / 22.99 MB, free: 4.41 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1607/0.1607, allocations: 23.92 MB / 337.1 MB, free: 10.91 MB / 270.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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [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.002015/0.002015, allocations: 70.38 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4289, allocations: 59.87 MB / 0.5198 GB, free: 9.703 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.SimpleReaction): time 0.07322/0.5022, allocations: 24.76 MB / 0.544 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.5132, allocations: 7.058 MB / 0.5509 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008724/0.5141, allocations: 11.88 kB / 0.5509 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.5147, allocations: 182 kB / 0.5511 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.5171, allocations: 0.6987 MB / 0.5518 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.5203, allocations: 1.043 MB / 0.5528 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.522, allocations: 0.9433 MB / 0.5537 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007438/0.5227, allocations: 429.5 kB / 0.5541 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006324/0.5233, allocations: 465.3 kB / 0.5545 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008187/0.5241, allocations: 0.4892 MB / 0.555 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.5243, allocations: 80 kB / 0.5551 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.527, allocations: 0.849 MB / 0.5559 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.5273, allocations: 189.8 kB / 0.5561 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004589/0.5277, allocations: 355.2 kB / 0.5564 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.532, allocations: 1.816 MB / 0.5582 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.532, allocations: 0 / 0.5582 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.532, allocations: 4 kB / 0.5582 GB, free: 1.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.532, allocations: 0 / 0.5582 GB, free: 1.941 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002376/0.5344, allocations: 1.113 MB / 0.5593 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5344, allocations: 8.031 kB / 0.5593 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/0.5351, allocations: 154.4 kB / 0.5595 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009561/0.5361, allocations: 426.4 kB / 0.5599 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.5362, allocations: 106.8 kB / 0.56 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.5363, allocations: 73.08 kB / 0.56 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.5377, allocations: 0.7796 MB / 0.5608 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5378, allocations: 4.688 kB / 0.5608 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.5378, allocations: 24 kB / 0.5608 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.5378, allocations: 16 kB / 0.5608 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.5394, allocations: 0.8733 MB / 0.5617 GB, free: 14.73 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.004043/0.5435, allocations: 1.986 MB / 0.5636 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.545, allocations: 0.8084 MB / 0.5644 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.5454, allocations: 275.2 kB / 0.5647 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003376/0.5488, allocations: 1.508 MB / 0.5662 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.5488, allocations: 38.56 kB / 0.5662 GB, free: 10.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.833e-06/0.5488, allocations: 0 / 0.5662 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002555/0.5514, allocations: 1.17 MB / 0.5673 GB, free: 8.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.5514, allocations: 55.41 kB / 0.5674 GB, free: 8.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.5519, allocations: 401.7 kB / 0.5678 GB, free: 8.469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.552, allocations: 29.7 kB / 0.5678 GB, free: 8.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.5522, allocations: 388 kB / 0.5682 GB, free: 8.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.5524, allocations: 170.6 kB / 0.5683 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.5526, allocations: 126.6 kB / 0.5685 GB, free: 7.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5528, allocations: 358.8 kB / 0.5688 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.553, allocations: 149.9 kB / 0.5689 GB, free: 7.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.5536, allocations: 396.3 kB / 0.5693 GB, free: 6.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.5544, allocations: 0.5747 MB / 0.5699 GB, free: 6.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5544, allocations: 8 kB / 0.5699 GB, free: 6.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001025/0.5554, allocations: 0.6087 MB / 0.5705 GB, free: 5.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5554, allocations: 8 kB / 0.5705 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5555, allocations: 8 kB / 0.5705 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.5555, allocations: 15.94 kB / 0.5705 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.5562, allocations: 208.4 kB / 0.5707 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.5562, allocations: 15.94 kB / 0.5707 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.5565, allocations: 19.98 kB / 0.5708 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.5566, allocations: 36 kB / 0.5708 GB, free: 5.141 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0002934/0.5569, allocations: 209.6 kB / 0.571 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.557, allocations: 47.67 kB / 0.571 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009784/0.5579, allocations: 0.4894 MB / 0.5715 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.558, allocations: 15.94 kB / 0.5715 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.558, allocations: 4 kB / 0.5715 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.558, allocations: 3.984 kB / 0.5715 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.5587, allocations: 474.6 kB / 0.572 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5587, allocations: 4 kB / 0.572 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.5593, allocations: 143.9 kB / 0.5721 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.5593, allocations: 4 kB / 0.5721 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.5594, allocations: 16 kB / 0.5721 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.5594, allocations: 4 kB / 0.5722 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5594, allocations: 3.938 kB / 0.5722 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.5605, allocations: 0.7264 MB / 0.5729 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.5607, allocations: 87.61 kB / 0.5729 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.5607, allocations: 7.984 kB / 0.573 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.5609, allocations: 12 kB / 0.573 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.561, allocations: 40.31 kB / 0.573 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.561, allocations: 24 kB / 0.573 GB, free: 2.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003677/0.5614, allocations: 259.2 kB / 0.5733 GB, free: 2.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5614, allocations: 0 / 0.5733 GB, free: 2.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001105/0.5625, allocations: 335.1 kB / 0.5736 GB, free: 2.176 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.0009263/0.5634, allocations: 441.8 kB / 0.574 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008022/0.5642, allocations: 417.7 kB / 0.5744 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5642, allocations: 0 / 0.5744 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.5645, allocations: 182.4 kB / 0.5746 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006849/0.5652, allocations: 133.3 kB / 0.5747 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.5675, allocations: 1.244 MB / 0.5759 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.5678, allocations: 292.1 kB / 0.5762 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.568, allocations: 91.39 kB / 0.5763 GB, free: 15.33 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.568, allocations: 0 / 0.5763 GB, free: 15.33 MB / 430.1 MB Notification: Performance of Templates: time 0.01588/0.5839, allocations: 9.552 MB / 0.5856 GB, free: 5.809 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.615675399021711] Failed to read output from testmodel.py, exit status != 0: 0.5924011719762348 0.6084214950000001 0.07293735500000001 Calling exit ...