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.001476/0.001476, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001749/0.001749, allocations: 211.6 kB / 22.99 MB, free: 4.945 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1473/0.1473, allocations: 23.99 MB / 337.2 MB, free: 10.85 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.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.002135/0.002135, allocations: 67.89 kB / 472.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3846, allocations: 59.89 MB / 0.5199 GB, free: 9.723 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.07332/0.4579, allocations: 25.52 MB / 0.5449 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.4733, allocations: 10.26 MB / 0.5549 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.4743, allocations: 19.81 kB / 0.5549 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.4751, allocations: 240.9 kB / 0.5551 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.4782, allocations: 0.9937 MB / 0.5561 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005025/0.4833, allocations: 1.533 MB / 0.5576 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002164/0.4854, allocations: 1.259 MB / 0.5588 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008807/0.4863, allocations: 0.5574 MB / 0.5594 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.487, allocations: 0.6238 MB / 0.56 GB, free: 116 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009791/0.488, allocations: 0.6067 MB / 0.5606 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.4882, allocations: 108 kB / 0.5607 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003936/0.4921, allocations: 1.22 MB / 0.5619 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003227/0.4924, allocations: 259.4 kB / 0.5621 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.493, allocations: 475.2 kB / 0.5626 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005398/0.4984, allocations: 2.585 MB / 0.5651 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4984, allocations: 0 / 0.5651 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4984, allocations: 0 / 0.5651 GB, free: 11.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.4984, allocations: 0 / 0.5651 GB, free: 11.42 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.002861/0.5013, allocations: 1.45 MB / 0.5665 GB, free: 9.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5013, allocations: 12.02 kB / 0.5665 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000926/0.5023, allocations: 211.9 kB / 0.5667 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.5032, allocations: 0.5232 MB / 0.5672 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.5034, allocations: 118 kB / 0.5673 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.5035, allocations: 92.38 kB / 0.5674 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.5052, allocations: 1.057 MB / 0.5685 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.5053, allocations: 4 kB / 0.5685 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.5053, allocations: 36 kB / 0.5685 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.5054, allocations: 20 kB / 0.5685 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.5074, allocations: 1.261 MB / 0.5698 GB, free: 6.551 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.005117/0.5125, allocations: 2.709 MB / 0.5724 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.5148, allocations: 1.232 MB / 0.5736 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.5154, allocations: 391.7 kB / 0.574 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004481/0.5199, allocations: 2.077 MB / 0.576 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.5199, allocations: 43.06 kB / 0.576 GB, free: 15.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.344e-06/0.5199, allocations: 0 / 0.576 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003144/0.5231, allocations: 1.603 MB / 0.5776 GB, free: 14.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.5231, allocations: 64 kB / 0.5777 GB, free: 14.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.5237, allocations: 0.4986 MB / 0.5782 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.5237, allocations: 37.7 kB / 0.5782 GB, free: 13.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.5241, allocations: 471.7 kB / 0.5786 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.5243, allocations: 234 kB / 0.5789 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.5245, allocations: 174.6 kB / 0.579 GB, free: 12.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.5247, allocations: 374.8 kB / 0.5794 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.5251, allocations: 213.9 kB / 0.5796 GB, free: 12.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006433/0.5257, allocations: 0.5296 MB / 0.5801 GB, free: 11.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.5268, allocations: 0.8182 MB / 0.5809 GB, free: 10.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5268, allocations: 4 kB / 0.5809 GB, free: 10.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001366/0.5282, allocations: 0.8449 MB / 0.5817 GB, free: 9.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.5282, allocations: 11.98 kB / 0.5818 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.5282, allocations: 12 kB / 0.5818 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.5283, allocations: 16 kB / 0.5818 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009449/0.5292, allocations: 267.6 kB / 0.582 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.66e-05/0.5292, allocations: 23.92 kB / 0.5821 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.5296, allocations: 28.12 kB / 0.5821 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/0.5297, allocations: 51.98 kB / 0.5821 GB, free: 9.363 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.0003193/0.53, allocations: 241.5 kB / 0.5824 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5301, allocations: 67.53 kB / 0.5824 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.5314, allocations: 0.6832 MB / 0.5831 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.5314, allocations: 15.94 kB / 0.5831 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5314, allocations: 0 / 0.5831 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.5315, allocations: 3.984 kB / 0.5831 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/0.5323, allocations: 0.5729 MB / 0.5837 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5323, allocations: 11.92 kB / 0.5837 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.533, allocations: 175.9 kB / 0.5839 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.533, allocations: 4 kB / 0.5839 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.5331, allocations: 20 kB / 0.5839 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.5331, allocations: 4 kB / 0.5839 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5331, allocations: 7.875 kB / 0.5839 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.5345, allocations: 0.9491 MB / 0.5848 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.5348, allocations: 107.6 kB / 0.5849 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.5348, allocations: 12 kB / 0.5849 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.5351, allocations: 19.98 kB / 0.5849 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5352, allocations: 56.45 kB / 0.585 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.5353, allocations: 31.98 kB / 0.585 GB, free: 6.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003545/0.5356, allocations: 318.9 kB / 0.5853 GB, free: 5.992 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5356, allocations: 0 / 0.5853 GB, free: 5.992 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001341/0.537, allocations: 482.6 kB / 0.5858 GB, free: 5.52 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.001044/0.538, allocations: 0.6027 MB / 0.5864 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.539, allocations: 0.5687 MB / 0.5869 GB, free: 4.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.539, allocations: 4 kB / 0.5869 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.5394, allocations: 265.3 kB / 0.5872 GB, free: 4.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.5403, allocations: 160.7 kB / 0.5874 GB, free: 3.926 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.5429, allocations: 1.553 MB / 0.5889 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.5433, allocations: 369.4 kB / 0.5892 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.5436, allocations: 127.4 kB / 0.5893 GB, free: 1.812 MB / 430.1 MB Notification: Performance of SimCode: time 9.61e-07/0.5436, allocations: 0 / 0.5893 GB, free: 1.812 MB / 430.1 MB Notification: Performance of Templates: time 0.01927/0.5629, allocations: 13.03 MB / 0.6021 GB, free: 4.812 MB / 446.1 MB " [Timeout remaining time 659] 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.444056706037372] Failed to read output from testmodel.py, exit status != 0: 0.5722891320474446 0.586119374 0.08457550900000001 Calling exit ...