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.001393/0.001393, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001598/0.001598, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.482/1.482, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1433/0.1433, allocations: 23.88 MB / 332.7 MB, free: 12.33 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.002047/0.002047, allocations: 63.91 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4224, allocations: 59.84 MB / 0.5135 GB, free: 8.824 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.03961/0.4621, allocations: 25.02 MB / 0.538 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.4741, allocations: 8.04 MB / 0.5458 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007799/0.4749, allocations: 11.88 kB / 0.5458 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.4756, allocations: 194.2 kB / 0.546 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.4778, allocations: 0.694 MB / 0.5467 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.4814, allocations: 1.03 MB / 0.5477 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.4835, allocations: 0.9446 MB / 0.5486 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009414/0.4845, allocations: 440.2 kB / 0.549 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009479/0.4854, allocations: 460.6 kB / 0.5495 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.4865, allocations: 0.4971 MB / 0.55 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.4868, allocations: 80 kB / 0.55 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.4904, allocations: 0.8738 MB / 0.5509 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.4907, allocations: 194 kB / 0.5511 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008225/0.4916, allocations: 423.2 kB / 0.5515 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005279/0.4968, allocations: 1.82 MB / 0.5533 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4969, allocations: 0 / 0.5533 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4969, allocations: 0 / 0.5533 GB, free: 1.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.75e-05/0.4969, allocations: 0 / 0.5533 GB, free: 1.664 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.003197/0.5001, allocations: 1.195 MB / 0.5544 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.5001, allocations: 12.81 kB / 0.5544 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.5004, allocations: 110.2 kB / 0.5545 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008329/0.5012, allocations: 157.8 kB / 0.5547 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.5023, allocations: 486.7 kB / 0.5552 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.5024, allocations: 84.97 kB / 0.5552 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.5026, allocations: 73.88 kB / 0.5553 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.5042, allocations: 0.7726 MB / 0.5561 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.5042, allocations: 0 / 0.5561 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.5043, allocations: 24 kB / 0.5561 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.5043, allocations: 16 kB / 0.5561 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.506, allocations: 0.8851 MB / 0.557 GB, free: 14.21 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.004962/0.511, allocations: 2.571 MB / 0.5595 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.5127, allocations: 0.9623 MB / 0.5604 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.5133, allocations: 280.2 kB / 0.5607 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004413/0.5177, allocations: 2.844 MB / 0.5635 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.5177, allocations: 34.56 kB / 0.5635 GB, free: 7.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.874e-06/0.5177, allocations: 0 / 0.5635 GB, free: 7.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002886/0.5206, allocations: 1.249 MB / 0.5647 GB, free: 6.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.5206, allocations: 55.41 kB / 0.5648 GB, free: 6.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.5213, allocations: 421.8 kB / 0.5652 GB, free: 5.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.5213, allocations: 33.7 kB / 0.5652 GB, free: 5.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.5216, allocations: 372.2 kB / 0.5656 GB, free: 5.301 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.5218, allocations: 174.5 kB / 0.5657 GB, free: 5.129 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.522, allocations: 130.6 kB / 0.5658 GB, free: 4.992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.5222, allocations: 362.7 kB / 0.5662 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.5225, allocations: 145.9 kB / 0.5663 GB, free: 4.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.5231, allocations: 396.3 kB / 0.5667 GB, free: 3.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009903/0.5241, allocations: 0.5747 MB / 0.5673 GB, free: 3.312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.5241, allocations: 4 kB / 0.5673 GB, free: 3.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001172/0.5252, allocations: 0.6055 MB / 0.5679 GB, free: 2.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.5253, allocations: 12 kB / 0.5679 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.5253, allocations: 8 kB / 0.5679 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.5253, allocations: 12 kB / 0.5679 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.5261, allocations: 203.7 kB / 0.5681 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.5261, allocations: 19.92 kB / 0.5681 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.5264, allocations: 27.94 kB / 0.5681 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.5265, allocations: 36 kB / 0.5682 GB, free: 2.383 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.0003134/0.5268, allocations: 205.5 kB / 0.5684 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5269, allocations: 55.62 kB / 0.5684 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.528, allocations: 0.4936 MB / 0.5689 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.528, allocations: 4 kB / 0.5689 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.528, allocations: 4 kB / 0.5689 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.528, allocations: 7.922 kB / 0.5689 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.5292, allocations: 0.6238 MB / 0.5695 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5292, allocations: 0 / 0.5695 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.5298, allocations: 139.9 kB / 0.5697 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.5298, allocations: 3.938 kB / 0.5697 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.5298, allocations: 24.05 kB / 0.5697 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-05/0.5298, allocations: 8 kB / 0.5697 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5298, allocations: 0 / 0.5697 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.531, allocations: 0.7267 MB / 0.5704 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.5313, allocations: 172.7 kB / 0.5706 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.5314, allocations: 11.94 kB / 0.5706 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.5316, allocations: 12 kB / 0.5706 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.5317, allocations: 36.33 kB / 0.5706 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.5318, allocations: 27.98 kB / 0.5706 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003793/0.5322, allocations: 275.2 kB / 0.5709 GB, free: 15.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5322, allocations: 0 / 0.5709 GB, free: 15.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001318/0.5335, allocations: 331.1 kB / 0.5712 GB, free: 15.12 MB / 430.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.002661/0.5361, allocations: 1.602 MB / 0.5728 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009378/0.5371, allocations: 410.4 kB / 0.5732 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5371, allocations: 3.938 kB / 0.5732 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.5374, allocations: 194.9 kB / 0.5734 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.5382, allocations: 132.9 kB / 0.5735 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007963/0.5462, allocations: 4.81 MB / 0.5782 GB, free: 7.629 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.5468, allocations: 0.89 MB / 0.5791 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004633/0.5473, allocations: 124.5 kB / 0.5792 GB, free: 6.586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.5477, allocations: 251.3 kB / 0.5794 GB, free: 6.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5477, allocations: 0 / 0.5794 GB, free: 6.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05171/0.5994, allocations: 15.53 MB / 0.5946 GB, free: 6.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.663/10.26, allocations: 19.86 kB / 0.5946 GB, free: 6.891 MB / 446.1 MB " [Timeout remaining time 650] (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: 13.2090198721271] Failed to read output from testmodel.py, exit status != 0: 10.34574497002177 10.373051501 9.8711058 Calling exit ...