Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 102.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1038/0.1038, allocations: 15.55 MB / 318.2 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.89 kB / 445.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1435, allocations: 56.55 MB / 0.4902 GB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.01143/0.1549, allocations: 8.616 MB / 0.4986 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3347/0.4896, allocations: 23.3 MB / 0.5214 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.4919, allocations: 24.75 kB / 0.5214 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.4937, allocations: 0.5138 MB / 0.5219 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007699/0.5014, allocations: 2.029 MB / 0.5239 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.5116, allocations: 3.022 MB / 0.5268 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005299/0.5169, allocations: 2.5 MB / 0.5293 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.519, allocations: 1.174 MB / 0.5304 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.5211, allocations: 1.226 MB / 0.5316 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.5236, allocations: 1.377 MB / 0.5329 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000451/0.524, allocations: 215.7 kB / 0.5331 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.5362, allocations: 2.624 MB / 0.5357 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008878/0.537, allocations: 0.5159 MB / 0.5362 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001829/0.5389, allocations: 1.086 MB / 0.5373 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.5562, allocations: 5.053 MB / 0.5422 GB, free: 224 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5562, allocations: 0 / 0.5422 GB, free: 224 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5562, allocations: 1.375 kB / 0.5422 GB, free: 224 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001538/0.5563, allocations: 0 / 0.5422 GB, free: 224 kB / 382.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.011/0.5673, allocations: 2.723 MB / 0.5449 GB, free: 14.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5674, allocations: 12.47 kB / 0.5449 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.5697, allocations: 433.5 kB / 0.5453 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.5721, allocations: 0.9655 MB / 0.5462 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.5723, allocations: 192 kB / 0.5464 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.5726, allocations: 191.2 kB / 0.5466 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.5768, allocations: 2.082 MB / 0.5486 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.5768, allocations: 3.938 kB / 0.5486 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.577, allocations: 71.81 kB / 0.5487 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.577, allocations: 44 kB / 0.5488 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004391/0.5814, allocations: 2.582 MB / 0.5513 GB, free: 10.82 MB / 398.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.01439/0.5958, allocations: 6.352 MB / 0.5575 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005797/0.6016, allocations: 2.405 MB / 0.5598 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.6033, allocations: 0.7426 MB / 0.5606 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/0.6179, allocations: 8.078 MB / 0.5684 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.6179, allocations: 48.98 kB / 0.5685 GB, free: 9.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.506e-06/0.6179, allocations: 0 / 0.5685 GB, free: 9.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.02925/0.6472, allocations: 6.215 MB / 0.5746 GB, free: 2.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.6472, allocations: 90.42 kB / 0.5746 GB, free: 2.645 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.6489, allocations: 0.9491 MB / 0.5756 GB, free: 1.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.6491, allocations: 49.7 kB / 0.5756 GB, free: 1.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/0.6499, allocations: 0.8512 MB / 0.5764 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006891/0.6505, allocations: 0.5462 MB / 0.577 GB, free: 216 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007268/0.6513, allocations: 375.4 kB / 0.5773 GB, free: 15.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6514, allocations: 305.1 kB / 0.5776 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.6525, allocations: 0.5272 MB / 0.5781 GB, free: 15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.6544, allocations: 1.247 MB / 0.5794 GB, free: 13.42 MB / 430.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.003448/0.6578, allocations: 2.043 MB / 0.5814 GB, free: 11.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.237e-05/0.6578, allocations: 8 kB / 0.5814 GB, free: 11.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008648/0.6665, allocations: 2.54 MB / 0.5838 GB, free: 8.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.6665, allocations: 12 kB / 0.5839 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.447e-05/0.6666, allocations: 24 kB / 0.5839 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005494/0.6721, allocations: 0.698 MB / 0.5846 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/0.6745, allocations: 0.5265 MB / 0.5851 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/0.6891, allocations: 8.266 MB / 0.5931 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.6912, allocations: 75.97 kB / 0.5932 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004851/0.6917, allocations: 112 kB / 0.5933 GB, free: 14.21 MB / 446.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.001215/0.6929, allocations: 381 kB / 0.5937 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006163/0.6935, allocations: 151 kB / 0.5938 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009139/0.7027, allocations: 2.47 MB / 0.5962 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.7027, allocations: 16 kB / 0.5963 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.7027, allocations: 0 / 0.5963 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.7027, allocations: 11.91 kB / 0.5963 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006948/0.7097, allocations: 2.523 MB / 0.5987 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.7097, allocations: 4.312 kB / 0.5987 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.7113, allocations: 307.6 kB / 0.599 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00641/0.7177, allocations: 0.7494 MB / 0.5998 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003068/0.718, allocations: 47.86 kB / 0.5998 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/0.7325, allocations: 9.495 MB / 0.6091 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.7325, allocations: 4.188 kB / 0.6091 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.7427, allocations: 2.819 MB / 0.6118 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.7437, allocations: 204.1 kB / 0.612 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008142/0.7445, allocations: 32 kB / 0.6121 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.746, allocations: 35.98 kB / 0.6121 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004628/0.7464, allocations: 125 kB / 0.6122 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.7466, allocations: 51.98 kB / 0.6123 GB, free: 9.848 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001499/0.7481, allocations: 0.6344 MB / 0.6129 GB, free: 9.207 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7481, allocations: 0 / 0.6129 GB, free: 9.207 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005109/0.7532, allocations: 1.071 MB / 0.6139 GB, free: 8.133 MB / 462.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.004167/0.7574, allocations: 1.105 MB / 0.615 GB, free: 7.016 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004621/0.762, allocations: 1.986 MB / 0.617 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.762, allocations: 0 / 0.617 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002425/0.7644, allocations: 1.305 MB / 0.6182 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.7669, allocations: 332.8 kB / 0.6185 GB, free: 3.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.7735, allocations: 3.04 MB / 0.6215 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.7746, allocations: 1.271 MB / 0.6228 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001318/0.7759, allocations: 323.8 kB / 0.6231 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/0.7765, allocations: 207.3 kB / 0.6233 GB, free: 14.37 MB / 478.1 MB Notification: Performance of SimCode: time 2.154e-06/0.7765, allocations: 0 / 0.6233 GB, free: 14.37 MB / 478.1 MB Notification: Performance of Templates: time 0.07193/0.8484, allocations: 38.01 MB / 0.6604 GB, free: 8.512 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.092976559884846]