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.001304/0.001304, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001542/0.001542, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.088/1.088, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.1114/0.1114, allocations: 17.38 MB / 278.4 MB, free: 11.49 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 354.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.387e-05, allocations: 2.312 kB / 354.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01733/0.01735, allocations: 8.402 MB / 363.1 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03351/0.05086, allocations: 22.85 MB / 385.9 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.05239, allocations: 31.75 kB / 386 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.0536, allocations: 484 kB / 386.4 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.05869, allocations: 2.113 MB / 388.5 MB, free: 7.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007821/0.06651, allocations: 3.149 MB / 391.7 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003528/0.07004, allocations: 2.584 MB / 394.3 MB, free: 1.906 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.07146, allocations: 1.198 MB / 395.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.07346, allocations: 1.72 MB / 397.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.07495, allocations: 1.142 MB / 398.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.07523, allocations: 216 kB / 398.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007013/0.08225, allocations: 2.483 MB / 401 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004838/0.08273, allocations: 0.5178 MB / 401.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00626/0.08899, allocations: 0.8068 MB / 402.4 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01805/0.107, allocations: 4.704 MB / 407.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.107, allocations: 4 kB / 407.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.107, allocations: 0 / 407.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.1071, allocations: 0 / 407.1 MB, free: 5.039 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.004098/0.1112, allocations: 2.772 MB / 409.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1112, allocations: 8.031 kB / 409.8 MB, free: 2.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.1129, allocations: 0.6925 MB / 410.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.1142, allocations: 0.9041 MB / 411.4 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.1144, allocations: 246.9 kB / 411.7 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.1146, allocations: 188.3 kB / 411.9 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1504/0.265, allocations: 1.522 MB / 413.4 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.2651, allocations: 5.391 kB / 413.4 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.2652, allocations: 72.34 kB / 413.5 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.2653, allocations: 43.19 kB / 413.5 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.2674, allocations: 1.467 MB / 415 MB, free: 61.87 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.007291/0.2747, allocations: 5.12 MB / 420.1 MB, free: 60.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.2777, allocations: 1.988 MB / 422.1 MB, free: 59.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.2783, allocations: 460.2 kB / 422.5 MB, free: 59.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005491/0.2838, allocations: 4.213 MB / 426.7 MB, free: 58.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.2838, allocations: 50.8 kB / 426.8 MB, free: 58.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.066e-06/0.2838, allocations: 3.609 kB / 426.8 MB, free: 58.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.01128/0.2951, allocations: 4.482 MB / 431.3 MB, free: 54.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.2951, allocations: 94.42 kB / 431.4 MB, free: 54.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.2957, allocations: 0.8701 MB / 432.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.508e-05/0.2958, allocations: 53.7 kB / 432.3 MB, free: 53.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.2961, allocations: 0.9231 MB / 433.2 MB, free: 52.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.2964, allocations: 0.5399 MB / 433.8 MB, free: 52.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.2966, allocations: 380.7 kB / 434.1 MB, free: 51.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2968, allocations: 0.5492 MB / 434.7 MB, free: 51.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.297, allocations: 263.8 kB / 434.9 MB, free: 50.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.2976, allocations: 1.291 MB / 436.2 MB, free: 49.18 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.001231/0.2988, allocations: 1.768 MB / 438 MB, free: 47.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.2988, allocations: 4 kB / 438 MB, free: 47.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003545/0.3024, allocations: 2.041 MB / 440 MB, free: 44.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.3024, allocations: 18.97 kB / 440.1 MB, free: 44.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.3024, allocations: 25.88 kB / 440.1 MB, free: 44.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003834/0.3063, allocations: 1.09 MB / 441.2 MB, free: 43.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.3073, allocations: 0.5188 MB / 441.7 MB, free: 43.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.3129, allocations: 8.98 MB / 450.7 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.3139, allocations: 72 kB / 450.7 MB, free: 33.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.314, allocations: 95.97 kB / 450.8 MB, free: 33.77 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.0004345/0.3144, allocations: 290.6 kB / 451.1 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.3147, allocations: 191 kB / 451.3 MB, free: 33.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.3183, allocations: 2.075 MB / 453.4 MB, free: 31.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3183, allocations: 16 kB / 453.4 MB, free: 31.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.3183, allocations: 0 / 453.4 MB, free: 31.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.3183, allocations: 9.891 kB / 453.4 MB, free: 31.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.3211, allocations: 1.924 MB / 455.3 MB, free: 29.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.3211, allocations: 3.938 kB / 455.3 MB, free: 29.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/0.3218, allocations: 307.7 kB / 455.6 MB, free: 28.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00446/0.3263, allocations: 1.2 MB / 456.8 MB, free: 27.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.3264, allocations: 51.98 kB / 456.9 MB, free: 27.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005541/0.3319, allocations: 10.56 MB / 467.4 MB, free: 16.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3319, allocations: 4 kB / 467.4 MB, free: 16.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/0.3361, allocations: 2.121 MB / 469.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.3366, allocations: 119.1 kB / 469.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.3367, allocations: 31.94 kB / 469.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.3372, allocations: 32 kB / 469.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/0.3375, allocations: 129 kB / 469.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/0.3376, allocations: 39.98 kB / 469.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000479/0.3381, allocations: 0.4899 MB / 470.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3381, allocations: 0 / 470.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003279/0.3414, allocations: 1.058 MB / 471.5 MB, free: 12.46 MB / 330.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.002427/0.3438, allocations: 1.22 MB / 472.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.346, allocations: 1.831 MB / 474.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.346, allocations: 8 kB / 474.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.3471, allocations: 1.421 MB / 475.9 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.3483, allocations: 342.7 kB / 476.3 MB, free: 7.488 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.3522, allocations: 2.763 MB / 479 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.3524, allocations: 304 kB / 479.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007755/0.3532, allocations: 322.8 kB / 479.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000592/0.3538, allocations: 477.9 kB / 480.1 MB, free: 3.52 MB / 330.7 MB Notification: Performance of SimCode: time 2.054e-06/0.3538, allocations: 4 kB / 480.1 MB, free: 3.516 MB / 330.7 MB Notification: Performance of Templates: time 0.053/0.4068, allocations: 43.59 MB / 0.5114 GB, free: 8.199 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.474632173776627]