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.00127/0.00127, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001363/0.001363, allocations: 219.5 kB / 22.25 MB, free: 5.258 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.816 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.1333/0.1333, allocations: 23.92 MB / 336.4 MB, free: 10.93 MB / 270.1 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: 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.001934/0.001934, allocations: 68.12 kB / 471.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3208, allocations: 59.88 MB / 0.5186 GB, free: 9.605 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.07055/0.3914, allocations: 26.94 MB / 0.5449 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02372/0.4151, allocations: 17.18 MB / 0.5617 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.4165, allocations: 19.81 kB / 0.5617 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.4178, allocations: 382.6 kB / 0.5621 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.4234, allocations: 1.665 MB / 0.5637 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007047/0.4305, allocations: 2.534 MB / 0.5662 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003336/0.4338, allocations: 1.974 MB / 0.5681 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.4351, allocations: 0.9353 MB / 0.569 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.4363, allocations: 1.017 MB / 0.57 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.438, allocations: 1.133 MB / 0.5711 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.4382, allocations: 176 kB / 0.5713 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005799/0.444, allocations: 2.102 MB / 0.5733 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005149/0.4445, allocations: 434.7 kB / 0.5737 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009457/0.4455, allocations: 0.7354 MB / 0.5745 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008902/0.4544, allocations: 4.237 MB / 0.5786 GB, free: 12.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4544, allocations: 4 kB / 0.5786 GB, free: 12.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4544, allocations: 0 / 0.5786 GB, free: 12.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.4544, allocations: 0 / 0.5786 GB, free: 12.3 MB / 430.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.004399/0.4588, allocations: 2.155 MB / 0.5807 GB, free: 10.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4589, allocations: 8.031 kB / 0.5807 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/0.4591, allocations: 194.6 kB / 0.5809 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.4606, allocations: 335.5 kB / 0.5812 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.4621, allocations: 0.773 MB / 0.582 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.4623, allocations: 210 kB / 0.5822 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.4626, allocations: 140.3 kB / 0.5823 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.4655, allocations: 1.728 MB / 0.584 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.4655, allocations: 0 / 0.584 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.4657, allocations: 52 kB / 0.584 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.4657, allocations: 32 kB / 0.5841 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/0.4692, allocations: 2.173 MB / 0.5862 GB, free: 4.375 MB / 430.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.009277/0.4784, allocations: 4.588 MB / 0.5907 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005042/0.4835, allocations: 2.704 MB / 0.5933 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.4847, allocations: 0.7309 MB / 0.594 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008826/0.4936, allocations: 3.793 MB / 0.5977 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.4936, allocations: 51.5 kB / 0.5978 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000687/0.4943, allocations: 143.1 kB / 0.5979 GB, free: 8.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.176e-06/0.4943, allocations: 0 / 0.5979 GB, free: 8.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01899/0.5133, allocations: 4.283 MB / 0.6021 GB, free: 3.906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.5133, allocations: 68.41 kB / 0.6022 GB, free: 3.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.5143, allocations: 0.7508 MB / 0.6029 GB, free: 3.066 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.597e-05/0.5144, allocations: 45.7 kB / 0.603 GB, free: 3.016 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.5148, allocations: 0.6599 MB / 0.6036 GB, free: 2.348 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/0.5152, allocations: 436.3 kB / 0.604 GB, free: 1.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.5156, allocations: 295.5 kB / 0.6043 GB, free: 1.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5158, allocations: 357.9 kB / 0.6046 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008355/0.5166, allocations: 479.8 kB / 0.6051 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.5179, allocations: 0.9762 MB / 0.606 GB, free: 15.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.5201, allocations: 1.585 MB / 0.6076 GB, free: 13.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.5201, allocations: 4 kB / 0.6076 GB, free: 13.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005974/0.5261, allocations: 1.987 MB / 0.6095 GB, free: 11.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.5261, allocations: 12 kB / 0.6095 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.5262, allocations: 20 kB / 0.6096 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002933/0.5291, allocations: 442.1 kB / 0.61 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.5304, allocations: 375.4 kB / 0.6103 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/0.5365, allocations: 3.643 MB / 0.6139 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.5378, allocations: 51.98 kB / 0.614 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.5379, allocations: 95.91 kB / 0.614 GB, free: 6.918 MB / 462.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.0006021/0.5385, allocations: 321.3 kB / 0.6144 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.5388, allocations: 111.2 kB / 0.6145 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00601/0.5448, allocations: 1.799 MB / 0.6162 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5448, allocations: 12 kB / 0.6162 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5448, allocations: 4 kB / 0.6162 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.5448, allocations: 7.969 kB / 0.6162 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.5467, allocations: 1.139 MB / 0.6174 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.5467, allocations: 3.938 kB / 0.6174 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/0.5477, allocations: 231.7 kB / 0.6176 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/0.5505, allocations: 422.2 kB / 0.618 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.5506, allocations: 43.97 kB / 0.618 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005434/0.556, allocations: 3.53 MB / 0.6215 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.556, allocations: 7.875 kB / 0.6215 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006559/0.5626, allocations: 2.341 MB / 0.6238 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006052/0.5632, allocations: 227.1 kB / 0.624 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.5634, allocations: 35.88 kB / 0.624 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/0.564, allocations: 28 kB / 0.624 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.5643, allocations: 104.8 kB / 0.6241 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.5644, allocations: 56.09 kB / 0.6242 GB, free: 12.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006032/0.565, allocations: 479 kB / 0.6246 GB, free: 11.69 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.565, allocations: 0 / 0.6246 GB, free: 11.69 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00228/0.5673, allocations: 0.8376 MB / 0.6255 GB, free: 10.85 MB / 478.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.008676/0.5759, allocations: 3.741 MB / 0.6291 GB, free: 7.062 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.5789, allocations: 1.52 MB / 0.6306 GB, free: 5.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5789, allocations: 0 / 0.6306 GB, free: 5.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.5803, allocations: 0.8511 MB / 0.6314 GB, free: 4.637 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.5816, allocations: 238.3 kB / 0.6317 GB, free: 4.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/0.6032, allocations: 10.78 MB / 0.6422 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.6038, allocations: 0.5333 MB / 0.6427 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009886/0.6048, allocations: 308.7 kB / 0.643 GB, free: 8.125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008692/0.6056, allocations: 0.5773 MB / 0.6436 GB, free: 7.547 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6057, allocations: 0 / 0.6436 GB, free: 7.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08625/0.6919, allocations: 41.24 MB / 0.6838 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.33, allocations: 4 kB / 0.6838 GB, free: 14.59 MB / 0.5294 GB " [Timeout remaining time 646] (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: 16.902625569986412] Failed to read output from testmodel.py, exit status != 0: 14.47210592101328 14.495245862 14.036369078 Calling exit ...