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.00114/0.00114, allocations: 93.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.0009215/0.0009215, allocations: 169 kB / 23.02 MB, free: 1.547 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.9961/0.9961, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.1016/0.1016, allocations: 17.38 MB / 277.3 MB, free: 11.63 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.573e-06/1.573e-06, allocations: 0 / 353.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.456e-05, allocations: 4.844 kB / 353.4 MB, free: 9.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007733/0.007757, allocations: 8.551 MB / 362 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02599/0.03375, allocations: 23.52 MB / 385.5 MB, free: 9.773 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.03523, allocations: 27.75 kB / 385.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.03648, allocations: 492 kB / 386 MB, free: 9.262 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.04202, allocations: 2.113 MB / 388.1 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007305/0.04933, allocations: 3.141 MB / 391.3 MB, free: 3.973 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003517/0.05284, allocations: 2.592 MB / 393.9 MB, free: 1.367 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.05443, allocations: 1.201 MB / 395.1 MB, free: 124 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.0567, allocations: 1.72 MB / 396.8 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.05856, allocations: 1.134 MB / 397.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000606/0.05916, allocations: 216 kB / 398.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007141/0.0663, allocations: 2.495 MB / 400.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006677/0.06697, allocations: 0.5217 MB / 401.1 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.06834, allocations: 0.799 MB / 401.9 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.08088, allocations: 4.704 MB / 406.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.08089, allocations: 0 / 406.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08089, allocations: 0 / 406.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.534e-05/0.08097, allocations: 0 / 406.6 MB, free: 4.504 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.004233/0.08521, allocations: 2.753 MB / 409.4 MB, free: 1.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.08526, allocations: 8.031 kB / 409.4 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.08677, allocations: 0.6886 MB / 410.1 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.08804, allocations: 0.9197 MB / 411 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.168/0.256, allocations: 241.9 kB / 411.3 MB, free: 62.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006514/0.2566, allocations: 187.5 kB / 411.4 MB, free: 62.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.2597, allocations: 1.679 MB / 413.1 MB, free: 62.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.2597, allocations: 4.719 kB / 413.1 MB, free: 62.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.2598, allocations: 73.56 kB / 413.2 MB, free: 62.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.2599, allocations: 44.16 kB / 413.2 MB, free: 62.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.2631, allocations: 1.723 MB / 415 MB, free: 62.05 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.008491/0.2716, allocations: 5.082 MB / 420 MB, free: 59.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003418/0.2751, allocations: 2.117 MB / 422.2 MB, free: 59.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.2757, allocations: 0.5283 MB / 422.7 MB, free: 59.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005664/0.2814, allocations: 4.197 MB / 426.9 MB, free: 57.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2814, allocations: 54.31 kB / 426.9 MB, free: 57.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.827e-06/0.2814, allocations: 6.266 kB / 426.9 MB, free: 57.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.01276/0.2942, allocations: 5.145 MB / 432.1 MB, free: 52.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2942, allocations: 94.42 kB / 432.2 MB, free: 52.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.295, allocations: 0.8826 MB / 433.1 MB, free: 51.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.2951, allocations: 49.7 kB / 433.1 MB, free: 51.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.2954, allocations: 0.9177 MB / 434 MB, free: 50.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.2957, allocations: 0.5324 MB / 434.6 MB, free: 49.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.296, allocations: 377.1 kB / 434.9 MB, free: 49.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.2961, allocations: 0.5316 MB / 435.5 MB, free: 48.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.2965, allocations: 347.8 kB / 435.8 MB, free: 48.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.2972, allocations: 1.359 MB / 437.2 MB, free: 46.78 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.00153/0.2988, allocations: 1.9 MB / 439.1 MB, free: 44.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.2988, allocations: 8 kB / 439.1 MB, free: 44.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003769/0.3026, allocations: 2.217 MB / 441.3 MB, free: 42.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.3026, allocations: 16 kB / 441.3 MB, free: 42.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.3026, allocations: 24 kB / 441.3 MB, free: 42.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/0.3065, allocations: 1.098 MB / 442.4 MB, free: 41.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009914/0.3075, allocations: 0.5187 MB / 442.9 MB, free: 40.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/0.3134, allocations: 9.119 MB / 452.1 MB, free: 30.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009323/0.3144, allocations: 71.89 kB / 452.1 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.3145, allocations: 116 kB / 452.2 MB, free: 30.75 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.0004494/0.315, allocations: 296.4 kB / 452.5 MB, free: 30.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.3152, allocations: 179.2 kB / 452.7 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/0.319, allocations: 2.165 MB / 454.9 MB, free: 28.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.319, allocations: 16 kB / 454.9 MB, free: 28.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.3191, allocations: 4 kB / 454.9 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.3191, allocations: 7.969 kB / 454.9 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.3217, allocations: 1.963 MB / 456.9 MB, free: 26.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3217, allocations: 4 kB / 456.9 MB, free: 26.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.3224, allocations: 308 kB / 457.2 MB, free: 25.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004458/0.3268, allocations: 1.21 MB / 458.4 MB, free: 24.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.3269, allocations: 39.98 kB / 458.4 MB, free: 24.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006005/0.3329, allocations: 10.72 MB / 469.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.333, allocations: 7.938 kB / 469.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004101/0.3371, allocations: 2.305 MB / 471.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.3374, allocations: 123.1 kB / 471.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3375, allocations: 35.92 kB / 471.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.3379, allocations: 32 kB / 471.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.3381, allocations: 129 kB / 471.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.3382, allocations: 51.98 kB / 471.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004408/0.3386, allocations: 0.5135 MB / 472.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3386, allocations: 0 / 472.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002547/0.3412, allocations: 1.067 MB / 473.4 MB, free: 8.824 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.001578/0.3428, allocations: 1.16 MB / 474.6 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.3449, allocations: 1.968 MB / 476.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3449, allocations: 0 / 476.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009822/0.3459, allocations: 1.472 MB / 478 MB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/0.3468, allocations: 351.7 kB / 478.3 MB, free: 3.855 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.003521/0.3503, allocations: 2.81 MB / 481.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.3505, allocations: 296 kB / 481.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006856/0.3512, allocations: 318.9 kB / 481.7 MB, free: 332 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.3515, allocations: 192.4 kB / 481.9 MB, free: 140 kB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3515, allocations: 0 / 481.9 MB, free: 140 kB / 330.7 MB Notification: Performance of Templates: time 0.04565/0.3971, allocations: 42.39 MB / 0.512 GB, free: 6.043 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.453197887167335]