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.001354/0.001354, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001507/0.001507, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.1431/0.1431, allocations: 23.89 MB / 333.4 MB, free: 1.18 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_EnzymeKinetics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 68.91 kB / 466.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.104, allocations: 59.83 MB / 0.5142 GB, free: 12.93 MB / 382.1 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.04382/0.1479, allocations: 27.45 MB / 0.541 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02604/0.1739, allocations: 19.56 MB / 0.5601 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009757/0.1749, allocations: 23.81 kB / 0.5602 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.1762, allocations: 420.9 kB / 0.5606 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004741/0.1809, allocations: 1.649 MB / 0.5622 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006877/0.1878, allocations: 2.517 MB / 0.5646 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.191, allocations: 1.977 MB / 0.5666 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.1925, allocations: 0.9467 MB / 0.5675 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.194, allocations: 1.017 MB / 0.5685 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.1961, allocations: 1.141 MB / 0.5696 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004734/0.1965, allocations: 172 kB / 0.5697 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00703/0.2036, allocations: 2.18 MB / 0.5719 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007965/0.2044, allocations: 434.7 kB / 0.5723 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.2059, allocations: 0.8635 MB / 0.5731 GB, free: 496 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.2162, allocations: 4.249 MB / 0.5773 GB, free: 12.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.2162, allocations: 0 / 0.5773 GB, free: 12.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2162, allocations: 4 kB / 0.5773 GB, free: 12.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.491e-05/0.2163, allocations: 0 / 0.5773 GB, free: 12.21 MB / 446.1 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.006085/0.2224, allocations: 2.23 MB / 0.5795 GB, free: 9.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.2225, allocations: 12.03 kB / 0.5795 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.856e-05/0.2225, allocations: 38.84 kB / 0.5795 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005692/0.2231, allocations: 198.6 kB / 0.5797 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.225, allocations: 339.3 kB / 0.58 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.2269, allocations: 0.823 MB / 0.5808 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.2271, allocations: 158.6 kB / 0.581 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004568/0.2276, allocations: 144.1 kB / 0.5811 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/0.2318, allocations: 1.724 MB / 0.5828 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.2318, allocations: 0 / 0.5828 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002502/0.2321, allocations: 52 kB / 0.5829 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.2321, allocations: 36 kB / 0.5829 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/0.2366, allocations: 2.196 MB / 0.585 GB, free: 4.109 MB / 446.1 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.2309/0.4676, allocations: 5.539 MB / 0.5904 GB, free: 62.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006049/0.4736, allocations: 3.138 MB / 0.5935 GB, free: 61.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.4752, allocations: 0.7355 MB / 0.5942 GB, free: 61.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.4856, allocations: 7.057 MB / 0.6011 GB, free: 55.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4856, allocations: 43.92 kB / 0.6012 GB, free: 55.92 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007696/0.4864, allocations: 155.5 kB / 0.6013 GB, free: 55.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 5.33e-06/0.4864, allocations: 0 / 0.6013 GB, free: 55.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01949/0.5059, allocations: 4.501 MB / 0.6057 GB, free: 54.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.5059, allocations: 68.75 kB / 0.6058 GB, free: 53.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.5072, allocations: 0.7296 MB / 0.6065 GB, free: 53.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002427/0.5075, allocations: 45.86 kB / 0.6065 GB, free: 53.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.5079, allocations: 0.6597 MB / 0.6072 GB, free: 53.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005198/0.5085, allocations: 432.9 kB / 0.6076 GB, free: 52.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000652/0.5091, allocations: 301.4 kB / 0.6079 GB, free: 52.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5092, allocations: 357.8 kB / 0.6082 GB, free: 52.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.5104, allocations: 478.3 kB / 0.6087 GB, free: 52.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.5116, allocations: 0.981 MB / 0.6096 GB, free: 51.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/0.5139, allocations: 1.585 MB / 0.6112 GB, free: 50.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.514, allocations: 4.812 kB / 0.6112 GB, free: 50.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005987/0.52, allocations: 1.98 MB / 0.6131 GB, free: 49.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.52, allocations: 14.44 kB / 0.6131 GB, free: 49.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.52, allocations: 19.69 kB / 0.6131 GB, free: 49.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.5226, allocations: 440.8 kB / 0.6136 GB, free: 49.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.5239, allocations: 378.4 kB / 0.6139 GB, free: 49.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004943/0.5288, allocations: 3.87 MB / 0.6177 GB, free: 45.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.5301, allocations: 53.12 kB / 0.6178 GB, free: 45.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.5304, allocations: 87.7 kB / 0.6178 GB, free: 45.95 MB / 446.1 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.0006373/0.531, allocations: 314.7 kB / 0.6181 GB, free: 45.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.5313, allocations: 115.8 kB / 0.6182 GB, free: 45.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/0.537, allocations: 1.799 MB / 0.62 GB, free: 44.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.537, allocations: 16.23 kB / 0.62 GB, free: 44.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.537, allocations: 0 / 0.62 GB, free: 44.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.433e-05/0.5371, allocations: 7.969 kB / 0.62 GB, free: 44.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.5393, allocations: 1.357 MB / 0.6214 GB, free: 43.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.5393, allocations: 2.625 kB / 0.6214 GB, free: 43.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009669/0.5403, allocations: 228.3 kB / 0.6216 GB, free: 43.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/0.5429, allocations: 419 kB / 0.622 GB, free: 43.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.5431, allocations: 43.78 kB / 0.622 GB, free: 43.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004432/0.5475, allocations: 3.783 MB / 0.6257 GB, free: 39.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5475, allocations: 3.969 kB / 0.6257 GB, free: 39.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006152/0.5537, allocations: 2.334 MB / 0.628 GB, free: 38.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007254/0.5544, allocations: 297.4 kB / 0.6283 GB, free: 38.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.5547, allocations: 30 kB / 0.6283 GB, free: 38.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/0.5556, allocations: 27.2 kB / 0.6283 GB, free: 38.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/0.5559, allocations: 103.5 kB / 0.6284 GB, free: 38.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.5561, allocations: 54.84 kB / 0.6285 GB, free: 38.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007166/0.5568, allocations: 484.1 kB / 0.6289 GB, free: 37.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5568, allocations: 0 / 0.6289 GB, free: 37.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002971/0.5598, allocations: 0.8379 MB / 0.6298 GB, free: 37.77 MB / 446.1 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.008106/0.5679, allocations: 3.736 MB / 0.6334 GB, free: 34.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.571, allocations: 1.593 MB / 0.635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.571, allocations: 0 / 0.635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.5725, allocations: 0.9329 MB / 0.6359 GB, free: 31.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.5742, allocations: 239.8 kB / 0.6361 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/0.5952, allocations: 10.78 MB / 0.6466 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/0.5959, allocations: 1.13 MB / 0.6477 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00128/0.5972, allocations: 300.5 kB / 0.648 GB, free: 19.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009753/0.5982, allocations: 0.5656 MB / 0.6486 GB, free: 18.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/0.5982, allocations: 3.938 kB / 0.6486 GB, free: 18.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08494/0.6831, allocations: 39.14 MB / 0.6868 GB, free: 12.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/16.59, allocations: 10.56 kB / 0.6868 GB, free: 12.33 MB / 478.1 MB " [Timeout remaining time 643] (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: 19.557063824031502] Failed to read output from testmodel.py, exit status != 0: 16.7689960290445 16.792874284 16.571858291 Calling exit ...