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.001307/0.001307, 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.001453/0.001453, allocations: 220.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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.789 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.1468/0.1468, allocations: 23.89 MB / 336.3 MB, free: 11.04 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.002007/0.002007, allocations: 67.89 kB / 471.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3653, allocations: 59.86 MB / 0.5185 GB, free: 9.504 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.07242/0.4377, allocations: 24.75 MB / 0.5427 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.4491, allocations: 7.055 MB / 0.5496 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008437/0.4499, allocations: 15.88 kB / 0.5496 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.4506, allocations: 169.4 kB / 0.5498 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.4531, allocations: 0.7064 MB / 0.5504 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.4567, allocations: 1.05 MB / 0.5515 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.4584, allocations: 0.9376 MB / 0.5524 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006898/0.4591, allocations: 424.4 kB / 0.5528 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/0.4597, allocations: 476.5 kB / 0.5532 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007751/0.4604, allocations: 0.4932 MB / 0.5537 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.4606, allocations: 80 kB / 0.5538 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.4634, allocations: 0.8371 MB / 0.5546 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.4636, allocations: 198.2 kB / 0.5548 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004316/0.4641, allocations: 355.2 kB / 0.5552 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00437/0.4684, allocations: 1.816 MB / 0.5569 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.4684, allocations: 4 kB / 0.5569 GB, free: 1.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4684, allocations: 0 / 0.5569 GB, free: 1.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.4685, allocations: 0 / 0.5569 GB, free: 1.973 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.002321/0.4708, allocations: 1.112 MB / 0.558 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4708, allocations: 8.688 kB / 0.558 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.471, allocations: 110.5 kB / 0.5581 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007001/0.4717, allocations: 162.1 kB / 0.5583 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008351/0.4725, allocations: 422.3 kB / 0.5587 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.4726, allocations: 107.3 kB / 0.5588 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.4728, allocations: 76.27 kB / 0.5589 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.4742, allocations: 0.7747 MB / 0.5596 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.4742, allocations: 0 / 0.5596 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.4743, allocations: 28 kB / 0.5596 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.4743, allocations: 23.94 kB / 0.5597 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.4758, allocations: 0.8735 MB / 0.5605 GB, free: 14.66 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.00405/0.4799, allocations: 2.077 MB / 0.5625 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.4814, allocations: 0.8123 MB / 0.5633 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.4818, allocations: 279.2 kB / 0.5636 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003341/0.4852, allocations: 1.5 MB / 0.5651 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.4852, allocations: 38.56 kB / 0.5651 GB, free: 10.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.034e-06/0.4852, allocations: 0 / 0.5651 GB, free: 10.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002502/0.4877, allocations: 1.17 MB / 0.5663 GB, free: 8.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.4877, allocations: 55.41 kB / 0.5663 GB, free: 8.758 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.4883, allocations: 429.7 kB / 0.5667 GB, free: 8.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.4883, allocations: 37.7 kB / 0.5667 GB, free: 8.285 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.4886, allocations: 376.1 kB / 0.5671 GB, free: 7.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.4887, allocations: 174.5 kB / 0.5673 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.4889, allocations: 122.6 kB / 0.5674 GB, free: 7.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4891, allocations: 362.8 kB / 0.5677 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.4894, allocations: 149.9 kB / 0.5679 GB, free: 7.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.4898, allocations: 392.3 kB / 0.5683 GB, free: 6.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008024/0.4906, allocations: 0.5748 MB / 0.5688 GB, free: 5.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4906, allocations: 0 / 0.5688 GB, free: 5.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009889/0.4916, allocations: 0.6171 MB / 0.5694 GB, free: 5.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.4916, allocations: 19.86 kB / 0.5694 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4917, allocations: 12.12 kB / 0.5694 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.4917, allocations: 16 kB / 0.5695 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.4924, allocations: 199.7 kB / 0.5697 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.4924, allocations: 15.94 kB / 0.5697 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.4927, allocations: 20 kB / 0.5697 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/0.4928, allocations: 35.98 kB / 0.5697 GB, free: 4.996 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.0002974/0.4931, allocations: 209.6 kB / 0.5699 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.4932, allocations: 63.56 kB / 0.57 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009391/0.4941, allocations: 0.4973 MB / 0.5705 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4941, allocations: 4 kB / 0.5705 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4941, allocations: 0 / 0.5705 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4941, allocations: 0 / 0.5705 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008258/0.495, allocations: 0.5526 MB / 0.571 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.495, allocations: 0 / 0.571 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.4955, allocations: 144 kB / 0.5712 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.4955, allocations: 7.938 kB / 0.5712 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.4956, allocations: 12 kB / 0.5712 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.4956, allocations: 7.984 kB / 0.5712 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.505e-06/0.4956, allocations: 7.938 kB / 0.5712 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.4966, allocations: 0.7147 MB / 0.5719 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.4968, allocations: 91.61 kB / 0.572 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.4969, allocations: 19.94 kB / 0.572 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.4971, allocations: 8 kB / 0.572 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.4972, allocations: 40.31 kB / 0.572 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.4972, allocations: 23.98 kB / 0.5721 GB, free: 2.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003011/0.4975, allocations: 271.2 kB / 0.5723 GB, free: 2.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4975, allocations: 0 / 0.5723 GB, free: 2.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001087/0.4986, allocations: 335.1 kB / 0.5726 GB, free: 1.91 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.002168/0.5008, allocations: 1.598 MB / 0.5742 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.5016, allocations: 414.5 kB / 0.5746 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5016, allocations: 0 / 0.5746 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.5019, allocations: 194.8 kB / 0.5748 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006929/0.5026, allocations: 128.7 kB / 0.5749 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/0.5089, allocations: 4.824 MB / 0.5796 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5093, allocations: 296.1 kB / 0.5799 GB, free: 10.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004791/0.5097, allocations: 124.5 kB / 0.58 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/0.5103, allocations: 255.3 kB / 0.5803 GB, free: 9.727 MB / 430.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5103, allocations: 0 / 0.5803 GB, free: 9.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05348/0.5638, allocations: 16.72 MB / 0.5966 GB, free: 9.199 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.61, allocations: 8.047 kB / 0.5966 GB, free: 9.191 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.468174834997626] Failed to read output from testmodel.py, exit status != 0: 11.7291227740061 11.756682361 11.283231537 Calling exit ...