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.001313/0.001313, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001501/0.001501, allocations: 212 kB / 22.99 MB, free: 4.984 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1491/0.1491, 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.002039/0.002039, allocations: 72.12 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4013, allocations: 59.86 MB / 0.5197 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008031/0.4093, allocations: 7.577 MB / 0.5271 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0301/0.4394, allocations: 20.52 MB / 0.5472 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.4421, allocations: 29.69 kB / 0.5472 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.4443, allocations: 480.8 kB / 0.5477 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008297/0.4526, allocations: 2.041 MB / 0.5497 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.4631, allocations: 3.065 MB / 0.5527 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004288/0.4674, allocations: 2.509 MB / 0.5551 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.469, allocations: 1.156 MB / 0.5562 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.4706, allocations: 1.243 MB / 0.5574 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.4725, allocations: 1.381 MB / 0.5588 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003206/0.4728, allocations: 216 kB / 0.559 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00787/0.4807, allocations: 2.531 MB / 0.5615 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006502/0.4813, allocations: 0.5143 MB / 0.562 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.4827, allocations: 0.9274 MB / 0.5629 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.4941, allocations: 5.179 MB / 0.5679 GB, free: 8.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4941, allocations: 0 / 0.5679 GB, free: 8.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4941, allocations: 0 / 0.5679 GB, free: 8.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.533e-05/0.4941, allocations: 0 / 0.5679 GB, free: 8.434 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.005142/0.4993, allocations: 2.651 MB / 0.5705 GB, free: 5.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4993, allocations: 12.03 kB / 0.5705 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.5012, allocations: 422.9 kB / 0.5709 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.503, allocations: 0.906 MB / 0.5718 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.5033, allocations: 239 kB / 0.5721 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/0.5036, allocations: 196.3 kB / 0.5722 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/0.5074, allocations: 2.086 MB / 0.5743 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.5074, allocations: 0 / 0.5743 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.5076, allocations: 72 kB / 0.5743 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.5076, allocations: 44 kB / 0.5744 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004229/0.5118, allocations: 2.549 MB / 0.5769 GB, free: 15.14 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.009975/0.5218, allocations: 5.137 MB / 0.5819 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/0.5269, allocations: 2.164 MB / 0.584 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.5282, allocations: 0.7377 MB / 0.5847 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009673/0.5378, allocations: 4.171 MB / 0.5888 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.5379, allocations: 47.56 kB / 0.5888 GB, free: 2.727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.956e-06/0.5379, allocations: 0 / 0.5888 GB, free: 2.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.0305/0.5684, allocations: 5.826 MB / 0.5945 GB, free: 12.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.5685, allocations: 98.36 kB / 0.5946 GB, free: 12.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.5696, allocations: 0.8562 MB / 0.5955 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.5697, allocations: 53.7 kB / 0.5955 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006303/0.5703, allocations: 0.8628 MB / 0.5964 GB, free: 10.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.5709, allocations: 0.5423 MB / 0.5969 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005769/0.5714, allocations: 371.5 kB / 0.5972 GB, free: 9.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5716, allocations: 357.9 kB / 0.5976 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.5727, allocations: 0.531 MB / 0.5981 GB, free: 9.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.5743, allocations: 1.247 MB / 0.5993 GB, free: 7.504 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.003087/0.5774, allocations: 1.973 MB / 0.6012 GB, free: 5.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.5774, allocations: 12 kB / 0.6013 GB, free: 5.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008966/0.5864, allocations: 2.522 MB / 0.6037 GB, free: 2.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.5864, allocations: 16 kB / 0.6037 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.5864, allocations: 24 kB / 0.6038 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006396/0.5928, allocations: 0.698 MB / 0.6044 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.595, allocations: 0.5227 MB / 0.605 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.6085, allocations: 7.697 MB / 0.6125 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.6099, allocations: 71.95 kB / 0.6125 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.6101, allocations: 112 kB / 0.6126 GB, free: 9.09 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.0007654/0.6109, allocations: 385.2 kB / 0.613 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.6112, allocations: 135.2 kB / 0.6131 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009979/0.6212, allocations: 2.469 MB / 0.6156 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.6212, allocations: 16 kB / 0.6156 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.6212, allocations: 4 kB / 0.6156 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.6212, allocations: 7.969 kB / 0.6156 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0053/0.6265, allocations: 2.129 MB / 0.6177 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.6265, allocations: 4 kB / 0.6177 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.628, allocations: 312 kB / 0.618 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007597/0.6356, allocations: 0.7494 MB / 0.6187 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.6358, allocations: 39.98 kB / 0.6187 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/0.6491, allocations: 8.775 MB / 0.6273 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6491, allocations: 4.031 kB / 0.6273 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.6592, allocations: 2.799 MB / 0.63 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.6596, allocations: 123.1 kB / 0.6302 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.6598, allocations: 28.19 kB / 0.6302 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.6606, allocations: 39.98 kB / 0.6302 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/0.661, allocations: 137.1 kB / 0.6303 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.6611, allocations: 51.98 kB / 0.6304 GB, free: 6.176 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007898/0.6619, allocations: 0.5526 MB / 0.6309 GB, free: 5.613 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6619, allocations: 0 / 0.6309 GB, free: 5.613 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003248/0.6651, allocations: 1.064 MB / 0.632 GB, free: 4.547 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.002157/0.6673, allocations: 1.117 MB / 0.6331 GB, free: 3.414 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003951/0.6712, allocations: 1.987 MB / 0.635 GB, free: 1.379 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6712, allocations: 0 / 0.635 GB, free: 1.379 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.6735, allocations: 1.302 MB / 0.6363 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.6751, allocations: 304.7 kB / 0.6366 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.6805, allocations: 3.025 MB / 0.6395 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/0.6813, allocations: 0.6837 MB / 0.6402 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001163/0.6824, allocations: 318.9 kB / 0.6405 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/0.6829, allocations: 195.3 kB / 0.6407 GB, free: 11.41 MB / 494.1 MB Notification: Performance of SimCode: time 1.743e-06/0.6829, allocations: 4 kB / 0.6407 GB, free: 11.4 MB / 494.1 MB Notification: Performance of Templates: time 0.06214/0.745, allocations: 40.34 MB / 0.6801 GB, free: 3.344 MB / 0.5137 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.626146588998381] Failed to read output from testmodel.py, exit status != 0: 0.7543449049990159 0.768701129 0.27133862499999994 Calling exit ...