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.001603/0.001603, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.002285/0.002285, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.666/1.666, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.1591/0.1591, allocations: 23.85 MB / 332.7 MB, free: 12.38 MB / 270.1 MB " [Timeout remaining time 179] 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.002012/0.002012, allocations: 67.89 kB / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.429, allocations: 59.81 MB / 0.5135 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01115/0.4402, allocations: 8.635 MB / 0.5219 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03141/0.4716, allocations: 23.36 MB / 0.5447 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.4746, allocations: 30.09 kB / 0.5447 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.4772, allocations: 0.5196 MB / 0.5452 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009749/0.4869, allocations: 2.025 MB / 0.5472 GB, free: 308 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01219/0.4991, allocations: 3.024 MB / 0.5502 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005857/0.505, allocations: 2.517 MB / 0.5526 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002857/0.5078, allocations: 1.172 MB / 0.5538 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.5107, allocations: 1.243 MB / 0.555 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.5138, allocations: 1.377 MB / 0.5563 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005875/0.5143, allocations: 219.7 kB / 0.5565 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.5262, allocations: 2.623 MB / 0.5591 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.5276, allocations: 0.5104 MB / 0.5596 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00238/0.53, allocations: 1.095 MB / 0.5607 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.5466, allocations: 5.191 MB / 0.5657 GB, free: 5.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.5466, allocations: 0 / 0.5657 GB, free: 5.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5466, allocations: 0.9062 kB / 0.5657 GB, free: 5.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001162/0.5467, allocations: 3.938 kB / 0.5658 GB, free: 5.434 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.007837/0.5546, allocations: 2.733 MB / 0.5684 GB, free: 2.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.5546, allocations: 8.031 kB / 0.5684 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003734/0.555, allocations: 253.7 kB / 0.5687 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.5571, allocations: 426.9 kB / 0.5691 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.5592, allocations: 0.9716 MB / 0.57 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.5594, allocations: 195.5 kB / 0.5702 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.5598, allocations: 184.3 kB / 0.5704 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/0.5636, allocations: 2.082 MB / 0.5724 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.5637, allocations: 0 / 0.5724 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.5639, allocations: 76 kB / 0.5725 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.5639, allocations: 44 kB / 0.5725 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004932/0.5688, allocations: 2.581 MB / 0.5751 GB, free: 11.87 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.01315/0.582, allocations: 6.371 MB / 0.5813 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005627/0.5876, allocations: 2.403 MB / 0.5836 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.5891, allocations: 0.7458 MB / 0.5844 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01376/0.6029, allocations: 8.089 MB / 0.5923 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.6029, allocations: 47.67 kB / 0.5923 GB, free: 8.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 2.705e-06/0.6029, allocations: 0 / 0.5923 GB, free: 8.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02836/0.6313, allocations: 6.212 MB / 0.5984 GB, free: 2.605 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.6314, allocations: 94.41 kB / 0.5985 GB, free: 2.496 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.6327, allocations: 0.9452 MB / 0.5994 GB, free: 1.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.6329, allocations: 49.7 kB / 0.5994 GB, free: 1.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007417/0.6337, allocations: 0.859 MB / 0.6003 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006352/0.6343, allocations: 0.5384 MB / 0.6008 GB, free: 68 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006377/0.635, allocations: 371.5 kB / 0.6011 GB, free: 15.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6351, allocations: 305.1 kB / 0.6014 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.6362, allocations: 0.5311 MB / 0.602 GB, free: 14.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.6379, allocations: 1.247 MB / 0.6032 GB, free: 13.26 MB / 462.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.00339/0.6413, allocations: 2.044 MB / 0.6052 GB, free: 10.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/0.6413, allocations: 4 kB / 0.6052 GB, free: 10.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008973/0.6503, allocations: 2.534 MB / 0.6076 GB, free: 8.309 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.6503, allocations: 20.12 kB / 0.6077 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.969e-05/0.6504, allocations: 20 kB / 0.6077 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005714/0.6561, allocations: 0.7017 MB / 0.6084 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/0.6586, allocations: 0.5227 MB / 0.6089 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.6724, allocations: 8.262 MB / 0.6169 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.6743, allocations: 76.27 kB / 0.617 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.6746, allocations: 112 kB / 0.6171 GB, free: 14.03 MB / 478.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.0009961/0.6756, allocations: 385 kB / 0.6175 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/0.676, allocations: 147.1 kB / 0.6176 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009269/0.6853, allocations: 2.468 MB / 0.62 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.6853, allocations: 16 kB / 0.6201 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.6853, allocations: 11.94 kB / 0.6201 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.6853, allocations: 7.969 kB / 0.6201 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005802/0.6911, allocations: 2.538 MB / 0.6226 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.6911, allocations: 4 kB / 0.6226 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.6926, allocations: 315.9 kB / 0.6229 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006754/0.6994, allocations: 0.7495 MB / 0.6236 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/0.6996, allocations: 43.98 kB / 0.6236 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/0.7133, allocations: 9.504 MB / 0.6329 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.7133, allocations: 11.88 kB / 0.6329 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009693/0.723, allocations: 2.8 MB / 0.6357 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.7238, allocations: 208.2 kB / 0.6359 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.724, allocations: 36.17 kB / 0.6359 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/0.7249, allocations: 32 kB / 0.6359 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/0.7252, allocations: 128.9 kB / 0.6361 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.7254, allocations: 47.98 kB / 0.6361 GB, free: 9.641 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009954/0.7264, allocations: 0.6381 MB / 0.6367 GB, free: 8.996 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7264, allocations: 4 kB / 0.6367 GB, free: 8.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004315/0.7307, allocations: 1.06 MB / 0.6378 GB, free: 7.93 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.01245/0.7431, allocations: 4.392 MB / 0.642 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.7473, allocations: 1.986 MB / 0.644 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.7474, allocations: 0 / 0.644 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.7497, allocations: 1.297 MB / 0.6453 GB, free: 68 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.7516, allocations: 322.9 kB / 0.6456 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03142/0.783, allocations: 13.61 MB / 0.6588 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.784, allocations: 1.275 MB / 0.6601 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001287/0.7853, allocations: 327.8 kB / 0.6604 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.7863, allocations: 0.7101 MB / 0.6611 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of SimCode: time 1.392e-06/0.7863, allocations: 4 kB / 0.6611 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/0.9039, allocations: 51.53 MB / 0.7114 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/17.1, allocations: 6.562 kB / 0.7114 GB, free: 11.69 MB / 0.5606 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.ExothermicReaction_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Chemical_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.693889208996552] Failed to read output from testmodel.py, exit status != 0: 17.246212154990644 17.491575355 16.720728088 Calling exit ...