Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.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.0007369/0.0007369, 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.0007645/0.0007645, 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.8164/0.8164, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08035/0.08035, 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.EnzymeKinetics,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 411.6 MB, free: 248 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.815e-05, allocations: 2.281 kB / 411.6 MB, free: 244 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.EnzymeKinetics): time 0.0194/0.01942, allocations: 27.29 MB / 438.9 MB, free: 5.008 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1462/0.1656, allocations: 17.16 MB / 456.1 MB, free: 55.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.1661, allocations: 25.66 kB / 456.1 MB, free: 55.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.1667, allocations: 377.6 kB / 456.5 MB, free: 55.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.1685, allocations: 1.72 MB / 458.2 MB, free: 54.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.1711, allocations: 2.612 MB / 460.8 MB, free: 53.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008883/0.172, allocations: 2.046 MB / 462.8 MB, free: 52.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005269/0.1725, allocations: 0.9246 MB / 463.8 MB, free: 51.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.1732, allocations: 1.374 MB / 465.1 MB, free: 51.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006075/0.1738, allocations: 0.9332 MB / 466.1 MB, free: 50.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.1739, allocations: 172.7 kB / 466.2 MB, free: 50.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.1758, allocations: 2.066 MB / 468.3 MB, free: 50.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.176, allocations: 443.8 kB / 468.7 MB, free: 50.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.1763, allocations: 0.6349 MB / 469.4 MB, free: 49.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.1786, allocations: 4.512 MB / 473.9 MB, free: 48.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1786, allocations: 0 / 473.9 MB, free: 48.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1786, allocations: 2.656 kB / 473.9 MB, free: 48.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1786, allocations: 0 / 473.9 MB, free: 48.02 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.001838/0.1805, allocations: 2.138 MB / 476 MB, free: 46.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1805, allocations: 8.844 kB / 476 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.1807, allocations: 199.3 kB / 476.2 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/0.1813, allocations: 339.7 kB / 476.6 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.182, allocations: 0.764 MB / 477.3 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/0.1821, allocations: 210.3 kB / 477.5 MB, free: 45.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.1822, allocations: 139.5 kB / 477.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1837, allocations: 1.717 MB / 479.4 MB, free: 45.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.1837, allocations: 4.312 kB / 479.4 MB, free: 45.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-05/0.1838, allocations: 59.56 kB / 479.4 MB, free: 45.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.1838, allocations: 38.42 kB / 479.5 MB, free: 45.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.1856, allocations: 2.169 MB / 481.6 MB, free: 44.52 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.004404/0.19, allocations: 4.591 MB / 486.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.1927, allocations: 2.691 MB / 488.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.1934, allocations: 0.7351 MB / 489.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004243/0.1976, allocations: 3.794 MB / 493.5 MB, free: 39.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.1976, allocations: 43.91 kB / 493.5 MB, free: 39.32 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000258/0.1979, allocations: 146.1 kB / 493.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 2.064e-06/0.1979, allocations: 1.031 kB / 493.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.008131/0.206, allocations: 4.289 MB / 497.9 MB, free: 37.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.206, allocations: 65.14 kB / 498 MB, free: 37.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.2066, allocations: 0.7582 MB / 498.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.2066, allocations: 46.36 kB / 498.8 MB, free: 37.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.2069, allocations: 0.6608 MB / 499.5 MB, free: 36.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.207, allocations: 429 kB / 499.9 MB, free: 36.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.2073, allocations: 294.9 kB / 0.4884 GB, free: 36.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.2073, allocations: 351.5 kB / 0.4888 GB, free: 35.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.2079, allocations: 484.3 kB / 0.4892 GB, free: 35.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/0.2085, allocations: 0.9806 MB / 0.4902 GB, free: 34.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.2098, allocations: 1.579 MB / 0.4917 GB, free: 33.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2098, allocations: 4.25 kB / 0.4917 GB, free: 33.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002873/0.2127, allocations: 1.99 MB / 0.4937 GB, free: 32.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2127, allocations: 15.19 kB / 0.4937 GB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2127, allocations: 14.97 kB / 0.4937 GB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.2139, allocations: 437 kB / 0.4941 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.2145, allocations: 377.1 kB / 0.4945 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.217, allocations: 3.646 MB / 0.4981 GB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.2175, allocations: 58.55 kB / 0.4981 GB, free: 29.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.2176, allocations: 91.8 kB / 0.4982 GB, free: 29.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (190): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.2178, allocations: 311.6 kB / 0.4985 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.218, allocations: 109.5 kB / 0.4986 GB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.2207, allocations: 1.805 MB / 0.5004 GB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2207, allocations: 15.94 kB / 0.5004 GB, free: 28.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2207, allocations: 0.7031 kB / 0.5004 GB, free: 28.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.2207, allocations: 5.766 kB / 0.5004 GB, free: 28.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009266/0.2217, allocations: 1.132 MB / 0.5015 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2217, allocations: 4 kB / 0.5015 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.2221, allocations: 225.9 kB / 0.5017 GB, free: 27.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.2232, allocations: 429.3 kB / 0.5021 GB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.2232, allocations: 43.34 kB / 0.5022 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.2253, allocations: 3.538 MB / 0.5056 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2253, allocations: 7.969 kB / 0.5056 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.2281, allocations: 2.341 MB / 0.5079 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.2283, allocations: 215.7 kB / 0.5081 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.2284, allocations: 26.81 kB / 0.5081 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.2287, allocations: 25.27 kB / 0.5082 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.2288, allocations: 120.5 kB / 0.5083 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.2288, allocations: 48.62 kB / 0.5083 GB, free: 20.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002698/0.2291, allocations: 482.6 kB / 0.5088 GB, free: 20.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2291, allocations: 0 / 0.5088 GB, free: 20.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001266/0.2304, allocations: 0.8386 MB / 0.5096 GB, free: 19.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (solution.temperature,P.logn,S.logn,ES.logn,E.logn,liquidWater.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 (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003668/0.234, allocations: 3.769 MB / 0.5133 GB, free: 16.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.2353, allocations: 1.518 MB / 0.5148 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2353, allocations: 0 / 0.5148 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.236, allocations: 0.8575 MB / 0.5156 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.2366, allocations: 230.3 kB / 0.5158 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009085/0.2456, allocations: 10.69 MB / 0.5263 GB, free: 2.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.2459, allocations: 0.5474 MB / 0.5268 GB, free: 1.645 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004986/0.2464, allocations: 294.2 kB / 0.5271 GB, free: 1.438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.2468, allocations: 0.5706 MB / 0.5276 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2468, allocations: 2.656 kB / 0.5276 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/0.2897, allocations: 40.96 MB / 0.5676 GB, free: 8.742 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.704, allocations: 6.875 kB / 0.5677 GB, free: 8.738 MB / 458.7 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_EnzymeKinetics_fmu --startTime=0 --stopTime=199000 --stepSize=79.6 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_EnzymeKinetics.fmu > Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.364199236035347] Failed to read output from testmodel.py, exit status != 0: 8.811197564937174 8.819015961 8.638834044 Calling exit ...