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.001696/0.001696, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.001825/0.001825, allocations: 219.6 kB / 22.25 MB, free: 5.102 MB / 14.72 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1274/0.1274, allocations: 23.89 MB / 336.3 MB, free: 10.96 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.84 kB / 471.6 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2582, allocations: 59.86 MB / 0.519 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.00685/0.2651, allocations: 7.584 MB / 0.5264 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02431/0.2894, allocations: 20.51 MB / 0.5465 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.2909, allocations: 30.19 kB / 0.5465 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.2925, allocations: 476.2 kB / 0.5469 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.2988, allocations: 2.041 MB / 0.5489 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008327/0.3071, allocations: 3.056 MB / 0.5519 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003479/0.3106, allocations: 2.509 MB / 0.5544 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.3119, allocations: 1.162 MB / 0.5555 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.3133, allocations: 1.252 MB / 0.5567 GB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.3151, allocations: 1.381 MB / 0.5581 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.3154, allocations: 215.9 kB / 0.5583 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006389/0.3218, allocations: 2.521 MB / 0.5607 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005133/0.3223, allocations: 0.5192 MB / 0.5612 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.3233, allocations: 0.92 MB / 0.5621 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008535/0.3318, allocations: 5.183 MB / 0.5672 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3318, allocations: 0 / 0.5672 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3318, allocations: 0 / 0.5672 GB, free: 8.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.3318, allocations: 0 / 0.5672 GB, free: 8.277 MB / 414.1 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.004735/0.3366, allocations: 2.643 MB / 0.5698 GB, free: 5.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3366, allocations: 12.03 kB / 0.5698 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.3384, allocations: 430.8 kB / 0.5702 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.3401, allocations: 0.9021 MB / 0.5711 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.3403, allocations: 250.9 kB / 0.5713 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/0.3407, allocations: 184.3 kB / 0.5715 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/0.3442, allocations: 2.082 MB / 0.5735 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.3442, allocations: 3.938 kB / 0.5735 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/0.3444, allocations: 72 kB / 0.5736 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.3444, allocations: 44 kB / 0.5737 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00415/0.3486, allocations: 2.549 MB / 0.5761 GB, free: 15 MB / 430.1 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.009706/0.3583, allocations: 5.141 MB / 0.5812 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005202/0.3635, allocations: 2.165 MB / 0.5833 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.3647, allocations: 0.7416 MB / 0.584 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009439/0.3741, allocations: 4.164 MB / 0.5881 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.3742, allocations: 55.55 kB / 0.5881 GB, free: 2.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.066e-06/0.3742, allocations: 4 kB / 0.5881 GB, free: 2.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02968/0.4039, allocations: 5.815 MB / 0.5938 GB, free: 12.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.4039, allocations: 102.3 kB / 0.5939 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.405, allocations: 0.8601 MB / 0.5947 GB, free: 11.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.746e-05/0.4051, allocations: 49.7 kB / 0.5948 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006167/0.4057, allocations: 0.8589 MB / 0.5956 GB, free: 10.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004607/0.4062, allocations: 0.5384 MB / 0.5961 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005461/0.4067, allocations: 379.4 kB / 0.5965 GB, free: 9.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4069, allocations: 357.9 kB / 0.5969 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009974/0.4079, allocations: 0.5272 MB / 0.5974 GB, free: 8.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.4095, allocations: 1.251 MB / 0.5986 GB, free: 7.344 MB / 446.1 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.002832/0.4123, allocations: 1.973 MB / 0.6005 GB, free: 5.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.4123, allocations: 8 kB / 0.6005 GB, free: 5.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00878/0.4211, allocations: 2.522 MB / 0.603 GB, free: 2.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.4211, allocations: 16 kB / 0.603 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.084e-05/0.4212, allocations: 27.94 kB / 0.603 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006557/0.4277, allocations: 0.698 MB / 0.6037 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.4298, allocations: 0.5227 MB / 0.6042 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.4427, allocations: 7.693 MB / 0.6117 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.444, allocations: 71.98 kB / 0.6118 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.4442, allocations: 116 kB / 0.6119 GB, free: 8.926 MB / 462.1 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.0006783/0.4449, allocations: 392.9 kB / 0.6123 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.4451, allocations: 131.2 kB / 0.6124 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009668/0.4548, allocations: 2.45 MB / 0.6148 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.4548, allocations: 20 kB / 0.6148 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4548, allocations: 3.984 kB / 0.6148 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.4548, allocations: 7.984 kB / 0.6148 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005193/0.46, allocations: 2.129 MB / 0.6169 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.4601, allocations: 8.031 kB / 0.6169 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.4616, allocations: 303.6 kB / 0.6172 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007834/0.4694, allocations: 0.7572 MB / 0.618 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-05/0.4695, allocations: 39.98 kB / 0.618 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/0.4827, allocations: 8.779 MB / 0.6266 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4827, allocations: 4 kB / 0.6266 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009943/0.4926, allocations: 2.81 MB / 0.6293 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.4929, allocations: 119.1 kB / 0.6294 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.4931, allocations: 28 kB / 0.6295 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/0.494, allocations: 39.92 kB / 0.6295 GB, free: 6.191 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.4943, allocations: 129 kB / 0.6296 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.4944, allocations: 51.98 kB / 0.6297 GB, free: 6.016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007768/0.4951, allocations: 0.5527 MB / 0.6302 GB, free: 5.453 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4951, allocations: 3.938 kB / 0.6302 GB, free: 5.449 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003009/0.4981, allocations: 1.06 MB / 0.6312 GB, free: 4.387 MB / 478.1 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.001926/0.5001, allocations: 1.121 MB / 0.6323 GB, free: 3.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003583/0.5037, allocations: 1.987 MB / 0.6343 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5037, allocations: 0 / 0.6343 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.5057, allocations: 1.294 MB / 0.6355 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.5071, allocations: 310.3 kB / 0.6358 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.5119, allocations: 3.025 MB / 0.6388 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.5126, allocations: 0.6837 MB / 0.6395 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.5137, allocations: 322.9 kB / 0.6398 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.5141, allocations: 195.3 kB / 0.64 GB, free: 11.24 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5141, allocations: 0 / 0.64 GB, free: 11.24 MB / 494.1 MB Notification: Performance of Templates: time 0.05866/0.5727, allocations: 40.33 MB / 0.6793 GB, free: 3.191 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.114099144935608] Failed to read output from testmodel.py, exit status != 0: 0.5810777200385928 0.594548461 0.259769384 Calling exit ...