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.001414/0.001414, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001893/0.001893, allocations: 215.2 kB / 22.25 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.789 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.1448/0.1448, allocations: 23.88 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: "" <> 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.002201/0.002201, allocations: 75.89 kB / 471.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3783, allocations: 59.84 MB / 0.5185 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007884/0.3862, allocations: 7.602 MB / 0.5259 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03001/0.4162, allocations: 20.5 MB / 0.546 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.4183, allocations: 30.72 kB / 0.546 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.4203, allocations: 484.2 kB / 0.5465 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009641/0.43, allocations: 2.045 MB / 0.5485 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01264/0.4426, allocations: 3.062 MB / 0.5514 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005209/0.4478, allocations: 2.501 MB / 0.5539 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002316/0.4501, allocations: 1.128 MB / 0.555 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.4528, allocations: 1.247 MB / 0.5562 GB, free: 100 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/0.4561, allocations: 1.236 MB / 0.5574 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00086/0.457, allocations: 219.9 kB / 0.5576 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/0.468, allocations: 2.467 MB / 0.56 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.4692, allocations: 0.5115 MB / 0.5605 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.4718, allocations: 0.9195 MB / 0.5614 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.4864, allocations: 5.184 MB / 0.5665 GB, free: 8.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4864, allocations: 0 / 0.5665 GB, free: 8.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4864, allocations: 3.938 kB / 0.5665 GB, free: 8.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.515e-05/0.4864, allocations: 0 / 0.5665 GB, free: 8.578 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.006239/0.4926, allocations: 2.643 MB / 0.5691 GB, free: 5.891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.4927, allocations: 8.031 kB / 0.5691 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003615/0.4931, allocations: 257.7 kB / 0.5693 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.495, allocations: 426.9 kB / 0.5697 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.497, allocations: 0.906 MB / 0.5706 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.4972, allocations: 243 kB / 0.5709 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.4976, allocations: 184.3 kB / 0.571 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/0.5013, allocations: 2.089 MB / 0.5731 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.5013, allocations: 0 / 0.5731 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.5015, allocations: 76 kB / 0.5731 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.674e-05/0.5015, allocations: 44 kB / 0.5732 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004289/0.5058, allocations: 2.553 MB / 0.5757 GB, free: 15.03 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.01067/0.5165, allocations: 5.351 MB / 0.5809 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004979/0.5215, allocations: 2.18 MB / 0.583 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.5227, allocations: 0.7377 MB / 0.5838 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009725/0.5325, allocations: 4.199 MB / 0.5879 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/0.5325, allocations: 47.56 kB / 0.5879 GB, free: 2.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.569e-05/0.5326, allocations: 4 kB / 0.5879 GB, free: 2.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02621/0.5588, allocations: 5.823 MB / 0.5936 GB, free: 12.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.5588, allocations: 94.42 kB / 0.5937 GB, free: 12.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.5601, allocations: 0.98 MB / 0.5946 GB, free: 11.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.5603, allocations: 57.64 kB / 0.5947 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/0.561, allocations: 0.855 MB / 0.5955 GB, free: 10.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.5615, allocations: 0.5384 MB / 0.5961 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005398/0.562, allocations: 383.4 kB / 0.5964 GB, free: 9.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5621, allocations: 301.1 kB / 0.5967 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.5632, allocations: 0.5272 MB / 0.5972 GB, free: 8.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.5648, allocations: 1.239 MB / 0.5984 GB, free: 7.07 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.003014/0.5678, allocations: 1.977 MB / 0.6004 GB, free: 4.766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.5678, allocations: 8 kB / 0.6004 GB, free: 4.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008298/0.5761, allocations: 2.542 MB / 0.6029 GB, free: 2.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.5762, allocations: 15.98 kB / 0.6029 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.445e-05/0.5762, allocations: 24 kB / 0.6029 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00541/0.5816, allocations: 0.7019 MB / 0.6036 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.5836, allocations: 0.5188 MB / 0.6041 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.5963, allocations: 7.783 MB / 0.6117 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.598, allocations: 72 kB / 0.6117 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.5982, allocations: 112 kB / 0.6119 GB, free: 8.5 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.0008113/0.599, allocations: 377.1 kB / 0.6122 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.5994, allocations: 147.2 kB / 0.6124 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008961/0.6083, allocations: 2.474 MB / 0.6148 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/0.6083, allocations: 16 kB / 0.6148 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/0.6084, allocations: 11.94 kB / 0.6148 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/0.6084, allocations: 3.984 kB / 0.6148 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/0.6142, allocations: 2.302 MB / 0.6171 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.6142, allocations: 4.312 kB / 0.6171 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.6157, allocations: 311.6 kB / 0.6174 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006474/0.6222, allocations: 0.7571 MB / 0.6181 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.6223, allocations: 43.98 kB / 0.6181 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.6354, allocations: 8.878 MB / 0.6268 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.6354, allocations: 7.969 kB / 0.6268 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009113/0.6445, allocations: 2.816 MB / 0.6296 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/0.6451, allocations: 135 kB / 0.6297 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.6453, allocations: 31.98 kB / 0.6297 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/0.646, allocations: 32 kB / 0.6298 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.6464, allocations: 133 kB / 0.6299 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.6465, allocations: 51.98 kB / 0.6299 GB, free: 5.188 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009551/0.6474, allocations: 0.6342 MB / 0.6305 GB, free: 4.547 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6474, allocations: 0 / 0.6305 GB, free: 4.547 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003635/0.651, allocations: 1.06 MB / 0.6316 GB, free: 3.484 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.01172/0.6628, allocations: 4.383 MB / 0.6359 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004048/0.6668, allocations: 1.987 MB / 0.6378 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6668, allocations: 0 / 0.6378 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002227/0.6691, allocations: 1.302 MB / 0.6391 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.6706, allocations: 338.1 kB / 0.6394 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/0.6995, allocations: 13.6 MB / 0.6527 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009183/0.7004, allocations: 0.6879 MB / 0.6533 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001295/0.7017, allocations: 331.8 kB / 0.6537 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.7028, allocations: 0.714 MB / 0.6544 GB, free: 11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.664e-06/0.7028, allocations: 0 / 0.6544 GB, free: 11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/0.8253, allocations: 53.78 MB / 0.7069 GB, free: 5.688 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.43, allocations: 0 / 0.7069 GB, free: 5.688 MB / 0.545 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 os._exit(0), Time elapsed: 19.340727800969034] Failed to read output from testmodel.py, exit status != 0: 16.586815481074154 16.609641159 16.118620287 Calling exit ...