Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009576/0.0009576, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00103/0.00103, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8636/0.8636, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.07711/0.07711, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 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.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 411.6 MB, free: 252 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.502e-05, allocations: 3.547 kB / 411.6 MB, free: 248 kB / 378.7 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.SimpleReaction2): time 0.01968/0.01969, allocations: 25.77 MB / 437.4 MB, free: 6.551 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1568/0.1765, allocations: 10.25 MB / 447.6 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.1768, allocations: 18 kB / 447.6 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.1773, allocations: 239.3 kB / 447.9 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1786, allocations: 1.034 MB / 448.9 MB, free: 59.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.1804, allocations: 1.581 MB / 450.5 MB, free: 58.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006724/0.1811, allocations: 1.304 MB / 451.8 MB, free: 58.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.1815, allocations: 0.564 MB / 452.4 MB, free: 58.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.1819, allocations: 0.8427 MB / 453.2 MB, free: 57.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.1823, allocations: 0.5514 MB / 453.7 MB, free: 57.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.1824, allocations: 108.4 kB / 453.9 MB, free: 57.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.1836, allocations: 1.229 MB / 455.1 MB, free: 57.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1838, allocations: 264.1 kB / 455.3 MB, free: 57.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.184, allocations: 409.3 kB / 455.7 MB, free: 57.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.1857, allocations: 2.736 MB / 458.5 MB, free: 56.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1857, allocations: 0 / 458.5 MB, free: 56.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1857, allocations: 3.281 kB / 458.5 MB, free: 56.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1857, allocations: 0 / 458.5 MB, free: 56.27 MB / 410.7 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.001395/0.1871, allocations: 1.429 MB / 459.9 MB, free: 55.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.1871, allocations: 13.5 kB / 459.9 MB, free: 55.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.1872, allocations: 141 kB / 460.1 MB, free: 55.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004948/0.1877, allocations: 212.3 kB / 460.3 MB, free: 55.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.1882, allocations: 0.5217 MB / 460.8 MB, free: 54.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.1883, allocations: 119.2 kB / 460.9 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.1884, allocations: 94.8 kB / 461 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008976/0.1893, allocations: 1.046 MB / 462 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1893, allocations: 384 / 462 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.1894, allocations: 45.03 kB / 462.1 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1894, allocations: 22.69 kB / 462.1 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.1905, allocations: 1.262 MB / 463.4 MB, free: 53.97 MB / 410.7 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.002582/0.193, allocations: 2.81 MB / 466.2 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1942, allocations: 1.242 MB / 467.4 MB, free: 52.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.1945, allocations: 393.1 kB / 467.8 MB, free: 51.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002059/0.1966, allocations: 2.08 MB / 469.9 MB, free: 50.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.1966, allocations: 41.34 kB / 469.9 MB, free: 50.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 1.343e-06/0.1966, allocations: 0 / 469.9 MB, free: 50.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=63): time 0.001652/0.1982, allocations: 1.594 MB / 471.5 MB, free: 50.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.1983, allocations: 58.09 kB / 471.6 MB, free: 50.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.1986, allocations: 0.5373 MB / 472.1 MB, free: 49.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1986, allocations: 43.36 kB / 472.2 MB, free: 49.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1987, allocations: 468.2 kB / 472.6 MB, free: 49.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.1988, allocations: 234.1 kB / 472.8 MB, free: 49.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.1989, allocations: 173.9 kB / 473 MB, free: 49.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.1989, allocations: 375.4 kB / 473.4 MB, free: 48.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1991, allocations: 212.2 kB / 473.6 MB, free: 48.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1994, allocations: 0.5306 MB / 474.1 MB, free: 48.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.1999, allocations: 0.8156 MB / 474.9 MB, free: 47.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1999, allocations: 5.656 kB / 474.9 MB, free: 47.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006929/0.2006, allocations: 0.86 MB / 475.8 MB, free: 47.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2007, allocations: 9 kB / 475.8 MB, free: 47.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2007, allocations: 11.97 kB / 475.8 MB, free: 47.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2007, allocations: 15.03 kB / 475.8 MB, free: 47.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.2011, allocations: 264.7 kB / 476.1 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2011, allocations: 26.31 kB / 476.1 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2013, allocations: 30.91 kB / 476.2 MB, free: 47.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.2014, allocations: 50.36 kB / 476.2 MB, free: 47.2 MB / 410.7 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.00016/0.2015, allocations: 240.4 kB / 476.4 MB, free: 47.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.2016, allocations: 66.36 kB / 476.5 MB, free: 46.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/0.2023, allocations: 0.6885 MB / 477.2 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2023, allocations: 9.906 kB / 477.2 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2023, allocations: 0 / 477.2 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2023, allocations: 7.359 kB / 477.2 MB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.2028, allocations: 0.6729 MB / 477.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2028, allocations: 4.031 kB / 477.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.2031, allocations: 171.5 kB / 478 MB, free: 46.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.2031, allocations: 5.469 kB / 478.1 MB, free: 46.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2031, allocations: 26.06 kB / 478.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2031, allocations: 5.75 kB / 478.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2031, allocations: 3.125 kB / 478.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.2039, allocations: 0.9624 MB / 479.1 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.204, allocations: 115.8 kB / 479.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.2041, allocations: 16.62 kB / 479.2 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2042, allocations: 15.22 kB / 479.2 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.2043, allocations: 58.17 kB / 479.3 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.2043, allocations: 27.94 kB / 479.3 MB, free: 45.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.2045, allocations: 339.9 kB / 479.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2045, allocations: 0 / 479.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007947/0.2053, allocations: 483 kB / 480.1 MB, free: 45.4 MB / 410.7 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.001734/0.2071, allocations: 2.013 MB / 482.1 MB, free: 44.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006114/0.2077, allocations: 0.5722 MB / 482.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2077, allocations: 0 / 482.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.208, allocations: 260.6 kB / 482.9 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.2084, allocations: 163.5 kB / 483.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.213, allocations: 6.05 MB / 489.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.2133, allocations: 364.1 kB / 489.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003218/0.2136, allocations: 167.9 kB / 489.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.2138, allocations: 348.4 kB / 490 MB, free: 39.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2138, allocations: 0 / 490 MB, free: 39.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.2452, allocations: 22.36 MB / 0.5003 GB, free: 30.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/6.973, allocations: 8 kB / 0.5004 GB, free: 30.44 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.769016098231077] Failed to read output from testmodel.py, exit status != 0: 7.059408895671368 7.065242727 6.878285423 Calling exit ...