Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.001328/0.001328, 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.00147/0.00147, allocations: 214 kB / 22.24 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.816 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.1662/0.1662, allocations: 23.88 MB / 336.3 MB, free: 10.97 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.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",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.002116/0.002116, allocations: 67.89 kB / 471.1 MB, free: 7.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4046, allocations: 59.86 MB / 0.5185 GB, free: 9.531 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction): time 0.08283/0.4874, allocations: 24.83 MB / 0.5428 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.4991, allocations: 7.051 MB / 0.5497 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.5, allocations: 11.88 kB / 0.5497 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.5007, allocations: 177.9 kB / 0.5498 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.503, allocations: 0.6988 MB / 0.5505 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.5064, allocations: 1.046 MB / 0.5515 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.5081, allocations: 0.9399 MB / 0.5525 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008223/0.5089, allocations: 425.9 kB / 0.5529 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008737/0.5098, allocations: 468.7 kB / 0.5533 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.5108, allocations: 453.1 kB / 0.5537 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.511, allocations: 80 kB / 0.5538 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.5151, allocations: 0.8175 MB / 0.5546 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003774/0.5155, allocations: 193.8 kB / 0.5548 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007086/0.5162, allocations: 355.2 kB / 0.5551 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006675/0.5229, allocations: 1.813 MB / 0.5569 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5229, allocations: 0 / 0.5569 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5229, allocations: 4 kB / 0.5569 GB, free: 2.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.393e-05/0.5229, allocations: 7.938 kB / 0.5569 GB, free: 1.996 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003544/0.5265, allocations: 1.112 MB / 0.558 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.5265, allocations: 12.03 kB / 0.558 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/0.5267, allocations: 107 kB / 0.5581 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.5278, allocations: 157.9 kB / 0.5583 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5291, allocations: 422.4 kB / 0.5587 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.5292, allocations: 106.6 kB / 0.5588 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.5294, allocations: 76.78 kB / 0.5589 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.531, allocations: 0.7728 MB / 0.5596 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.531, allocations: 7.938 kB / 0.5596 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/0.5311, allocations: 24 kB / 0.5596 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5311, allocations: 16 kB / 0.5597 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.5327, allocations: 0.8737 MB / 0.5605 GB, free: 14.68 MB / 414.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.004408/0.5371, allocations: 2.08 MB / 0.5625 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.5387, allocations: 0.8045 MB / 0.5633 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/0.5392, allocations: 275.2 kB / 0.5636 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003698/0.5429, allocations: 1.52 MB / 0.5651 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.5429, allocations: 38.56 kB / 0.5651 GB, free: 10.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.284e-06/0.5429, allocations: 0 / 0.5651 GB, free: 10.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002661/0.5456, allocations: 1.166 MB / 0.5662 GB, free: 8.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.5456, allocations: 55.41 kB / 0.5663 GB, free: 8.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.5462, allocations: 433.7 kB / 0.5667 GB, free: 8.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.5463, allocations: 33.64 kB / 0.5667 GB, free: 8.312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.5466, allocations: 384.1 kB / 0.5671 GB, free: 7.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.5467, allocations: 170.5 kB / 0.5673 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.5469, allocations: 122.6 kB / 0.5674 GB, free: 7.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.5471, allocations: 366.8 kB / 0.5677 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.5474, allocations: 149.9 kB / 0.5679 GB, free: 7.121 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.548, allocations: 396.3 kB / 0.5683 GB, free: 6.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.5488, allocations: 0.5631 MB / 0.5688 GB, free: 5.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5488, allocations: 11.94 kB / 0.5688 GB, free: 5.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001151/0.55, allocations: 0.6126 MB / 0.5694 GB, free: 5.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.55, allocations: 11.94 kB / 0.5694 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.55, allocations: 12 kB / 0.5694 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.5501, allocations: 12 kB / 0.5695 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/0.5508, allocations: 208.4 kB / 0.5697 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.5508, allocations: 15.94 kB / 0.5697 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.5512, allocations: 24 kB / 0.5697 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.5513, allocations: 35.98 kB / 0.5697 GB, free: 5.012 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003334/0.5516, allocations: 197.6 kB / 0.5699 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.5517, allocations: 63.5 kB / 0.57 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.5527, allocations: 0.4935 MB / 0.5705 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5527, allocations: 8 kB / 0.5705 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5527, allocations: 4 kB / 0.5705 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5527, allocations: 0 / 0.5705 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.5536, allocations: 0.5487 MB / 0.571 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5536, allocations: 4 kB / 0.571 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.5542, allocations: 136 kB / 0.5711 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.5542, allocations: 11.94 kB / 0.5711 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.5543, allocations: 19.98 kB / 0.5712 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.5543, allocations: 4 kB / 0.5712 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5543, allocations: 0 / 0.5712 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.5554, allocations: 0.7264 MB / 0.5719 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.5557, allocations: 83.58 kB / 0.572 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.5557, allocations: 15.94 kB / 0.572 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.556, allocations: 8 kB / 0.572 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.556, allocations: 40.38 kB / 0.572 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.5561, allocations: 23.98 kB / 0.572 GB, free: 2.535 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.5564, allocations: 279.1 kB / 0.5723 GB, free: 2.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5564, allocations: 0 / 0.5723 GB, free: 2.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001144/0.5576, allocations: 331.1 kB / 0.5726 GB, free: 1.938 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002351/0.5599, allocations: 1.602 MB / 0.5742 GB, free: 296 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.5607, allocations: 413.5 kB / 0.5746 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5607, allocations: 0 / 0.5746 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.5611, allocations: 190.4 kB / 0.5748 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.5618, allocations: 136.2 kB / 0.5749 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/0.5694, allocations: 4.828 MB / 0.5796 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.5698, allocations: 292.1 kB / 0.5799 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004481/0.5702, allocations: 116.5 kB / 0.58 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.5706, allocations: 247.3 kB / 0.5802 GB, free: 9.77 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5706, allocations: 0 / 0.5802 GB, free: 9.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07474/0.6453, allocations: 16.51 MB / 0.5964 GB, free: 9.453 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.58, allocations: 11.14 kB / 0.5964 GB, free: 9.445 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.SimpleReaction_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_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.614103611093014] Failed to read output from testmodel.py, exit status != 0: 12.699175793677568 12.72300136 12.194845722 Calling exit ...