Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.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.0008158/0.0008158, 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.0007842/0.0007842, allocations: 170.3 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.8892/0.8892, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.0951/0.0951, allocations: 17.37 MB / 276.6 MB, free: 11.86 MB / 266.7 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.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 411.4 MB, free: 428 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.783e-05, allocations: 2.281 kB / 411.5 MB, free: 424 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65: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:12638:6-12638:65: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.CheckSubstancesData.SimpleReaction2): time 0.02172/0.02174, allocations: 24.43 MB / 435.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1879/0.2096, allocations: 8.057 MB / 443.9 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004154/0.2101, allocations: 13.53 kB / 443.9 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.2106, allocations: 204.9 kB / 444.1 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007591/0.2113, allocations: 380.1 kB / 444.5 MB, free: 59.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.214, allocations: 1.483 MB / 446 MB, free: 58.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.2145, allocations: 0.6977 MB / 446.7 MB, free: 58.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.2147, allocations: 187.4 kB / 446.9 MB, free: 58.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.2149, allocations: 419.6 kB / 447.3 MB, free: 58.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.2152, allocations: 301.2 kB / 447.6 MB, free: 58.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.2152, allocations: 38.31 kB / 447.6 MB, free: 58.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008293/0.2161, allocations: 0.7852 MB / 448.4 MB, free: 58.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-05/0.2161, allocations: 114.5 kB / 448.5 MB, free: 58.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.2163, allocations: 190 kB / 448.7 MB, free: 58.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.2173, allocations: 1.617 MB / 450.3 MB, free: 58.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2173, allocations: 0 / 450.3 MB, free: 58.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2173, allocations: 2.625 kB / 450.3 MB, free: 58.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2173, allocations: 0 / 450.3 MB, free: 58.34 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0007607/0.2181, allocations: 0.877 MB / 451.2 MB, free: 57.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2181, allocations: 9.594 kB / 451.2 MB, free: 57.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.2182, allocations: 69.44 kB / 451.3 MB, free: 57.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.2186, allocations: 165 kB / 451.4 MB, free: 57.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.2189, allocations: 396.9 kB / 451.8 MB, free: 57.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2189, allocations: 27.94 kB / 451.9 MB, free: 57.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.219, allocations: 29.16 kB / 451.9 MB, free: 57.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.2195, allocations: 0.5357 MB / 452.4 MB, free: 57.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2195, allocations: 3.25 kB / 452.4 MB, free: 57.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.2195, allocations: 15.28 kB / 452.4 MB, free: 57.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2195, allocations: 6.531 kB / 452.4 MB, free: 57.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.2202, allocations: 0.7971 MB / 453.2 MB, free: 57.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.2215, allocations: 1.779 MB / 455 MB, free: 55.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.2217, allocations: 192.3 kB / 455.2 MB, free: 55.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2219, allocations: 132.8 kB / 455.3 MB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.2232, allocations: 1.285 MB / 456.6 MB, free: 55.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2232, allocations: 40.72 kB / 456.7 MB, free: 55.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.2232, allocations: 0 / 456.7 MB, free: 55.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004097/0.2236, allocations: 291.2 kB / 456.9 MB, free: 55.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.2236, allocations: 54.62 kB / 457 MB, free: 55.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.2239, allocations: 490.3 kB / 457.5 MB, free: 54.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.2239, allocations: 32.7 kB / 457.5 MB, free: 54.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2241, allocations: 306.9 kB / 457.8 MB, free: 54.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.2241, allocations: 55.38 kB / 457.9 MB, free: 54.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.2242, allocations: 106.4 kB / 458 MB, free: 54.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.2242, allocations: 353.4 kB / 458.3 MB, free: 54.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.2243, allocations: 88.06 kB / 458.4 MB, free: 54.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.2245, allocations: 368.3 kB / 458.8 MB, free: 53.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.2248, allocations: 0.4937 MB / 459.3 MB, free: 53.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2248, allocations: 5.844 kB / 459.3 MB, free: 53.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004562/0.2253, allocations: 489.8 kB / 459.7 MB, free: 53.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2253, allocations: 9.688 kB / 459.7 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2253, allocations: 9.5 kB / 459.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.2254, allocations: 12.78 kB / 459.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2255, allocations: 113 kB / 459.9 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.2256, allocations: 22.03 kB / 459.9 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2257, allocations: 57.06 kB / 460 MB, free: 53.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.2257, allocations: 34.38 kB / 460 MB, free: 53.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001545/0.2259, allocations: 178.8 kB / 460.2 MB, free: 53.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.2259, allocations: 49.52 kB / 460.2 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.2264, allocations: 407.7 kB / 460.6 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2264, allocations: 1.031 kB / 460.6 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2264, allocations: 0 / 460.6 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2264, allocations: 0 / 460.6 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.2268, allocations: 0.673 MB / 461.3 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2268, allocations: 0 / 461.3 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.2269, allocations: 12.53 kB / 461.3 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.2269, allocations: 3.281 kB / 461.3 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2269, allocations: 2.75 kB / 461.3 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.2269, allocations: 12.81 kB / 461.3 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2269, allocations: 3.031 kB / 461.3 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.227, allocations: 197.8 kB / 461.5 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.2271, allocations: 54.14 kB / 461.6 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.2271, allocations: 6.031 kB / 461.6 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.2272, allocations: 7.219 kB / 461.6 MB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.2272, allocations: 15.62 kB / 461.6 MB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.2272, allocations: 2.969 kB / 461.6 MB, free: 52.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002918/0.2275, allocations: 413.8 kB / 462 MB, free: 51.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2275, allocations: 0 / 462 MB, free: 51.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004919/0.228, allocations: 253.8 kB / 462.2 MB, free: 51.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.0008153/0.2288, allocations: 1.048 MB / 463.3 MB, free: 51.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.2291, allocations: 221 kB / 463.5 MB, free: 51.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2291, allocations: 3.156 kB / 463.5 MB, free: 51.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.2292, allocations: 30.53 kB / 463.5 MB, free: 51.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.2296, allocations: 114.8 kB / 463.7 MB, free: 51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.2328, allocations: 4.113 MB / 467.8 MB, free: 48.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2329, allocations: 208.6 kB / 468 MB, free: 48.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.2332, allocations: 133 kB / 468.1 MB, free: 48.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.2333, allocations: 178.6 kB / 468.3 MB, free: 48.04 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2333, allocations: 0 / 468.3 MB, free: 48.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.2604, allocations: 14.54 MB / 482.8 MB, free: 46.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.269, allocations: 9.562 kB / 482.8 MB, free: 46.67 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_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_CheckSubstancesData_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.2088618054986] Failed to read output from testmodel.py, exit status != 0: 7.354344747029245 7.362963564 7.144012312 Calling exit ...