Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001306/0.001306, 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.001533/0.001533, allocations: 221.2 kB / 22.25 MB, free: 5.254 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.82 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.1459/0.1459, allocations: 23.92 MB / 336.3 MB, free: 10.95 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_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.002039/0.002039, allocations: 71.89 kB / 471.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3502, allocations: 59.87 MB / 0.5186 GB, free: 9.504 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.06929/0.4194, allocations: 24.75 MB / 0.5428 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.4306, allocations: 7.055 MB / 0.5497 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007391/0.4314, allocations: 11.88 kB / 0.5497 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000672/0.432, allocations: 177.9 kB / 0.5498 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.4342, allocations: 0.7016 MB / 0.5505 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.4373, allocations: 1.048 MB / 0.5515 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.4388, allocations: 0.9406 MB / 0.5525 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.4395, allocations: 424.4 kB / 0.5529 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006325/0.4401, allocations: 470 kB / 0.5533 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.4408, allocations: 0.4921 MB / 0.5538 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.441, allocations: 80 kB / 0.5539 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.4434, allocations: 0.8446 MB / 0.5547 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.4436, allocations: 194.2 kB / 0.5549 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.444, allocations: 351.3 kB / 0.5552 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.4477, allocations: 1.816 MB / 0.557 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4477, allocations: 0 / 0.557 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4477, allocations: 8 kB / 0.557 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.4477, allocations: 0 / 0.557 GB, free: 1.91 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.002152/0.4499, allocations: 1.116 MB / 0.5581 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4499, allocations: 12.03 kB / 0.5581 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.4501, allocations: 106.6 kB / 0.5582 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.4507, allocations: 154 kB / 0.5583 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.4515, allocations: 422.8 kB / 0.5587 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.4517, allocations: 110.8 kB / 0.5589 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4518, allocations: 72.27 kB / 0.5589 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.4532, allocations: 0.7791 MB / 0.5597 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4532, allocations: 3.938 kB / 0.5597 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.4532, allocations: 28 kB / 0.5597 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.4533, allocations: 16 kB / 0.5597 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.4547, allocations: 0.87 MB / 0.5606 GB, free: 14.61 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.004153/0.4589, allocations: 2.084 MB / 0.5626 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.4605, allocations: 0.8083 MB / 0.5634 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.4609, allocations: 279.2 kB / 0.5637 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003293/0.4642, allocations: 1.504 MB / 0.5651 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.4642, allocations: 38.56 kB / 0.5652 GB, free: 9.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.883e-06/0.4642, allocations: 4 kB / 0.5652 GB, free: 9.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002448/0.4667, allocations: 1.174 MB / 0.5663 GB, free: 8.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.4667, allocations: 55.41 kB / 0.5664 GB, free: 8.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.4672, allocations: 429.7 kB / 0.5668 GB, free: 8.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.4672, allocations: 33.7 kB / 0.5668 GB, free: 8.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.4675, allocations: 376.1 kB / 0.5672 GB, free: 7.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.4677, allocations: 174.5 kB / 0.5673 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.4679, allocations: 126.6 kB / 0.5675 GB, free: 7.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.4681, allocations: 362.8 kB / 0.5678 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.4684, allocations: 145.9 kB / 0.568 GB, free: 7.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.4689, allocations: 396.3 kB / 0.5683 GB, free: 6.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.4698, allocations: 0.5786 MB / 0.5689 GB, free: 5.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4698, allocations: 4 kB / 0.5689 GB, free: 5.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001096/0.4709, allocations: 0.6047 MB / 0.5695 GB, free: 5.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.471, allocations: 11.94 kB / 0.5695 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.471, allocations: 12.86 kB / 0.5695 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.471, allocations: 12 kB / 0.5695 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.4718, allocations: 207.7 kB / 0.5697 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.4719, allocations: 15.94 kB / 0.5697 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.4721, allocations: 24 kB / 0.5698 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.4722, allocations: 35.98 kB / 0.5698 GB, free: 4.938 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.000266/0.4725, allocations: 201.6 kB / 0.57 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/0.4726, allocations: 59.56 kB / 0.57 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009382/0.4735, allocations: 0.5013 MB / 0.5705 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4735, allocations: 11.94 kB / 0.5705 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4735, allocations: 4 kB / 0.5706 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4735, allocations: 0 / 0.5706 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/0.4744, allocations: 0.541 MB / 0.5711 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4744, allocations: 4 kB / 0.5711 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.475, allocations: 144 kB / 0.5712 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.475, allocations: 7.938 kB / 0.5712 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.475, allocations: 12 kB / 0.5712 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.475, allocations: 11.92 kB / 0.5713 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.475, allocations: 0 / 0.5713 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.4761, allocations: 0.7186 MB / 0.572 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.4763, allocations: 91.7 kB / 0.572 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.4763, allocations: 15.94 kB / 0.5721 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.4765, allocations: 11.98 kB / 0.5721 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.4766, allocations: 48.31 kB / 0.5721 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.4767, allocations: 15.98 kB / 0.5721 GB, free: 2.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.477, allocations: 279.2 kB / 0.5724 GB, free: 2.176 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.477, allocations: 0 / 0.5724 GB, free: 2.176 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001036/0.478, allocations: 335.1 kB / 0.5727 GB, free: 1.848 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.00215/0.4802, allocations: 1.598 MB / 0.5743 GB, free: 208 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007566/0.4809, allocations: 413 kB / 0.5747 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4809, allocations: 0 / 0.5747 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.4812, allocations: 192.2 kB / 0.5749 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.4819, allocations: 126.4 kB / 0.575 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006493/0.4884, allocations: 4.828 MB / 0.5797 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.4887, allocations: 288.1 kB / 0.58 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000441/0.4892, allocations: 128.4 kB / 0.5801 GB, free: 9.926 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.4896, allocations: 255.3 kB / 0.5803 GB, free: 9.676 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4896, allocations: 0 / 0.5803 GB, free: 9.676 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05211/0.5417, allocations: 16.72 MB / 0.5967 GB, free: 9.152 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.7, allocations: 15.78 kB / 0.5967 GB, free: 9.137 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.516504952014657] Failed to read output from testmodel.py, exit status != 0: 11.828668660018593 11.857083938 11.404147203 Calling exit ...