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.001767/0.001767, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002088/0.002088, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.793 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.1574/0.1574, allocations: 23.93 MB / 336.4 MB, free: 10.91 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.002695/0.002695, allocations: 67.91 kB / 471.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3652, allocations: 59.87 MB / 0.5186 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007823/0.3731, allocations: 7.586 MB / 0.526 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02753/0.4006, allocations: 20.52 MB / 0.546 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.4024, allocations: 30.75 kB / 0.5461 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.4043, allocations: 472.5 kB / 0.5465 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008112/0.4124, allocations: 2.044 MB / 0.5485 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.4225, allocations: 3.056 MB / 0.5515 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004321/0.4268, allocations: 2.497 MB / 0.5539 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.4287, allocations: 1.167 MB / 0.5551 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.4308, allocations: 1.244 MB / 0.5563 GB, free: 64 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.4335, allocations: 1.38 MB / 0.5576 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005347/0.4341, allocations: 215.7 kB / 0.5579 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009632/0.4437, allocations: 2.526 MB / 0.5603 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.4447, allocations: 0.5185 MB / 0.5608 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.4466, allocations: 0.9198 MB / 0.5617 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.4601, allocations: 5.179 MB / 0.5668 GB, free: 8.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4601, allocations: 3.938 kB / 0.5668 GB, free: 8.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4601, allocations: 0 / 0.5668 GB, free: 8.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.733e-05/0.4602, allocations: 4 kB / 0.5668 GB, free: 8.246 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.005723/0.4659, allocations: 2.635 MB / 0.5694 GB, free: 5.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.466, allocations: 12.03 kB / 0.5694 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003378/0.4663, allocations: 253.7 kB / 0.5696 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.4682, allocations: 438.9 kB / 0.57 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.4703, allocations: 0.9059 MB / 0.5709 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.4705, allocations: 243 kB / 0.5712 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003615/0.4709, allocations: 188.3 kB / 0.5713 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.4746, allocations: 2.086 MB / 0.5734 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.4747, allocations: 3.938 kB / 0.5734 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.4749, allocations: 76 kB / 0.5734 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.4749, allocations: 40 kB / 0.5735 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004369/0.4793, allocations: 2.553 MB / 0.576 GB, free: 14.7 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.01118/0.4904, allocations: 5.359 MB / 0.5812 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/0.4953, allocations: 2.16 MB / 0.5833 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.4966, allocations: 0.7453 MB / 0.584 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.5066, allocations: 4.202 MB / 0.5882 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.5067, allocations: 51.55 kB / 0.5882 GB, free: 2.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.677e-06/0.5067, allocations: 0 / 0.5882 GB, free: 2.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02606/0.5327, allocations: 5.823 MB / 0.5939 GB, free: 12.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.5328, allocations: 94.36 kB / 0.594 GB, free: 11.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.5342, allocations: 0.98 MB / 0.5949 GB, free: 11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.5344, allocations: 49.7 kB / 0.595 GB, free: 10.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006909/0.5351, allocations: 0.8628 MB / 0.5958 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005353/0.5356, allocations: 0.5384 MB / 0.5963 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.5361, allocations: 375.5 kB / 0.5967 GB, free: 9.148 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5363, allocations: 301.1 kB / 0.597 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009747/0.5372, allocations: 0.535 MB / 0.5975 GB, free: 8.312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.539, allocations: 1.243 MB / 0.5987 GB, free: 6.73 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.00309/0.5421, allocations: 1.977 MB / 0.6007 GB, free: 4.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.5421, allocations: 4 kB / 0.6007 GB, free: 4.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00799/0.5501, allocations: 2.542 MB / 0.6031 GB, free: 1.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.5502, allocations: 16 kB / 0.6032 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/0.5502, allocations: 24.12 kB / 0.6032 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005095/0.5553, allocations: 0.6939 MB / 0.6039 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.5574, allocations: 0.5266 MB / 0.6044 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.5699, allocations: 7.784 MB / 0.612 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.5715, allocations: 76.03 kB / 0.6121 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.5718, allocations: 108 kB / 0.6122 GB, free: 8.16 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.0008751/0.5726, allocations: 377.1 kB / 0.6125 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/0.5731, allocations: 143.2 kB / 0.6127 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008624/0.5817, allocations: 2.482 MB / 0.6151 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.5817, allocations: 16 kB / 0.6151 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.5817, allocations: 7.938 kB / 0.6151 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.5818, allocations: 7.969 kB / 0.6151 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/0.5873, allocations: 2.294 MB / 0.6173 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.5874, allocations: 7.984 kB / 0.6174 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.5889, allocations: 308 kB / 0.6176 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006055/0.5949, allocations: 0.757 MB / 0.6184 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.5951, allocations: 39.98 kB / 0.6184 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/0.6079, allocations: 8.889 MB / 0.6271 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.608, allocations: 3.938 kB / 0.6271 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009204/0.6172, allocations: 2.808 MB / 0.6299 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.6176, allocations: 131 kB / 0.63 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.6178, allocations: 35.94 kB / 0.63 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/0.6186, allocations: 32 kB / 0.63 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/0.6189, allocations: 133 kB / 0.6302 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.6191, allocations: 47.98 kB / 0.6302 GB, free: 4.859 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009422/0.62, allocations: 0.6342 MB / 0.6308 GB, free: 4.219 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.62, allocations: 0 / 0.6308 GB, free: 4.219 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003412/0.6234, allocations: 1.072 MB / 0.6319 GB, free: 3.145 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.01135/0.6348, allocations: 4.379 MB / 0.6362 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004122/0.6389, allocations: 1.995 MB / 0.6381 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.6389, allocations: 0 / 0.6381 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002155/0.641, allocations: 1.309 MB / 0.6394 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.6427, allocations: 323 kB / 0.6397 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/0.6717, allocations: 13.59 MB / 0.653 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008287/0.6725, allocations: 0.6841 MB / 0.6536 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001227/0.6737, allocations: 335.7 kB / 0.654 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009899/0.6747, allocations: 0.7179 MB / 0.6547 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.6747, allocations: 0 / 0.6547 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/0.7884, allocations: 54.36 MB / 0.7077 GB, free: 4.781 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.61, allocations: 4.062 kB / 0.7077 GB, free: 4.777 MB / 0.545 GB " [Timeout remaining time 644] (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 os._exit(0), Time elapsed: 18.467931976978434] Failed to read output from testmodel.py, exit status != 0: 15.76391887999489 15.791542187 15.326078092 Calling exit ...