Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001368/0.001368, allocations: 102.3 kB / 16.45 MB, free: 6.449 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.001558/0.001558, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 9.148 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1482/0.1482, allocations: 23.89 MB / 332.7 MB, free: 12.34 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_master_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.002308/0.002308, allocations: 59.91 kB / 466 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4511, allocations: 59.83 MB / 0.5135 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01028/0.4614, allocations: 8.635 MB / 0.522 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03156/0.493, allocations: 23.37 MB / 0.5448 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.4955, allocations: 30.56 kB / 0.5448 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.4977, allocations: 0.5198 MB / 0.5453 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.5088, allocations: 2.023 MB / 0.5473 GB, free: 240 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01196/0.5208, allocations: 3.024 MB / 0.5502 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005412/0.5262, allocations: 2.513 MB / 0.5527 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.5284, allocations: 1.168 MB / 0.5538 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.5308, allocations: 1.247 MB / 0.5551 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/0.5336, allocations: 1.373 MB / 0.5564 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005842/0.5341, allocations: 215.8 kB / 0.5566 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.5505, allocations: 2.628 MB / 0.5592 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.5521, allocations: 0.5106 MB / 0.5597 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002971/0.5551, allocations: 1.094 MB / 0.5607 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01804/0.5731, allocations: 5.196 MB / 0.5658 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5731, allocations: 0 / 0.5658 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5731, allocations: 0 / 0.5658 GB, free: 5.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.869e-05/0.5732, allocations: 0 / 0.5658 GB, free: 5.367 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.007023/0.5802, allocations: 2.735 MB / 0.5685 GB, free: 2.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.5803, allocations: 12.03 kB / 0.5685 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004662/0.5808, allocations: 245.7 kB / 0.5687 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.5829, allocations: 438.9 kB / 0.5692 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.5852, allocations: 0.9638 MB / 0.5701 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.5855, allocations: 191.5 kB / 0.5703 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/0.5858, allocations: 188.3 kB / 0.5705 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004426/0.5903, allocations: 2.093 MB / 0.5725 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.5903, allocations: 0 / 0.5725 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.5905, allocations: 72 kB / 0.5726 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.5905, allocations: 44 kB / 0.5726 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004686/0.5952, allocations: 2.581 MB / 0.5751 GB, free: 11.79 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.01191/0.6071, allocations: 6.359 MB / 0.5813 GB, free: 5.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.6124, allocations: 2.404 MB / 0.5837 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.6138, allocations: 0.7458 MB / 0.5844 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/0.6258, allocations: 8.096 MB / 0.5923 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.6258, allocations: 43.69 kB / 0.5924 GB, free: 8.906 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.376e-06/0.6258, allocations: 0 / 0.5924 GB, free: 8.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.0283/0.6541, allocations: 6.205 MB / 0.5984 GB, free: 2.539 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.6542, allocations: 94.42 kB / 0.5985 GB, free: 2.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.6555, allocations: 0.9414 MB / 0.5994 GB, free: 1.473 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.6557, allocations: 49.7 kB / 0.5995 GB, free: 1.418 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/0.6564, allocations: 0.8628 MB / 0.6003 GB, free: 0.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005589/0.657, allocations: 0.5346 MB / 0.6008 GB, free: 4 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005575/0.6575, allocations: 383.4 kB / 0.6012 GB, free: 15.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6577, allocations: 301.1 kB / 0.6015 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.6587, allocations: 0.5311 MB / 0.602 GB, free: 14.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.6604, allocations: 1.239 MB / 0.6032 GB, free: 13.2 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.003102/0.6635, allocations: 2.052 MB / 0.6052 GB, free: 10.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.6635, allocations: 8 kB / 0.6052 GB, free: 10.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008522/0.672, allocations: 2.534 MB / 0.6077 GB, free: 8.234 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.572e-05/0.6721, allocations: 16 kB / 0.6077 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.6721, allocations: 24 kB / 0.6078 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005536/0.6777, allocations: 0.7018 MB / 0.6084 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.68, allocations: 0.5227 MB / 0.6089 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.6934, allocations: 8.275 MB / 0.617 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.6955, allocations: 75.89 kB / 0.6171 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.6958, allocations: 120 kB / 0.6172 GB, free: 13.94 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.00101/0.6968, allocations: 391.6 kB / 0.6176 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.6972, allocations: 143.1 kB / 0.6177 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009313/0.7066, allocations: 2.464 MB / 0.6201 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.7066, allocations: 16 kB / 0.6201 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.7066, allocations: 3.938 kB / 0.6202 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/0.7066, allocations: 11.97 kB / 0.6202 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005973/0.7126, allocations: 2.542 MB / 0.6226 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.7126, allocations: 4 kB / 0.6226 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.7141, allocations: 311.9 kB / 0.6229 GB, free: 7.914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006595/0.7207, allocations: 0.7494 MB / 0.6237 GB, free: 7.148 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/0.7209, allocations: 39.98 kB / 0.6237 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.7351, allocations: 9.496 MB / 0.633 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.7351, allocations: 12.09 kB / 0.633 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.7451, allocations: 2.808 MB / 0.6357 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/0.7459, allocations: 212.1 kB / 0.6359 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/0.7462, allocations: 32 kB / 0.636 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008619/0.7471, allocations: 35.98 kB / 0.636 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004236/0.7475, allocations: 128.9 kB / 0.6361 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.7476, allocations: 51.97 kB / 0.6362 GB, free: 9.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.7487, allocations: 0.6342 MB / 0.6368 GB, free: 8.918 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7487, allocations: 0 / 0.6368 GB, free: 8.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004639/0.7534, allocations: 1.064 MB / 0.6378 GB, free: 7.852 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.01384/0.7672, allocations: 4.377 MB / 0.6421 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005104/0.7723, allocations: 1.983 MB / 0.6441 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.7723, allocations: 3.938 kB / 0.6441 GB, free: 1.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.7747, allocations: 1.305 MB / 0.6453 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.7767, allocations: 321.6 kB / 0.6456 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03164/0.8083, allocations: 13.6 MB / 0.6589 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.8096, allocations: 1.264 MB / 0.6601 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001446/0.811, allocations: 335.7 kB / 0.6605 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.8122, allocations: 0.7179 MB / 0.6612 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of SimCode: time 2.254e-06/0.8122, allocations: 3.938 kB / 0.6612 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/0.9329, allocations: 51.54 MB / 0.7115 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/17.49, allocations: 3.938 kB / 0.7115 GB, free: 11.61 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.797685952158645] Failed to read output from testmodel.py, exit status != 0: 17.616959986975417 17.846713151 17.055335399 Calling exit ...