Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007957/0.0007957, 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.0009315/0.0009315, allocations: 169.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.8701/0.8701, 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 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.09039/0.09039, allocations: 17.37 MB / 276.6 MB, free: 11.85 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.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 411.4 MB, free: 432 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.27e-05, allocations: 6.281 kB / 411.4 MB, free: 424 kB / 378.7 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.EnzymeKinetics): time 0.0227/0.02271, allocations: 27.28 MB / 438.7 MB, free: 5.211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1672/0.19, allocations: 17.16 MB / 455.9 MB, free: 56.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006987/0.1906, allocations: 25.41 kB / 455.9 MB, free: 56.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.1914, allocations: 385.1 kB / 456.3 MB, free: 55.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.1941, allocations: 1.728 MB / 458 MB, free: 54.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.1984, allocations: 2.608 MB / 460.6 MB, free: 53.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.1999, allocations: 2.046 MB / 462.7 MB, free: 52.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007198/0.2006, allocations: 0.9157 MB / 463.6 MB, free: 51.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008642/0.2015, allocations: 1.379 MB / 465 MB, free: 51.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009001/0.2024, allocations: 0.9291 MB / 465.9 MB, free: 51.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.2027, allocations: 174.5 kB / 466.1 MB, free: 51.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.2057, allocations: 2.072 MB / 468.1 MB, free: 50.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.2059, allocations: 433.8 kB / 468.6 MB, free: 50.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.2062, allocations: 0.6388 MB / 469.2 MB, free: 50.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.209, allocations: 4.504 MB / 473.7 MB, free: 48.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.209, allocations: 2.719 kB / 473.7 MB, free: 48.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.209, allocations: 0 / 473.7 MB, free: 48.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.209, allocations: 3.938 kB / 473.7 MB, free: 48.24 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.001947/0.2109, allocations: 2.141 MB / 475.9 MB, free: 47.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.211, allocations: 11.28 kB / 475.9 MB, free: 47.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.2111, allocations: 198 kB / 476.1 MB, free: 46.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007106/0.2118, allocations: 335 kB / 476.4 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.2125, allocations: 0.7699 MB / 477.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.2126, allocations: 210.9 kB / 477.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.2128, allocations: 140.2 kB / 477.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.2142, allocations: 1.73 MB / 479.2 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2142, allocations: 384 / 479.2 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/0.2143, allocations: 57.12 kB / 479.3 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.2143, allocations: 32.06 kB / 479.3 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.2162, allocations: 2.17 MB / 481.5 MB, free: 44.74 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.004583/0.2207, allocations: 4.591 MB / 486.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.2236, allocations: 2.696 MB / 488.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.2243, allocations: 0.7301 MB / 489.5 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004448/0.2288, allocations: 3.794 MB / 493.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.2288, allocations: 42.5 kB / 493.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002708/0.229, allocations: 150.9 kB / 493.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 1.894e-06/0.229, allocations: 0 / 493.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.008754/0.2378, allocations: 4.288 MB / 497.8 MB, free: 37.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.2378, allocations: 67.72 kB / 497.8 MB, free: 37.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.2384, allocations: 0.7597 MB / 498.6 MB, free: 37.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.2385, allocations: 42.3 kB / 498.6 MB, free: 37.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.2387, allocations: 0.6562 MB / 499.3 MB, free: 36.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.2389, allocations: 428.2 kB / 499.7 MB, free: 36.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.2392, allocations: 295.6 kB / 0.4883 GB, free: 36.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.2393, allocations: 352.9 kB / 0.4886 GB, free: 36.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/0.2399, allocations: 479.7 kB / 0.4891 GB, free: 35.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007057/0.2406, allocations: 0.9843 MB / 0.49 GB, free: 35.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.2419, allocations: 1.576 MB / 0.4916 GB, free: 33.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.2419, allocations: 4.812 kB / 0.4916 GB, free: 33.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002856/0.2447, allocations: 1.993 MB / 0.4935 GB, free: 33.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2447, allocations: 9.406 kB / 0.4935 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.2448, allocations: 21.12 kB / 0.4936 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.246, allocations: 440.4 kB / 0.494 GB, free: 33.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.2466, allocations: 371.1 kB / 0.4943 GB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/0.2493, allocations: 3.644 MB / 0.4979 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.2498, allocations: 55.52 kB / 0.4979 GB, free: 29.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.2499, allocations: 86.08 kB / 0.498 GB, free: 29.82 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.0002989/0.2502, allocations: 316.8 kB / 0.4983 GB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.2503, allocations: 110 kB / 0.4984 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.2531, allocations: 1.797 MB / 0.5002 GB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2532, allocations: 15.94 kB / 0.5002 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2532, allocations: 5.266 kB / 0.5002 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.2532, allocations: 5.016 kB / 0.5002 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/0.2541, allocations: 1.147 MB / 0.5013 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2541, allocations: 9.438 kB / 0.5013 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.2545, allocations: 224 kB / 0.5016 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.2557, allocations: 418.2 kB / 0.502 GB, free: 27.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.2557, allocations: 49.86 kB / 0.502 GB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.2579, allocations: 3.53 MB / 0.5055 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2579, allocations: 2.656 kB / 0.5055 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.2607, allocations: 2.345 MB / 0.5077 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.261, allocations: 218.9 kB / 0.508 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.842e-05/0.261, allocations: 24 kB / 0.508 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.2613, allocations: 29.7 kB / 0.508 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.2615, allocations: 120.3 kB / 0.5081 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.2615, allocations: 49.55 kB / 0.5082 GB, free: 21.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002887/0.2618, allocations: 478.3 kB / 0.5086 GB, free: 20.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2618, allocations: 3.938 kB / 0.5086 GB, free: 20.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001417/0.2632, allocations: 0.8448 MB / 0.5095 GB, free: 20 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.003888/0.2671, allocations: 3.766 MB / 0.5131 GB, free: 16.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.2685, allocations: 1.51 MB / 0.5146 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2685, allocations: 8 kB / 0.5146 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.2692, allocations: 0.8537 MB / 0.5154 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.2698, allocations: 236.4 kB / 0.5157 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00943/0.2792, allocations: 10.69 MB / 0.5261 GB, free: 2.535 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2795, allocations: 0.5357 MB / 0.5266 GB, free: 1.977 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005226/0.28, allocations: 304.9 kB / 0.5269 GB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.2804, allocations: 0.5732 MB / 0.5275 GB, free: 1.191 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2804, allocations: 0 / 0.5275 GB, free: 1.191 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04817/0.3286, allocations: 40.96 MB / 0.5675 GB, free: 9.066 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.13/9.458, allocations: 4.062 kB / 0.5675 GB, free: 9.062 MB / 458.7 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_EnzymeKinetics_fmu --startTime=0 --stopTime=199000 --stepSize=79.6 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.26501628011465] Failed to read output from testmodel.py, exit status != 0: 9.564952559769154 9.574104156 9.362521646 Calling exit ...