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.0009975/0.0009975, allocations: 73.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.001172/0.001172, 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 0.9871/0.9871, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.09335/0.09335, allocations: 17.46 MB / 278.5 MB, free: 11.39 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.563e-06/1.563e-06, allocations: 0 / 354.8 MB, free: 9.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.27e-05, allocations: 2.312 kB / 354.8 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.006913/0.006935, allocations: 8.409 MB / 363.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.02531, allocations: 22.85 MB / 386 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.02658, allocations: 27.75 kB / 386.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.02767, allocations: 496 kB / 386.6 MB, free: 9.645 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.03237, allocations: 2.109 MB / 388.7 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006277/0.03865, allocations: 3.153 MB / 391.8 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002852/0.0415, allocations: 2.584 MB / 394.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.04263, allocations: 1.194 MB / 395.6 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.04406, allocations: 1.728 MB / 397.3 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.04531, allocations: 1.138 MB / 398.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.04558, allocations: 216 kB / 398.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007033/0.05261, allocations: 2.487 MB / 401.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007149/0.05333, allocations: 0.5217 MB / 401.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.05454, allocations: 0.7913 MB / 402.5 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.06492, allocations: 4.708 MB / 407.2 MB, free: 4.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.06492, allocations: 0 / 407.2 MB, free: 4.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.06493, allocations: 4 kB / 407.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.305e-05/0.06496, allocations: 0 / 407.2 MB, free: 4.891 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.00378/0.06874, allocations: 2.776 MB / 410 MB, free: 2.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.06878, allocations: 8.031 kB / 410 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.07032, allocations: 0.6886 MB / 410.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.0715, allocations: 0.9119 MB / 411.6 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.07167, allocations: 247 kB / 411.8 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.134/0.2056, allocations: 180.4 kB / 412 MB, free: 62.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.208, allocations: 1.52 MB / 413.5 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.2081, allocations: 1.406 kB / 413.5 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.2082, allocations: 72.81 kB / 413.6 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.2082, allocations: 43.81 kB / 413.6 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.2101, allocations: 1.475 MB / 415.1 MB, free: 61.86 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.006862/0.2169, allocations: 5.118 MB / 420.2 MB, free: 60.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.2203, allocations: 1.983 MB / 422.2 MB, free: 59.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.2208, allocations: 469.2 kB / 422.7 MB, free: 59.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005882/0.2267, allocations: 4.213 MB / 426.9 MB, free: 57.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.2267, allocations: 47.89 kB / 426.9 MB, free: 57.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.166e-06/0.2267, allocations: 2.531 kB / 426.9 MB, free: 57.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.01423/0.2409, allocations: 4.467 MB / 431.4 MB, free: 53.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.241, allocations: 94.42 kB / 431.5 MB, free: 53.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.2416, allocations: 0.8937 MB / 432.4 MB, free: 53.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.2416, allocations: 49.7 kB / 432.4 MB, free: 53.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.242, allocations: 0.9186 MB / 433.3 MB, free: 52.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/0.2423, allocations: 0.5415 MB / 433.9 MB, free: 51.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.2426, allocations: 383.6 kB / 434.3 MB, free: 51.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.2427, allocations: 0.5335 MB / 434.8 MB, free: 50.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.2431, allocations: 271.8 kB / 435.1 MB, free: 50.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.2438, allocations: 1.28 MB / 436.3 MB, free: 48.97 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.001423/0.2453, allocations: 1.776 MB / 438.1 MB, free: 46.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.2453, allocations: 8 kB / 438.1 MB, free: 46.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004625/0.2499, allocations: 2.041 MB / 440.2 MB, free: 44.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.2499, allocations: 12 kB / 440.2 MB, free: 44.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.25, allocations: 25.81 kB / 440.2 MB, free: 44.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005399/0.2554, allocations: 1.089 MB / 441.3 MB, free: 43.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.2568, allocations: 0.5227 MB / 441.8 MB, free: 43.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005905/0.2627, allocations: 8.98 MB / 450.8 MB, free: 33.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/0.2636, allocations: 68 kB / 450.9 MB, free: 33.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.2637, allocations: 99.97 kB / 451 MB, free: 33.55 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.0004126/0.2641, allocations: 293.8 kB / 451.2 MB, free: 33.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.2643, allocations: 187 kB / 451.4 MB, free: 33.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.2688, allocations: 2.062 MB / 453.5 MB, free: 31.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.2688, allocations: 16 kB / 453.5 MB, free: 31.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.2688, allocations: 4 kB / 453.5 MB, free: 31.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.2688, allocations: 11.91 kB / 453.5 MB, free: 31.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.2722, allocations: 1.926 MB / 455.4 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.2722, allocations: 7.984 kB / 455.4 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.2732, allocations: 303.8 kB / 455.7 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006543/0.2798, allocations: 1.2 MB / 456.9 MB, free: 27.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/0.28, allocations: 43.98 kB / 457 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007594/0.2876, allocations: 10.57 MB / 467.6 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.2876, allocations: 4.031 kB / 467.6 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005704/0.2933, allocations: 2.114 MB / 469.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.2937, allocations: 123.1 kB / 469.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.2939, allocations: 31.94 kB / 469.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/0.2945, allocations: 35.72 kB / 469.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.2948, allocations: 129.1 kB / 470 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.622e-05/0.2949, allocations: 43.98 kB / 470 MB, free: 13.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004779/0.2954, allocations: 493.7 kB / 470.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2954, allocations: 3.938 kB / 470.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002671/0.298, allocations: 1.067 MB / 471.6 MB, free: 12.24 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.001524/0.2996, allocations: 1.212 MB / 472.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.3013, allocations: 1.832 MB / 474.6 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3013, allocations: 0 / 474.6 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.3021, allocations: 1.421 MB / 476 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/0.303, allocations: 350.2 kB / 476.4 MB, free: 7.277 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.003129/0.3061, allocations: 2.769 MB / 479.2 MB, free: 4.414 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.3063, allocations: 296.3 kB / 479.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006494/0.307, allocations: 310.9 kB / 479.8 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/0.3075, allocations: 485.9 kB / 480.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of SimCode: time 1.843e-06/0.3075, allocations: 4 kB / 480.2 MB, free: 3.309 MB / 330.7 MB Notification: Performance of Templates: time 0.04719/0.3547, allocations: 43.58 MB / 0.5115 GB, free: 8.004 MB / 378.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.4048941088840365]