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.001547/0.001547, allocations: 109.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.001972/0.001972, allocations: 218.5 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 8 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.1353/0.1353, allocations: 23.85 MB / 336.3 MB, free: 11.15 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.001947/0.001947, allocations: 71.89 kB / 471.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3069, allocations: 59.85 MB / 0.5186 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007475/0.3144, allocations: 8.686 MB / 0.527 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03043/0.3448, allocations: 23.41 MB / 0.5499 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.3466, allocations: 30.59 kB / 0.5499 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.3483, allocations: 0.5114 MB / 0.5504 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007489/0.3558, allocations: 2.053 MB / 0.5524 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009304/0.3651, allocations: 3.057 MB / 0.5554 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004492/0.3696, allocations: 2.51 MB / 0.5579 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.3716, allocations: 1.166 MB / 0.559 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.3732, allocations: 1.248 MB / 0.5602 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.3752, allocations: 1.372 MB / 0.5616 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.3755, allocations: 215.5 kB / 0.5618 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008839/0.3843, allocations: 2.628 MB / 0.5643 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007358/0.3851, allocations: 0.5098 MB / 0.5648 GB, free: 9.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.3869, allocations: 1.087 MB / 0.5659 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.4023, allocations: 5.195 MB / 0.571 GB, free: 4.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4023, allocations: 0 / 0.571 GB, free: 4.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4023, allocations: 0 / 0.571 GB, free: 4.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.324e-05/0.4023, allocations: 3.938 kB / 0.571 GB, free: 4.18 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.005112/0.4075, allocations: 2.651 MB / 0.5736 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4075, allocations: 8.031 kB / 0.5736 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002947/0.4078, allocations: 253.7 kB / 0.5738 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.4096, allocations: 426.9 kB / 0.5742 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.4115, allocations: 0.9061 MB / 0.5751 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.4117, allocations: 243 kB / 0.5753 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003037/0.4121, allocations: 192.3 kB / 0.5755 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/0.4155, allocations: 2.089 MB / 0.5776 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.4156, allocations: 0 / 0.5776 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.4157, allocations: 72 kB / 0.5776 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.4158, allocations: 40 kB / 0.5777 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00426/0.42, allocations: 2.584 MB / 0.5802 GB, free: 10.6 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.01072/0.4308, allocations: 6.297 MB / 0.5864 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005762/0.4365, allocations: 2.189 MB / 0.5885 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.4377, allocations: 0.7416 MB / 0.5892 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009544/0.4473, allocations: 4.436 MB / 0.5935 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4473, allocations: 47.56 kB / 0.5936 GB, free: 12.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 2.795e-06/0.4473, allocations: 0 / 0.5936 GB, free: 12.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.0273/0.4746, allocations: 5.835 MB / 0.5993 GB, free: 6.688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.4747, allocations: 90.42 kB / 0.5994 GB, free: 6.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4759, allocations: 0.9375 MB / 0.6003 GB, free: 5.629 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.476, allocations: 53.64 kB / 0.6003 GB, free: 5.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.4766, allocations: 0.8667 MB / 0.6012 GB, free: 4.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/0.4771, allocations: 0.5345 MB / 0.6017 GB, free: 4.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004898/0.4776, allocations: 379.4 kB / 0.6021 GB, free: 3.773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4777, allocations: 305.1 kB / 0.6024 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009717/0.4787, allocations: 0.5272 MB / 0.6029 GB, free: 2.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.4803, allocations: 1.247 MB / 0.6041 GB, free: 1.359 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.002932/0.4833, allocations: 1.973 MB / 0.606 GB, free: 15.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.4833, allocations: 8 kB / 0.606 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008246/0.4915, allocations: 2.534 MB / 0.6085 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.4915, allocations: 19.12 kB / 0.6085 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.4916, allocations: 20 kB / 0.6085 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005506/0.4971, allocations: 0.7019 MB / 0.6092 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.4992, allocations: 0.5227 MB / 0.6097 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.5114, allocations: 7.858 MB / 0.6174 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.5129, allocations: 75.98 kB / 0.6175 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.5131, allocations: 112 kB / 0.6176 GB, free: 2.719 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.0007277/0.5139, allocations: 385.1 kB / 0.618 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.5142, allocations: 143.1 kB / 0.6181 GB, free: 2.191 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00881/0.523, allocations: 2.466 MB / 0.6205 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.523, allocations: 16 kB / 0.6205 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.523, allocations: 7.938 kB / 0.6205 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.523, allocations: 7.969 kB / 0.6205 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/0.5285, allocations: 2.509 MB / 0.623 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5285, allocations: 8.062 kB / 0.623 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.5299, allocations: 307.7 kB / 0.6233 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006862/0.5368, allocations: 0.7571 MB / 0.624 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.537, allocations: 39.98 kB / 0.6241 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/0.5501, allocations: 8.991 MB / 0.6328 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5502, allocations: 3.938 kB / 0.6328 GB, free: 2.348 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009528/0.5597, allocations: 2.808 MB / 0.6356 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.5601, allocations: 135 kB / 0.6357 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.5603, allocations: 31.98 kB / 0.6357 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007721/0.5611, allocations: 32 kB / 0.6358 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/0.5614, allocations: 133 kB / 0.6359 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.894e-05/0.5615, allocations: 51.98 kB / 0.636 GB, free: 15.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008661/0.5623, allocations: 0.6342 MB / 0.6366 GB, free: 14.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5623, allocations: 0 / 0.6366 GB, free: 14.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003024/0.5653, allocations: 1.064 MB / 0.6376 GB, free: 13.39 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.01201/0.5774, allocations: 4.374 MB / 0.6419 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004069/0.5814, allocations: 1.999 MB / 0.6438 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5814, allocations: 0 / 0.6438 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.5837, allocations: 1.302 MB / 0.6451 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.5854, allocations: 324 kB / 0.6454 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/0.6142, allocations: 13.6 MB / 0.6587 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.6152, allocations: 1.267 MB / 0.6599 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00125/0.6165, allocations: 327.8 kB / 0.6603 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.6175, allocations: 0.7101 MB / 0.6609 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/0.6175, allocations: 0 / 0.6609 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.7328, allocations: 53.14 MB / 0.7128 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/16.61, allocations: 6.594 kB / 0.7128 GB, free: 15.55 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: 19.35622657500062] Failed to read output from testmodel.py, exit status != 0: 16.761101866999525 16.775456663 16.370070226 Calling exit ...