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.001498/0.001498, 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.001827/0.001827, allocations: 214.6 kB / 22.25 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.727 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.1638/0.1638, allocations: 23.99 MB / 336.4 MB, free: 10.81 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.002121/0.002121, allocations: 63.89 kB / 471.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4042, allocations: 59.9 MB / 0.5187 GB, free: 9.449 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.07314/0.4774, allocations: 24.82 MB / 0.543 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.4884, allocations: 7.055 MB / 0.5499 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007476/0.4892, allocations: 11.88 kB / 0.5499 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008299/0.49, allocations: 178.2 kB / 0.55 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.4925, allocations: 0.7022 MB / 0.5507 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003486/0.496, allocations: 1.044 MB / 0.5517 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.4978, allocations: 0.9364 MB / 0.5527 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008693/0.4987, allocations: 424.5 kB / 0.5531 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008311/0.4995, allocations: 468.8 kB / 0.5535 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.5006, allocations: 457 kB / 0.5539 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.5009, allocations: 76 kB / 0.554 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/0.5038, allocations: 0.8178 MB / 0.5548 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004035/0.5042, allocations: 194.2 kB / 0.555 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007647/0.505, allocations: 355.2 kB / 0.5553 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004631/0.5096, allocations: 1.82 MB / 0.5571 GB, free: 1.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5096, allocations: 4 kB / 0.5571 GB, free: 1.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5096, allocations: 4 kB / 0.5571 GB, free: 1.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.45e-05/0.5097, allocations: 0 / 0.5571 GB, free: 1.812 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.002996/0.5127, allocations: 1.109 MB / 0.5582 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5127, allocations: 12.03 kB / 0.5582 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002386/0.5129, allocations: 110.4 kB / 0.5583 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/0.5138, allocations: 150.6 kB / 0.5585 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.5149, allocations: 430.4 kB / 0.5589 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.515, allocations: 106.7 kB / 0.559 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.5152, allocations: 65.11 kB / 0.559 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.5168, allocations: 0.7806 MB / 0.5598 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.5168, allocations: 0 / 0.5598 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.5169, allocations: 27.94 kB / 0.5598 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.5169, allocations: 16 kB / 0.5598 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.5185, allocations: 0.8729 MB / 0.5607 GB, free: 14.51 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.00437/0.5229, allocations: 2.088 MB / 0.5627 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.5244, allocations: 0.8045 MB / 0.5635 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.5249, allocations: 275.2 kB / 0.5638 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003416/0.5283, allocations: 1.52 MB / 0.5653 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.5283, allocations: 38.56 kB / 0.5653 GB, free: 9.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.214e-06/0.5283, allocations: 0 / 0.5653 GB, free: 9.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002509/0.5308, allocations: 1.174 MB / 0.5665 GB, free: 8.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.5309, allocations: 55.41 kB / 0.5665 GB, free: 8.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.5314, allocations: 429.7 kB / 0.5669 GB, free: 8.109 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.5314, allocations: 33.7 kB / 0.5669 GB, free: 8.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.5317, allocations: 380.1 kB / 0.5673 GB, free: 7.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.5318, allocations: 170.5 kB / 0.5675 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.532, allocations: 134.6 kB / 0.5676 GB, free: 7.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5322, allocations: 354.8 kB / 0.5679 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.5325, allocations: 149.9 kB / 0.5681 GB, free: 6.883 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.5329, allocations: 392.3 kB / 0.5685 GB, free: 6.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008162/0.5338, allocations: 0.5748 MB / 0.569 GB, free: 5.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.5338, allocations: 4 kB / 0.569 GB, free: 5.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001032/0.5348, allocations: 0.6163 MB / 0.5696 GB, free: 5.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.5348, allocations: 18.91 kB / 0.5696 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5348, allocations: 4 kB / 0.5696 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.5349, allocations: 16.75 kB / 0.5697 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.5356, allocations: 207.7 kB / 0.5699 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/0.5356, allocations: 15.94 kB / 0.5699 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.536, allocations: 20 kB / 0.5699 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.536, allocations: 39.98 kB / 0.5699 GB, free: 4.77 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.0002873/0.5363, allocations: 201.6 kB / 0.5701 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-05/0.5364, allocations: 59.56 kB / 0.5702 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.5374, allocations: 0.4975 MB / 0.5707 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5374, allocations: 4 kB / 0.5707 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5374, allocations: 0 / 0.5707 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5375, allocations: 0 / 0.5707 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.5383, allocations: 0.5487 MB / 0.5712 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5384, allocations: 4 kB / 0.5712 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.5389, allocations: 140 kB / 0.5713 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.539, allocations: 7.938 kB / 0.5714 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.539, allocations: 16 kB / 0.5714 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/0.539, allocations: 7.984 kB / 0.5714 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.539, allocations: 0 / 0.5714 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.5401, allocations: 0.7225 MB / 0.5721 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.5404, allocations: 91.56 kB / 0.5722 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.203e-05/0.5404, allocations: 11.94 kB / 0.5722 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.5407, allocations: 12 kB / 0.5722 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.5408, allocations: 40.38 kB / 0.5722 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.5408, allocations: 23.98 kB / 0.5723 GB, free: 2.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003489/0.5412, allocations: 275.2 kB / 0.5725 GB, free: 2.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5412, allocations: 3.938 kB / 0.5725 GB, free: 2.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001102/0.5423, allocations: 335.1 kB / 0.5728 GB, free: 1.691 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.002457/0.5447, allocations: 1.594 MB / 0.5744 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000837/0.5455, allocations: 409.2 kB / 0.5748 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5456, allocations: 4 kB / 0.5748 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.5459, allocations: 188 kB / 0.575 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.5466, allocations: 138.9 kB / 0.5751 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.5539, allocations: 4.821 MB / 0.5798 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.5542, allocations: 292.1 kB / 0.5801 GB, free: 9.898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.5547, allocations: 120.5 kB / 0.5802 GB, free: 9.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.5551, allocations: 259.3 kB / 0.5804 GB, free: 9.523 MB / 430.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5551, allocations: 0 / 0.5804 GB, free: 9.523 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05935/0.6145, allocations: 16.51 MB / 0.5966 GB, free: 9.207 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.57, allocations: 6.562 kB / 0.5966 GB, free: 9.203 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.590350939892232] Failed to read output from testmodel.py, exit status != 0: 12.691127659752965 12.712823273 12.199655511 Calling exit ...