Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001516/0.001516, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001623/0.001623, allocations: 160.7 kB / 23.01 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.392/1.392, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] 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.1246/0.1246, allocations: 17.36 MB / 277.1 MB, free: 15.25 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002152/0.002152, allocations: 67.91 kB / 412.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1102, allocations: 59.85 MB / 472.3 MB, free: 9.758 MB / 446.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.SimpleReaction): time 0.4142/0.5245, allocations: 24.8 MB / 497.1 MB, free: 39.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006632/0.5311, allocations: 7.062 MB / 0.4923 GB, free: 35.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.5314, allocations: 14.06 kB / 0.4923 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.5319, allocations: 176.8 kB / 0.4925 GB, free: 35.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.5332, allocations: 0.6984 MB / 0.4932 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.5352, allocations: 1.04 MB / 0.4942 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008346/0.536, allocations: 0.9404 MB / 0.4951 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.5364, allocations: 424.3 kB / 0.4955 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.5367, allocations: 463.7 kB / 0.496 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.5372, allocations: 458.6 kB / 0.4964 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-05/0.5373, allocations: 78.78 kB / 0.4965 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.5388, allocations: 0.8189 MB / 0.4973 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.5389, allocations: 190.7 kB / 0.4975 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.5392, allocations: 347.5 kB / 0.4978 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.5414, allocations: 1.82 MB / 0.4996 GB, free: 32.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.5414, allocations: 4 kB / 0.4996 GB, free: 32.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5414, allocations: 0 / 0.4996 GB, free: 32.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.5414, allocations: 3.938 kB / 0.4996 GB, free: 32.73 MB / 446.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.001722/0.5432, allocations: 1.113 MB / 0.5007 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.5432, allocations: 10.09 kB / 0.5007 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006246/0.5438, allocations: 158.6 kB / 0.5008 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.5445, allocations: 426 kB / 0.5012 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.5446, allocations: 106.9 kB / 0.5013 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.5447, allocations: 76.16 kB / 0.5014 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5459, allocations: 0.7752 MB / 0.5022 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.5459, allocations: 0 / 0.5022 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.546, allocations: 30.45 kB / 0.5022 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.546, allocations: 15.44 kB / 0.5022 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.5473, allocations: 0.8795 MB / 0.5031 GB, free: 30.93 MB / 446.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.003129/0.5504, allocations: 1.966 MB / 0.505 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.5517, allocations: 0.8101 MB / 0.5058 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.5521, allocations: 277 kB / 0.506 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002751/0.5548, allocations: 1.516 MB / 0.5075 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.5548, allocations: 36.22 kB / 0.5075 GB, free: 28.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.5548, allocations: 1.188 kB / 0.5075 GB, free: 28.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.002076/0.5569, allocations: 1.163 MB / 0.5087 GB, free: 27.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.5569, allocations: 60.23 kB / 0.5087 GB, free: 27.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.5573, allocations: 399.4 kB / 0.5091 GB, free: 27.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5573, allocations: 32.14 kB / 0.5092 GB, free: 27.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.5574, allocations: 385.6 kB / 0.5095 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/0.5575, allocations: 168.9 kB / 0.5097 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.5577, allocations: 133.2 kB / 0.5098 GB, free: 27.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.5577, allocations: 359.7 kB / 0.5102 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.558, allocations: 149.9 kB / 0.5103 GB, free: 26.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.5583, allocations: 391.1 kB / 0.5107 GB, free: 26.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.5589, allocations: 0.5799 MB / 0.5112 GB, free: 25.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5589, allocations: 2.375 kB / 0.5112 GB, free: 25.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008337/0.5597, allocations: 0.6136 MB / 0.5118 GB, free: 25.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5598, allocations: 7.469 kB / 0.5118 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5598, allocations: 8.594 kB / 0.5119 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.5598, allocations: 16.53 kB / 0.5119 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.5605, allocations: 210.1 kB / 0.5121 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.5605, allocations: 19.77 kB / 0.5121 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.5608, allocations: 17.03 kB / 0.5121 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.5608, allocations: 40.48 kB / 0.5121 GB, free: 25.66 MB / 446.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.0001921/0.561, allocations: 198.6 kB / 0.5123 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/0.5611, allocations: 49.86 kB / 0.5124 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000877/0.562, allocations: 0.4973 MB / 0.5129 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.562, allocations: 9.75 kB / 0.5129 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.562, allocations: 0 / 0.5129 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.562, allocations: 3.422 kB / 0.5129 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.5625, allocations: 479.2 kB / 0.5133 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5625, allocations: 5.156 kB / 0.5133 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.5631, allocations: 146.4 kB / 0.5135 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5631, allocations: 7.797 kB / 0.5135 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.5631, allocations: 15.38 kB / 0.5135 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5631, allocations: 2.438 kB / 0.5135 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5631, allocations: 5.188 kB / 0.5135 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.564, allocations: 0.7236 MB / 0.5142 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.5641, allocations: 90.94 kB / 0.5143 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.5642, allocations: 7.969 kB / 0.5143 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.5644, allocations: 11.47 kB / 0.5143 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.5645, allocations: 45.48 kB / 0.5144 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.5645, allocations: 22.08 kB / 0.5144 GB, free: 24.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.5647, allocations: 257.6 kB / 0.5146 GB, free: 24.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5647, allocations: 0 / 0.5146 GB, free: 24.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009146/0.5656, allocations: 333.6 kB / 0.5149 GB, free: 24.2 MB / 446.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.0006415/0.5663, allocations: 445.9 kB / 0.5154 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006067/0.5669, allocations: 412.9 kB / 0.5158 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5669, allocations: 1.25 kB / 0.5158 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.5671, allocations: 194.7 kB / 0.516 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/0.5677, allocations: 127.2 kB / 0.5161 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.5693, allocations: 1.214 MB / 0.5173 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.5695, allocations: 286.8 kB / 0.5175 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000321/0.5698, allocations: 118.9 kB / 0.5176 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.57, allocations: 75.66 kB / 0.5177 GB, free: 22.86 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.57, allocations: 0 / 0.5177 GB, free: 22.86 MB / 446.1 MB Notification: Performance of Templates: time 0.01495/0.5849, allocations: 10.11 MB / 0.5276 GB, free: 21.71 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.04508298705332] Failed to read output from testmodel.py, exit status != 0: 0.5926402220502496 0.6010909090000001 0.057511347000000004 Calling exit ...