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.0007709/0.0007709, 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.0008707/0.0008707, 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.8913/0.8913, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.08155/0.08155, allocations: 17.37 MB / 276.6 MB, free: 11.87 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.734e-06/1.734e-06, allocations: 0 / 411.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.15e-05, allocations: 4.781 kB / 411.4 MB, free: 13.23 MB / 330.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.02535/0.02538, allocations: 27.3 MB / 438.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.04026, allocations: 17.17 MB / 455.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.04142, allocations: 27.75 kB / 455.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009262/0.04234, allocations: 378.7 kB / 456.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.04653, allocations: 1.729 MB / 458 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005689/0.05222, allocations: 2.609 MB / 460.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00246/0.05468, allocations: 2.043 MB / 462.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009725/0.05565, allocations: 0.9198 MB / 463.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.05672, allocations: 1.381 MB / 465 MB, free: 4.809 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009877/0.0577, allocations: 0.9354 MB / 465.9 MB, free: 3.871 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.05789, allocations: 172 kB / 466.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.06178, allocations: 2.066 MB / 468.2 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.0621, allocations: 442.6 kB / 468.6 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.0626, allocations: 0.6315 MB / 469.2 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007075/0.06967, allocations: 4.511 MB / 473.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.06968, allocations: 4 kB / 473.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06968, allocations: 0 / 473.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.06971, allocations: 0 / 473.7 MB, free: 12.04 MB / 378.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.002978/0.07268, allocations: 2.131 MB / 475.9 MB, free: 9.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.07272, allocations: 16.03 kB / 475.9 MB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.0729, allocations: 198.6 kB / 476.1 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.0738, allocations: 339.5 kB / 476.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009838/0.07478, allocations: 0.7644 MB / 477.2 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.07492, allocations: 214 kB / 477.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.07508, allocations: 136.3 kB / 477.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.07687, allocations: 1.721 MB / 479.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.07689, allocations: 192 / 479.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.985e-05/0.07699, allocations: 63.94 kB / 479.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.07701, allocations: 32 kB / 479.3 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.07917, allocations: 2.177 MB / 481.5 MB, free: 4.113 MB / 378.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.005579/0.08475, allocations: 4.58 MB / 486.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.08767, allocations: 2.696 MB / 488.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009883/0.08866, allocations: 0.7348 MB / 489.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005042/0.0937, allocations: 3.792 MB / 493.3 MB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.09373, allocations: 51.5 kB / 493.4 MB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000393/0.09412, allocations: 147.1 kB / 493.5 MB, free: 7.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 3.727e-06/0.09413, allocations: 0 / 493.5 MB, free: 7.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=116): time 0.009342/0.1035, allocations: 4.288 MB / 497.8 MB, free: 3.648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1035, allocations: 64.41 kB / 497.9 MB, free: 3.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.1042, allocations: 0.7547 MB / 498.6 MB, free: 2.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/0.1042, allocations: 45.7 kB / 498.7 MB, free: 2.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.1045, allocations: 0.6638 MB / 499.3 MB, free: 2.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.1047, allocations: 424.4 kB / 499.7 MB, free: 1.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.105, allocations: 295.4 kB / 0.4883 GB, free: 1.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1051, allocations: 353.9 kB / 0.4886 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.1056, allocations: 479.7 kB / 0.4891 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.1064, allocations: 0.9801 MB / 0.4901 GB, free: 15.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.1081, allocations: 1.585 MB / 0.4916 GB, free: 13.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.1081, allocations: 4 kB / 0.4916 GB, free: 13.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002982/0.1111, allocations: 1.987 MB / 0.4935 GB, free: 11.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1111, allocations: 14.66 kB / 0.4936 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1111, allocations: 16 kB / 0.4936 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.1124, allocations: 442.5 kB / 0.494 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.113, allocations: 375.4 kB / 0.4944 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.1163, allocations: 3.644 MB / 0.4979 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.1168, allocations: 51.98 kB / 0.498 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.1169, allocations: 91.97 kB / 0.498 GB, free: 6.684 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.0007649/0.1177, allocations: 317.2 kB / 0.4984 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.1178, allocations: 111.3 kB / 0.4985 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.1208, allocations: 1.803 MB / 0.5002 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1208, allocations: 12 kB / 0.5002 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1208, allocations: 0 / 0.5002 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1208, allocations: 7.969 kB / 0.5002 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.122, allocations: 1.132 MB / 0.5013 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.122, allocations: 4 kB / 0.5013 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.1225, allocations: 235.8 kB / 0.5016 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.1237, allocations: 418.1 kB / 0.502 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.1237, allocations: 47.91 kB / 0.502 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/0.1268, allocations: 3.53 MB / 0.5055 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1268, allocations: 12.09 kB / 0.5055 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.1301, allocations: 2.333 MB / 0.5078 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.1305, allocations: 219.2 kB / 0.508 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.1305, allocations: 24 kB / 0.508 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.1309, allocations: 24 kB / 0.508 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.131, allocations: 124.8 kB / 0.5081 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/0.1311, allocations: 47.92 kB / 0.5082 GB, free: 11.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000418/0.1315, allocations: 483 kB / 0.5086 GB, free: 11.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1315, allocations: 0 / 0.5086 GB, free: 11.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001769/0.1333, allocations: 0.8415 MB / 0.5095 GB, free: 10.63 MB / 426.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.005397/0.1387, allocations: 3.765 MB / 0.5131 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.1408, allocations: 1.523 MB / 0.5146 GB, free: 5.262 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1408, allocations: 4 kB / 0.5146 GB, free: 5.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000881/0.1417, allocations: 0.8561 MB / 0.5155 GB, free: 4.379 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.1426, allocations: 237.8 kB / 0.5157 GB, free: 4.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.156, allocations: 10.69 MB / 0.5261 GB, free: 8.828 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1564, allocations: 0.5565 MB / 0.5267 GB, free: 8.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000672/0.1571, allocations: 296.8 kB / 0.527 GB, free: 7.938 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/0.1576, allocations: 0.5705 MB / 0.5275 GB, free: 7.367 MB / 442.7 MB Notification: Performance of SimCode: time 1.482e-06/0.1576, allocations: 4 kB / 0.5275 GB, free: 7.363 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/0.215, allocations: 40.95 MB / 0.5675 GB, free: 14.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.254/9.469, allocations: 4.062 kB / 0.5675 GB, free: 14.65 MB / 490.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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.EnzymeKinetics_res.csv --start-time 0 --stop-time 199000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 79.6 Chemical_Chemical_Obsolete_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Obsolete.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.453987662680447] Failed to read output from testmodel.py, exit status != 0: 9.723760697059333 9.592750481 9.520920913 Calling exit ...