Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.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.001436/0.001436, 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.001475/0.001475, 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.631/1.631, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.1551/0.1551, allocations: 23.84 MB / 332.7 MB, free: 12.37 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.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",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.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5135, allocations: 59.82 MB / 0.5135 GB, free: 8.832 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.SimpleReaction2): time 0.04695/0.5604, allocations: 25.66 MB / 0.5385 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01907/0.5795, allocations: 11.69 MB / 0.5499 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.5808, allocations: 19.81 kB / 0.55 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.5818, allocations: 268.8 kB / 0.5502 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003977/0.5857, allocations: 0.9805 MB / 0.5512 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006095/0.5918, allocations: 1.519 MB / 0.5527 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.5948, allocations: 1.255 MB / 0.5539 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.5959, allocations: 0.5889 MB / 0.5545 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.5969, allocations: 0.619 MB / 0.5551 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.5982, allocations: 0.6788 MB / 0.5557 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.5984, allocations: 104 kB / 0.5558 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006899/0.6053, allocations: 1.301 MB / 0.5571 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007013/0.606, allocations: 258.8 kB / 0.5573 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.607, allocations: 0.5499 MB / 0.5579 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.617, allocations: 2.591 MB / 0.5604 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.617, allocations: 0 / 0.5604 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.617, allocations: 0 / 0.5604 GB, free: 11.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.174e-05/0.617, allocations: 0 / 0.5604 GB, free: 11.16 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003824/0.6208, allocations: 1.529 MB / 0.5619 GB, free: 9.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.6209, allocations: 12.03 kB / 0.5619 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002078/0.6211, allocations: 139.6 kB / 0.562 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.6222, allocations: 211.9 kB / 0.5622 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.6233, allocations: 0.5797 MB / 0.5628 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.6234, allocations: 96.27 kB / 0.5629 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.6236, allocations: 96.36 kB / 0.563 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.6256, allocations: 1.045 MB / 0.564 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.6256, allocations: 4 kB / 0.564 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.6257, allocations: 32 kB / 0.564 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.6258, allocations: 24 kB / 0.5641 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.6281, allocations: 1.273 MB / 0.5653 GB, free: 6.105 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.006408/0.6345, allocations: 3.486 MB / 0.5687 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.6371, allocations: 1.481 MB / 0.5702 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.6378, allocations: 399.6 kB / 0.5705 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006517/0.6443, allocations: 4.057 MB / 0.5745 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.6443, allocations: 39.12 kB / 0.5745 GB, free: 11.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 3.136e-06/0.6443, allocations: 4 kB / 0.5745 GB, free: 11.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.004097/0.6484, allocations: 1.675 MB / 0.5762 GB, free: 10.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.6485, allocations: 59.97 kB / 0.5762 GB, free: 10.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/0.6493, allocations: 0.5068 MB / 0.5767 GB, free: 9.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.6494, allocations: 37.7 kB / 0.5768 GB, free: 9.562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.6498, allocations: 475.8 kB / 0.5772 GB, free: 9.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.65, allocations: 238 kB / 0.5775 GB, free: 8.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.6503, allocations: 166.6 kB / 0.5776 GB, free: 8.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.6505, allocations: 390.7 kB / 0.578 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.6509, allocations: 205.9 kB / 0.5782 GB, free: 8.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/0.6517, allocations: 0.5295 MB / 0.5787 GB, free: 7.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.653, allocations: 0.817 MB / 0.5795 GB, free: 6.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.653, allocations: 4 kB / 0.5795 GB, free: 6.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001608/0.6546, allocations: 0.8504 MB / 0.5803 GB, free: 5.594 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.6547, allocations: 8.188 kB / 0.5803 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.6547, allocations: 19.94 kB / 0.5804 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.6547, allocations: 16 kB / 0.5804 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.6558, allocations: 263.6 kB / 0.5806 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.878e-05/0.6558, allocations: 23.92 kB / 0.5806 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.6563, allocations: 28 kB / 0.5807 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/0.6564, allocations: 48 kB / 0.5807 GB, free: 5.195 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0004047/0.6568, allocations: 241.5 kB / 0.5809 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.6569, allocations: 63.58 kB / 0.581 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.6584, allocations: 0.693 MB / 0.5817 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6584, allocations: 12 kB / 0.5817 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6584, allocations: 3.938 kB / 0.5817 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.6585, allocations: 3.984 kB / 0.5817 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.6597, allocations: 0.7682 MB / 0.5825 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6597, allocations: 0 / 0.5825 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.6605, allocations: 175.9 kB / 0.5826 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.6605, allocations: 4 kB / 0.5826 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.6605, allocations: 23.94 kB / 0.5827 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-06/0.6605, allocations: 11.92 kB / 0.5827 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.6605, allocations: 7.938 kB / 0.5827 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.6622, allocations: 0.9485 MB / 0.5836 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.6625, allocations: 192.6 kB / 0.5838 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/0.6626, allocations: 23.94 kB / 0.5838 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.6628, allocations: 12 kB / 0.5838 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.663, allocations: 48.44 kB / 0.5839 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.663, allocations: 31.98 kB / 0.5839 GB, free: 1.812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004561/0.6635, allocations: 338.9 kB / 0.5842 GB, free: 1.484 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6635, allocations: 0 / 0.5842 GB, free: 1.484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00174/0.6652, allocations: 490.6 kB / 0.5847 GB, free: 1.004 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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.003433/0.6687, allocations: 1.999 MB / 0.5866 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.6699, allocations: 0.5646 MB / 0.5872 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6699, allocations: 4 kB / 0.5872 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.6704, allocations: 263 kB / 0.5874 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009314/0.6713, allocations: 147 kB / 0.5876 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.6815, allocations: 6.139 MB / 0.5936 GB, free: 7.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.6822, allocations: 0.9501 MB / 0.5945 GB, free: 6.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006252/0.6828, allocations: 173.4 kB / 0.5947 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.6833, allocations: 351.2 kB / 0.595 GB, free: 5.953 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6833, allocations: 0 / 0.595 GB, free: 5.953 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/0.7434, allocations: 21.06 MB / 0.6156 GB, free: 1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.656/10.4, allocations: 10.59 kB / 0.6156 GB, free: 0.9922 MB / 462.1 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.SimpleReaction2_res.csv --start-time 0 --stop-time 0.0001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-08 Chemical_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.497171688009985] Failed to read output from testmodel.py, exit status != 0: 10.485567095005536 10.512905529 9.890675866 Calling exit ...