Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ExothermicReaction.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.001553/0.001553, 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.001771/0.001771, allocations: 211.8 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1463/0.1463, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ExothermicReaction") translateModel(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ExothermicReaction") [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.002169/0.002169, allocations: 71.89 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3642, allocations: 59.87 MB / 0.5198 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008419/0.3726, allocations: 7.588 MB / 0.5272 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02865/0.4013, allocations: 20.51 MB / 0.5472 GB, free: 6.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.4034, allocations: 30.41 kB / 0.5472 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.4056, allocations: 480.8 kB / 0.5477 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008728/0.4143, allocations: 2.04 MB / 0.5497 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01063/0.425, allocations: 3.057 MB / 0.5527 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004735/0.4297, allocations: 2.508 MB / 0.5551 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.4316, allocations: 1.135 MB / 0.5562 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.4337, allocations: 1.248 MB / 0.5574 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.4361, allocations: 1.233 MB / 0.5586 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004007/0.4365, allocations: 215.9 kB / 0.5588 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009851/0.4463, allocations: 2.466 MB / 0.5612 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009709/0.4473, allocations: 0.511 MB / 0.5617 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.4492, allocations: 0.925 MB / 0.5626 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01848/0.4677, allocations: 5.179 MB / 0.5677 GB, free: 8.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.4677, allocations: 0 / 0.5677 GB, free: 8.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4677, allocations: 0 / 0.5677 GB, free: 8.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.636e-05/0.4678, allocations: 4 kB / 0.5677 GB, free: 8.52 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.005986/0.4738, allocations: 2.643 MB / 0.5703 GB, free: 5.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4738, allocations: 8.031 kB / 0.5703 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.4757, allocations: 430.9 kB / 0.5707 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.4777, allocations: 0.9138 MB / 0.5716 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.4779, allocations: 239 kB / 0.5718 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/0.4783, allocations: 196.3 kB / 0.572 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/0.4819, allocations: 2.082 MB / 0.5741 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.482, allocations: 0 / 0.5741 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.4822, allocations: 72 kB / 0.5741 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.4822, allocations: 44 kB / 0.5742 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004321/0.4865, allocations: 2.553 MB / 0.5767 GB, free: 15.23 MB / 430.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.01082/0.4973, allocations: 5.141 MB / 0.5817 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005104/0.5024, allocations: 2.151 MB / 0.5838 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.5037, allocations: 0.7416 MB / 0.5845 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.5139, allocations: 4.179 MB / 0.5886 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.5139, allocations: 51.5 kB / 0.5886 GB, free: 2.801 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.367e-06/0.5139, allocations: 0 / 0.5886 GB, free: 2.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02743/0.5414, allocations: 5.819 MB / 0.5943 GB, free: 12.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.5414, allocations: 98.36 kB / 0.5944 GB, free: 12.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.5428, allocations: 0.8562 MB / 0.5952 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.5429, allocations: 49.7 kB / 0.5953 GB, free: 11.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006876/0.5436, allocations: 0.8628 MB / 0.5961 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006183/0.5442, allocations: 0.5422 MB / 0.5967 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006276/0.5449, allocations: 375.5 kB / 0.597 GB, free: 10.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.5451, allocations: 361.9 kB / 0.5974 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.5462, allocations: 0.5272 MB / 0.5979 GB, free: 9.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.5479, allocations: 1.247 MB / 0.5991 GB, free: 7.582 MB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/0.5512, allocations: 1.969 MB / 0.601 GB, free: 5.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/0.5512, allocations: 8 kB / 0.601 GB, free: 5.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008608/0.5598, allocations: 2.534 MB / 0.6035 GB, free: 2.723 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.5599, allocations: 16 kB / 0.6035 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.024e-05/0.5599, allocations: 20 kB / 0.6035 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005623/0.5655, allocations: 0.6941 MB / 0.6042 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.5678, allocations: 0.5304 MB / 0.6047 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.5809, allocations: 7.689 MB / 0.6122 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.5825, allocations: 72 kB / 0.6123 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003872/0.5829, allocations: 120 kB / 0.6124 GB, free: 9.16 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001061/0.584, allocations: 381 kB / 0.6128 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.5845, allocations: 131.2 kB / 0.6129 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00906/0.5935, allocations: 2.473 MB / 0.6153 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.5935, allocations: 16 kB / 0.6153 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.5936, allocations: 0 / 0.6153 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.5936, allocations: 11.97 kB / 0.6154 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005659/0.5992, allocations: 2.129 MB / 0.6174 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.5993, allocations: 4 kB / 0.6174 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.6007, allocations: 311.6 kB / 0.6177 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006299/0.607, allocations: 0.7534 MB / 0.6185 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/0.6072, allocations: 39.98 kB / 0.6185 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/0.6205, allocations: 8.771 MB / 0.6271 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.6205, allocations: 8.094 kB / 0.6271 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009629/0.6301, allocations: 2.803 MB / 0.6298 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.6306, allocations: 115.1 kB / 0.6299 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/0.6309, allocations: 28 kB / 0.63 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/0.6318, allocations: 35.98 kB / 0.63 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/0.6322, allocations: 133 kB / 0.6301 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.6323, allocations: 51.98 kB / 0.6302 GB, free: 6.258 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009671/0.6333, allocations: 0.5526 MB / 0.6307 GB, free: 5.695 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6333, allocations: 0 / 0.6307 GB, free: 5.695 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003932/0.6372, allocations: 1.068 MB / 0.6317 GB, free: 4.625 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003404/0.6406, allocations: 1.123 MB / 0.6328 GB, free: 3.488 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004263/0.6449, allocations: 1.991 MB / 0.6348 GB, free: 1.449 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.6449, allocations: 0 / 0.6348 GB, free: 1.449 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.6472, allocations: 1.302 MB / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.649, allocations: 295.1 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/0.6549, allocations: 3.079 MB / 0.6393 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009474/0.6559, allocations: 0.6837 MB / 0.64 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/0.6565, allocations: 255.3 kB / 0.6403 GB, free: 11.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6565, allocations: 0 / 0.6403 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Templates: time 0.0745/0.731, allocations: 57.78 MB / 0.6967 GB, free: 1.961 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Obsolete.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.291121989954263] Failed to read output from testmodel.py, exit status != 0: 0.7411355031654239 0.7561426179999999 0.28497227199999997 Calling exit ...