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.001289/0.001289, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001382/0.001382, allocations: 217 kB / 22.25 MB, free: 5.082 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 8.023 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.132/0.132, allocations: 23.9 MB / 336.3 MB, free: 11.26 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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.00196/0.00196, allocations: 74.7 kB / 471.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3309, allocations: 59.86 MB / 0.5186 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007616/0.3386, allocations: 8.68 MB / 0.5271 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02794/0.3665, allocations: 23.41 MB / 0.55 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.368, allocations: 30.19 kB / 0.55 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.3694, allocations: 0.5202 MB / 0.5505 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006088/0.3755, allocations: 2.046 MB / 0.5525 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00855/0.384, allocations: 3.051 MB / 0.5555 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.3881, allocations: 2.506 MB / 0.5579 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.3897, allocations: 1.162 MB / 0.5591 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.3913, allocations: 1.248 MB / 0.5603 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.3935, allocations: 1.373 MB / 0.5616 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.3938, allocations: 215.4 kB / 0.5618 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008513/0.4023, allocations: 2.628 MB / 0.5644 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004999/0.4028, allocations: 0.5132 MB / 0.5649 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.4041, allocations: 1.088 MB / 0.566 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4153, allocations: 5.199 MB / 0.5711 GB, free: 4.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4153, allocations: 0 / 0.5711 GB, free: 4.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4153, allocations: 0 / 0.5711 GB, free: 4.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.4153, allocations: 4 kB / 0.5711 GB, free: 4.152 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.008083/0.4234, allocations: 2.657 MB / 0.5737 GB, free: 1.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.4235, allocations: 11.97 kB / 0.5737 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004462/0.4239, allocations: 249.7 kB / 0.5739 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/0.4271, allocations: 430.9 kB / 0.5743 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.4299, allocations: 0.9021 MB / 0.5752 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.4302, allocations: 246.9 kB / 0.5754 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000452/0.4307, allocations: 184.3 kB / 0.5756 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004372/0.435, allocations: 2.089 MB / 0.5776 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.4351, allocations: 0 / 0.5776 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.4352, allocations: 72 kB / 0.5777 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/0.4353, allocations: 40 kB / 0.5778 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003974/0.4393, allocations: 2.584 MB / 0.5803 GB, free: 10.57 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.01041/0.4497, allocations: 6.294 MB / 0.5864 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004823/0.4545, allocations: 2.193 MB / 0.5886 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.4557, allocations: 0.7416 MB / 0.5893 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009493/0.4652, allocations: 4.428 MB / 0.5936 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.4652, allocations: 55.5 kB / 0.5937 GB, free: 12.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.488e-06/0.4652, allocations: 7.984 kB / 0.5937 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02704/0.4923, allocations: 5.828 MB / 0.5994 GB, free: 6.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.4924, allocations: 90.42 kB / 0.5995 GB, free: 6.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.4936, allocations: 0.9375 MB / 0.6004 GB, free: 5.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.4937, allocations: 49.7 kB / 0.6004 GB, free: 5.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006502/0.4944, allocations: 0.8667 MB / 0.6013 GB, free: 4.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/0.4949, allocations: 0.5383 MB / 0.6018 GB, free: 4.109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.4954, allocations: 379.4 kB / 0.6021 GB, free: 3.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4955, allocations: 301.1 kB / 0.6024 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009725/0.4965, allocations: 0.5311 MB / 0.603 GB, free: 2.898 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.4981, allocations: 1.243 MB / 0.6042 GB, free: 1.32 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.002858/0.5009, allocations: 1.973 MB / 0.6061 GB, free: 15.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.5009, allocations: 4 kB / 0.6061 GB, free: 15.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008451/0.5094, allocations: 2.538 MB / 0.6086 GB, free: 12.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.5094, allocations: 18.66 kB / 0.6086 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/0.5094, allocations: 20 kB / 0.6086 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005723/0.5152, allocations: 0.7019 MB / 0.6093 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/0.5186, allocations: 0.5226 MB / 0.6098 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.5325, allocations: 7.858 MB / 0.6175 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.534, allocations: 71.95 kB / 0.6176 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.5342, allocations: 116 kB / 0.6177 GB, free: 2.68 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.0007541/0.535, allocations: 381.4 kB / 0.618 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.5353, allocations: 143.1 kB / 0.6182 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008978/0.5442, allocations: 2.474 MB / 0.6206 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.5443, allocations: 16 kB / 0.6206 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5443, allocations: 7.938 kB / 0.6206 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.5443, allocations: 7.969 kB / 0.6206 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/0.5497, allocations: 2.513 MB / 0.6231 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5497, allocations: 4 kB / 0.6231 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.5511, allocations: 311.6 kB / 0.6234 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006729/0.5578, allocations: 0.7573 MB / 0.6241 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.558, allocations: 39.98 kB / 0.6241 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.5707, allocations: 8.987 MB / 0.6329 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5708, allocations: 3.938 kB / 0.6329 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009342/0.5801, allocations: 2.804 MB / 0.6357 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.5805, allocations: 139 kB / 0.6358 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.5807, allocations: 28 kB / 0.6358 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.5815, allocations: 32 kB / 0.6359 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/0.5818, allocations: 137.1 kB / 0.636 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5819, allocations: 51.98 kB / 0.636 GB, free: 15.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009774/0.5829, allocations: 0.6342 MB / 0.6367 GB, free: 14.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5829, allocations: 0 / 0.6367 GB, free: 14.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003273/0.5862, allocations: 1.068 MB / 0.6377 GB, free: 13.35 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.01168/0.5979, allocations: 4.371 MB / 0.642 GB, free: 8.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.6016, allocations: 2.002 MB / 0.6439 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6016, allocations: 128 / 0.6439 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.6038, allocations: 1.298 MB / 0.6452 GB, free: 5.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.6057, allocations: 319.7 kB / 0.6455 GB, free: 5.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03993/0.6456, allocations: 13.6 MB / 0.6588 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.6467, allocations: 1.264 MB / 0.66 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001262/0.648, allocations: 331.8 kB / 0.6603 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009552/0.6489, allocations: 0.7178 MB / 0.661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.6489, allocations: 0 / 0.661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/0.7665, allocations: 53.13 MB / 0.7129 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/16.9, allocations: 14.28 kB / 0.7129 GB, free: 15.5 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.65002631900279] Failed to read output from testmodel.py, exit status != 0: 17.04886094599351 17.073750365 16.65446255 Calling exit ...