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.000987/0.000987, allocations: 97.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009917/0.0009917, allocations: 173.3 kB / 23.02 MB, free: 1.543 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 1.068/1.068, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.09173/0.09173, allocations: 17.46 MB / 277.4 MB, free: 11.56 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.593e-06/1.593e-06, allocations: 0 / 353.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.402e-05, allocations: 6.312 kB / 353.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007054/0.007078, allocations: 8.566 MB / 362.1 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.02607, allocations: 23.52 MB / 385.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.02731, allocations: 27.75 kB / 385.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.02868, allocations: 492 kB / 386.1 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004838/0.03352, allocations: 2.113 MB / 388.3 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006309/0.03983, allocations: 3.145 MB / 391.4 MB, free: 3.832 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.04274, allocations: 2.588 MB / 394 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.04405, allocations: 1.202 MB / 395.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.0458, allocations: 1.712 MB / 396.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.04722, allocations: 1.15 MB / 398 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000473/0.0477, allocations: 216 kB / 398.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005333/0.05303, allocations: 2.476 MB / 400.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005477/0.05358, allocations: 0.5256 MB / 401.3 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009059/0.05448, allocations: 0.8029 MB / 402.1 MB, free: 9.094 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009682/0.06417, allocations: 4.7 MB / 406.8 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.06417, allocations: 0 / 406.8 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.06417, allocations: 4 kB / 406.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.851e-05/0.06423, allocations: 0 / 406.8 MB, free: 4.371 MB / 330.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.003451/0.06768, allocations: 2.756 MB / 409.5 MB, free: 1.562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.06773, allocations: 12.02 kB / 409.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.06904, allocations: 0.6886 MB / 410.2 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1407/0.2097, allocations: 0.9096 MB / 411.1 MB, free: 36.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.21, allocations: 241.6 kB / 411.4 MB, free: 36.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004399/0.2104, allocations: 189.3 kB / 411.6 MB, free: 36.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.213, allocations: 1.679 MB / 413.2 MB, free: 36.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.2131, allocations: 3.938 kB / 413.2 MB, free: 36.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.2132, allocations: 76.53 kB / 413.3 MB, free: 36.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.2132, allocations: 44.95 kB / 413.4 MB, free: 36.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.2158, allocations: 1.722 MB / 415.1 MB, free: 36.53 MB / 330.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.006927/0.2227, allocations: 5.088 MB / 420.2 MB, free: 35.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.2256, allocations: 2.106 MB / 422.3 MB, free: 35.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.2263, allocations: 0.5242 MB / 422.8 MB, free: 35.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00532/0.2316, allocations: 4.216 MB / 427 MB, free: 34.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.2316, allocations: 51.23 kB / 427.1 MB, free: 34.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.417e-06/0.2316, allocations: 0 / 427.1 MB, free: 34.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.01285/0.2445, allocations: 5.151 MB / 432.2 MB, free: 33.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.2445, allocations: 101.2 kB / 432.3 MB, free: 32.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.2452, allocations: 0.8787 MB / 433.2 MB, free: 32.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.359e-05/0.2453, allocations: 52.14 kB / 433.2 MB, free: 32.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.2457, allocations: 0.9131 MB / 434.2 MB, free: 31.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.246, allocations: 0.5394 MB / 434.7 MB, free: 31.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.2464, allocations: 373.4 kB / 435.1 MB, free: 31.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2465, allocations: 0.5361 MB / 435.6 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.247, allocations: 349.1 kB / 435.9 MB, free: 30.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/0.2479, allocations: 1.347 MB / 437.3 MB, free: 29.43 MB / 330.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.001805/0.2497, allocations: 1.909 MB / 439.2 MB, free: 27.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.2497, allocations: 7.562 kB / 439.2 MB, free: 27.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004146/0.2538, allocations: 2.203 MB / 441.4 MB, free: 26.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.2539, allocations: 16 kB / 441.4 MB, free: 26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.2539, allocations: 24 kB / 441.4 MB, free: 25.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003928/0.2578, allocations: 1.102 MB / 442.5 MB, free: 24.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.2591, allocations: 0.5206 MB / 443.1 MB, free: 24.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006389/0.2654, allocations: 9.102 MB / 452.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.2666, allocations: 70.06 kB / 452.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.2668, allocations: 116 kB / 452.3 MB, free: 14.68 MB / 330.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.0004862/0.2673, allocations: 293.2 kB / 452.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.2675, allocations: 183.1 kB / 452.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/0.2713, allocations: 2.167 MB / 455 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2713, allocations: 16 kB / 455 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2713, allocations: 4 kB / 455 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2714, allocations: 11.91 kB / 455 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.274, allocations: 1.96 MB / 457 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.274, allocations: 4 kB / 457 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/0.2747, allocations: 303.5 kB / 457.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004473/0.2792, allocations: 1.215 MB / 458.5 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.2794, allocations: 39.98 kB / 458.5 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006017/0.2854, allocations: 10.73 MB / 469.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2854, allocations: 7.844 kB / 469.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004369/0.2897, allocations: 2.304 MB / 471.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.29, allocations: 121 kB / 471.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.2902, allocations: 28 kB / 471.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.2905, allocations: 35.98 kB / 471.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.2908, allocations: 132.6 kB / 471.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.2908, allocations: 51.92 kB / 471.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004684/0.2913, allocations: 0.5135 MB / 472.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2913, allocations: 2.188 kB / 472.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002495/0.2938, allocations: 1.067 MB / 473.5 MB, free: 8.93 MB / 346.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.001637/0.2954, allocations: 1.161 MB / 474.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.298, allocations: 1.966 MB / 476.6 MB, free: 5.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.298, allocations: 0 / 476.6 MB, free: 5.953 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.2994, allocations: 1.47 MB / 478.1 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.3006, allocations: 331.2 kB / 478.4 MB, free: 4.102 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/0.306, allocations: 2.824 MB / 481.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.3064, allocations: 302.9 kB / 481.6 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009231/0.3073, allocations: 314.9 kB / 481.9 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.3076, allocations: 192.4 kB / 482 MB, free: 392 kB / 346.7 MB Notification: Performance of SimCode: time 2.094e-06/0.3076, allocations: 0 / 482 MB, free: 392 kB / 346.7 MB Notification: Performance of Templates: time 0.04431/0.3519, allocations: 42.39 MB / 0.5121 GB, free: 6.395 MB / 394.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.384153604041785]