Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009552/0.0009552, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009933/0.0009933, allocations: 169 kB / 23.28 MB, free: 1.223 MB / 18.57 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 0.9942/0.9942, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.09411/0.09411, allocations: 17.47 MB / 277.7 MB, free: 11.4 MB / 266.7 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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction") translateModel(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 354 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.033e-05, allocations: 6.25 kB / 354 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.006398/0.006418, allocations: 8.406 MB / 362.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01649/0.02291, allocations: 22.86 MB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/0.02374, allocations: 27.75 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008841/0.02463, allocations: 488 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.02823, allocations: 2.113 MB / 387.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.03355, allocations: 3.145 MB / 391 MB, free: 5.426 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.03545, allocations: 2.596 MB / 393.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009067/0.03636, allocations: 1.19 MB / 394.8 MB, free: 1.586 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.03757, allocations: 1.72 MB / 396.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009922/0.03857, allocations: 1.142 MB / 397.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.03879, allocations: 216 kB / 397.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/0.04235, allocations: 2.487 MB / 400.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.04278, allocations: 0.5256 MB / 400.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.0433, allocations: 0.7952 MB / 401.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.04741, allocations: 4.704 MB / 406.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.04741, allocations: 3.938 kB / 406.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.04742, allocations: 0 / 406.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.04743, allocations: 0 / 406.4 MB, free: 5.965 MB / 378.7 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.002548/0.04998, allocations: 2.768 MB / 409.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.05001, allocations: 8.031 kB / 409.2 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.05108, allocations: 0.6886 MB / 409.9 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.05218, allocations: 0.9158 MB / 410.8 MB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.0523, allocations: 247 kB / 411 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.05249, allocations: 192.3 kB / 411.2 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.05385, allocations: 1.525 MB / 412.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.05388, allocations: 4.125 kB / 412.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.05398, allocations: 76.12 kB / 412.8 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.05401, allocations: 40 kB / 412.9 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.05542, allocations: 1.471 MB / 414.3 MB, free: 13.89 MB / 394.7 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.005381/0.0608, allocations: 5.118 MB / 419.4 MB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.06312, allocations: 1.98 MB / 421.4 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.06356, allocations: 460.9 kB / 421.9 MB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004957/0.06852, allocations: 4.276 MB / 426.2 MB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.06855, allocations: 50.38 kB / 426.2 MB, free: 1.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 2.495e-06/0.06855, allocations: 0 / 426.2 MB, free: 1.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.01076/0.07931, allocations: 4.477 MB / 430.7 MB, free: 13.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.07935, allocations: 90.42 kB / 430.8 MB, free: 13.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.07992, allocations: 0.8734 MB / 431.6 MB, free: 12.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.07998, allocations: 53.7 kB / 431.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.08062, allocations: 0.9239 MB / 432.6 MB, free: 11.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.08089, allocations: 0.5422 MB / 433.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.08122, allocations: 388.9 kB / 433.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.08138, allocations: 0.5393 MB / 434.1 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.08168, allocations: 267.8 kB / 434.3 MB, free: 9.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.08241, allocations: 1.285 MB / 435.6 MB, free: 7.797 MB / 410.7 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.001259/0.08367, allocations: 1.772 MB / 437.4 MB, free: 5.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.08368, allocations: 8 kB / 437.4 MB, free: 5.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003596/0.08727, allocations: 2.03 MB / 439.4 MB, free: 3.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.08729, allocations: 19.94 kB / 439.5 MB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.08731, allocations: 24 kB / 439.5 MB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003891/0.0912, allocations: 1.087 MB / 440.6 MB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/0.09218, allocations: 0.5188 MB / 441.1 MB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.152/0.2442, allocations: 8.979 MB / 450.1 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.2453, allocations: 72.7 kB / 450.1 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.2454, allocations: 93.36 kB / 450.2 MB, free: 109.5 MB / 410.7 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.0005138/0.246, allocations: 299.5 kB / 450.5 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.2463, allocations: 185.2 kB / 450.7 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/0.2501, allocations: 2.061 MB / 452.8 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.2501, allocations: 12.97 kB / 452.8 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2501, allocations: 3.188 kB / 452.8 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2501, allocations: 9.859 kB / 452.8 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.2527, allocations: 1.93 MB / 454.7 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.2527, allocations: 3.281 kB / 454.7 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.2534, allocations: 307.5 kB / 455 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004289/0.2577, allocations: 1.201 MB / 456.2 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/0.2578, allocations: 42.81 kB / 456.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.2632, allocations: 10.57 MB / 466.8 MB, free: 99.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2632, allocations: 3.281 kB / 466.8 MB, free: 99.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.2671, allocations: 2.111 MB / 468.9 MB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.2673, allocations: 125.8 kB / 469.1 MB, free: 98.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.2674, allocations: 35.97 kB / 469.1 MB, free: 98.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.2678, allocations: 31.31 kB / 469.1 MB, free: 98.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.268, allocations: 137 kB / 469.3 MB, free: 98.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.2681, allocations: 44.86 kB / 469.3 MB, free: 98.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000339/0.2684, allocations: 494.4 kB / 469.8 MB, free: 98.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2684, allocations: 0 / 469.8 MB, free: 98.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002477/0.2709, allocations: 1.061 MB / 470.9 MB, free: 97.96 MB / 410.7 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.001622/0.2725, allocations: 1.217 MB / 472.1 MB, free: 97.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002/0.2745, allocations: 1.827 MB / 473.9 MB, free: 96.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.2745, allocations: 0 / 473.9 MB, free: 96.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.2756, allocations: 1.426 MB / 475.3 MB, free: 95.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.2766, allocations: 339.6 kB / 475.7 MB, free: 95.8 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.2806, allocations: 2.779 MB / 478.4 MB, free: 94.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2809, allocations: 295.1 kB / 478.7 MB, free: 94.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007971/0.2817, allocations: 318 kB / 479 MB, free: 94.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/0.2823, allocations: 486.7 kB / 479.5 MB, free: 94.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2823, allocations: 0 / 479.5 MB, free: 94.02 MB / 410.7 MB Notification: Performance of Templates: time 0.04414/0.3265, allocations: 43.06 MB / 0.5103 GB, free: 68.85 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.176826537121087]