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.001453/0.001453, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001933/0.001933, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.621/1.621, allocations: 230.6 MB / 256 MB, free: 7.973 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.1745/0.1745, allocations: 23.84 MB / 336.3 MB, free: 11.17 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) [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.002253/0.002253, allocations: 80.11 kB / 471.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3556, allocations: 59.85 MB / 0.5186 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.00843/0.364, allocations: 8.685 MB / 0.5271 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03266/0.3967, allocations: 23.42 MB / 0.5499 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.399, allocations: 30 kB / 0.5499 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002351/0.4013, allocations: 0.5124 MB / 0.5504 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.4115, allocations: 2.053 MB / 0.5525 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01363/0.4251, allocations: 3.055 MB / 0.5554 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005602/0.4307, allocations: 2.506 MB / 0.5579 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.4332, allocations: 1.166 MB / 0.559 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.4359, allocations: 1.243 MB / 0.5602 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003428/0.4393, allocations: 1.377 MB / 0.5616 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008224/0.4402, allocations: 215.1 kB / 0.5618 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/0.4514, allocations: 2.631 MB / 0.5644 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.4525, allocations: 0.5149 MB / 0.5649 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002399/0.4549, allocations: 1.086 MB / 0.5659 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.4711, allocations: 5.197 MB / 0.571 GB, free: 4.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4711, allocations: 0 / 0.571 GB, free: 4.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4711, allocations: 0 / 0.571 GB, free: 4.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.602e-05/0.4712, allocations: 0 / 0.571 GB, free: 4.355 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.005915/0.4771, allocations: 2.65 MB / 0.5736 GB, free: 1.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4772, allocations: 12.03 kB / 0.5736 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003251/0.4775, allocations: 261.6 kB / 0.5738 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.4794, allocations: 426.9 kB / 0.5743 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.4815, allocations: 0.9099 MB / 0.5751 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.4817, allocations: 243 kB / 0.5754 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.482, allocations: 180.3 kB / 0.5755 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/0.4856, allocations: 2.085 MB / 0.5776 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.4857, allocations: 4 kB / 0.5776 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.4859, allocations: 76 kB / 0.5777 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.4859, allocations: 44 kB / 0.5777 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004306/0.4902, allocations: 2.577 MB / 0.5802 GB, free: 10.78 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.0122/0.5024, allocations: 6.29 MB / 0.5864 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005278/0.5077, allocations: 2.201 MB / 0.5885 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.5091, allocations: 0.7377 MB / 0.5892 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.5199, allocations: 4.436 MB / 0.5936 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.5199, allocations: 47.56 kB / 0.5936 GB, free: 12.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 2.786e-06/0.5199, allocations: 0 / 0.5936 GB, free: 12.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02901/0.5489, allocations: 5.826 MB / 0.5993 GB, free: 6.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.549, allocations: 98.42 kB / 0.5994 GB, free: 6.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.5505, allocations: 0.9375 MB / 0.6003 GB, free: 5.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.5508, allocations: 49.7 kB / 0.6004 GB, free: 5.746 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007345/0.5515, allocations: 0.8667 MB / 0.6012 GB, free: 4.867 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006582/0.5522, allocations: 0.5345 MB / 0.6017 GB, free: 4.328 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005916/0.5527, allocations: 379.3 kB / 0.6021 GB, free: 3.949 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5529, allocations: 305.1 kB / 0.6024 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.5539, allocations: 0.5311 MB / 0.6029 GB, free: 3.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.5556, allocations: 1.243 MB / 0.6041 GB, free: 1.535 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.003182/0.5588, allocations: 1.962 MB / 0.606 GB, free: 15.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/0.5588, allocations: 8 kB / 0.606 GB, free: 15.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009034/0.5679, allocations: 2.538 MB / 0.6085 GB, free: 12.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.5679, allocations: 16 kB / 0.6085 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/0.568, allocations: 24 kB / 0.6085 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005963/0.5739, allocations: 0.7096 MB / 0.6092 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.5761, allocations: 0.5227 MB / 0.6097 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.5904, allocations: 7.854 MB / 0.6174 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.592, allocations: 71.95 kB / 0.6175 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003655/0.5924, allocations: 120 kB / 0.6176 GB, free: 2.891 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.0009593/0.5934, allocations: 381 kB / 0.618 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000505/0.5939, allocations: 147.1 kB / 0.6181 GB, free: 2.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009729/0.6036, allocations: 2.462 MB / 0.6205 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/0.6036, allocations: 16 kB / 0.6205 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.6036, allocations: 11.92 kB / 0.6205 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.6037, allocations: 3.984 kB / 0.6205 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007186/0.6109, allocations: 2.512 MB / 0.623 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.6109, allocations: 4 kB / 0.623 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.6124, allocations: 308 kB / 0.6233 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006617/0.619, allocations: 0.7571 MB / 0.624 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/0.6192, allocations: 39.98 kB / 0.6241 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.6335, allocations: 8.983 MB / 0.6328 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/0.6335, allocations: 7.938 kB / 0.6328 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.644, allocations: 2.808 MB / 0.6356 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005322/0.6445, allocations: 138.9 kB / 0.6357 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/0.6449, allocations: 32 kB / 0.6358 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.6459, allocations: 35.98 kB / 0.6358 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/0.6463, allocations: 129 kB / 0.6359 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.6464, allocations: 51.98 kB / 0.636 GB, free: 15.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001179/0.6476, allocations: 0.6342 MB / 0.6366 GB, free: 14.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6476, allocations: 0 / 0.6366 GB, free: 14.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00416/0.6518, allocations: 1.064 MB / 0.6376 GB, free: 13.57 MB / 494.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.01324/0.665, allocations: 4.362 MB / 0.6419 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004765/0.6698, allocations: 1.999 MB / 0.6438 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.6698, allocations: 7.938 kB / 0.6438 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002703/0.6725, allocations: 1.298 MB / 0.6451 GB, free: 5.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.6749, allocations: 331.2 kB / 0.6454 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03587/0.7108, allocations: 13.6 MB / 0.6587 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.7126, allocations: 1.268 MB / 0.6599 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001832/0.7145, allocations: 327.8 kB / 0.6603 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.7157, allocations: 0.7218 MB / 0.661 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.7157, allocations: 7.875 kB / 0.661 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1356/0.8514, allocations: 53.12 MB / 0.7128 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/18.36, allocations: 6.438 kB / 0.7128 GB, free: 15.73 MB / 0.5606 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.555990318069234] Failed to read output from testmodel.py, exit status != 0: 18.518307440914214 18.546395716 18.069647636 Calling exit ...