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.001322/0.001322, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001354/0.001354, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.1344/0.1344, allocations: 23.9 MB / 332.8 MB, free: 12.3 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.001971/0.001971, allocations: 67.91 kB / 466 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 59.83 MB / 0.5135 GB, free: 8.855 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.03907/0.3611, allocations: 27.64 MB / 0.5405 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02592/0.387, allocations: 19.56 MB / 0.5596 GB, free: 11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.3882, allocations: 23.81 kB / 0.5597 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.3894, allocations: 426.4 kB / 0.5601 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004878/0.3943, allocations: 1.648 MB / 0.5617 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007022/0.4013, allocations: 2.514 MB / 0.5641 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003088/0.4044, allocations: 1.979 MB / 0.5661 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.4056, allocations: 0.9506 MB / 0.567 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.4067, allocations: 1.017 MB / 0.568 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.4082, allocations: 1.137 MB / 0.5691 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.4084, allocations: 172 kB / 0.5693 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006935/0.4154, allocations: 2.184 MB / 0.5714 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004653/0.4158, allocations: 430.7 kB / 0.5718 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.4169, allocations: 0.8635 MB / 0.5727 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008414/0.4254, allocations: 4.253 MB / 0.5768 GB, free: 10.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4254, allocations: 4 kB / 0.5768 GB, free: 10.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4254, allocations: 0 / 0.5768 GB, free: 10.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.349e-05/0.4254, allocations: 0 / 0.5768 GB, free: 10.35 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.00537/0.4308, allocations: 2.234 MB / 0.579 GB, free: 8.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4309, allocations: 12.03 kB / 0.579 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.4311, allocations: 202.6 kB / 0.5792 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.4327, allocations: 335.5 kB / 0.5795 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.4341, allocations: 0.8192 MB / 0.5803 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.4342, allocations: 158.6 kB / 0.5805 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.4345, allocations: 144.3 kB / 0.5806 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.4374, allocations: 1.72 MB / 0.5823 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.4374, allocations: 7.984 kB / 0.5823 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.4375, allocations: 52 kB / 0.5823 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.4376, allocations: 32 kB / 0.5824 GB, free: 4.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/0.4411, allocations: 2.196 MB / 0.5845 GB, free: 2.285 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.009171/0.4503, allocations: 5.555 MB / 0.5899 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005319/0.4556, allocations: 3.139 MB / 0.593 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.4568, allocations: 0.7308 MB / 0.5937 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009903/0.4667, allocations: 7.053 MB / 0.6006 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.4668, allocations: 43.56 kB / 0.6006 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005781/0.4673, allocations: 155.1 kB / 0.6008 GB, free: 496 kB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.274e-06/0.4673, allocations: 0 / 0.6008 GB, free: 496 kB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01736/0.4847, allocations: 4.502 MB / 0.6052 GB, free: 11.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.4848, allocations: 68.41 kB / 0.6053 GB, free: 11.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009692/0.4857, allocations: 0.7316 MB / 0.606 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/0.4858, allocations: 45.7 kB / 0.606 GB, free: 11.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/0.4864, allocations: 0.66 MB / 0.6067 GB, free: 10.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/0.4868, allocations: 428.3 kB / 0.6071 GB, free: 9.926 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004527/0.4872, allocations: 299.4 kB / 0.6074 GB, free: 9.625 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4874, allocations: 349.9 kB / 0.6077 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000889/0.4883, allocations: 479.8 kB / 0.6081 GB, free: 8.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.4897, allocations: 0.9879 MB / 0.6091 GB, free: 7.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/0.4921, allocations: 1.57 MB / 0.6106 GB, free: 5.801 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4921, allocations: 12 kB / 0.6107 GB, free: 5.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005818/0.4979, allocations: 1.983 MB / 0.6126 GB, free: 3.789 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.4979, allocations: 19.98 kB / 0.6126 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.4979, allocations: 16 kB / 0.6126 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.5006, allocations: 438.3 kB / 0.613 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.5021, allocations: 371.4 kB / 0.6134 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.5081, allocations: 3.882 MB / 0.6172 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.5092, allocations: 48 kB / 0.6172 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.5094, allocations: 87.97 kB / 0.6173 GB, free: 14.66 MB / 478.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.0005947/0.51, allocations: 325.2 kB / 0.6176 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.5102, allocations: 123.2 kB / 0.6177 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/0.5159, allocations: 1.788 MB / 0.6195 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5159, allocations: 16 kB / 0.6195 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5159, allocations: 48 / 0.6195 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.5159, allocations: 7.969 kB / 0.6195 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.5179, allocations: 1.334 MB / 0.6208 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.518, allocations: 11.88 kB / 0.6208 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009114/0.5189, allocations: 227.8 kB / 0.621 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/0.5214, allocations: 426.1 kB / 0.6215 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.5215, allocations: 43.97 kB / 0.6215 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005432/0.5269, allocations: 3.78 MB / 0.6252 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.527, allocations: 3.938 kB / 0.6252 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006142/0.5331, allocations: 2.348 MB / 0.6275 GB, free: 3.832 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/0.5337, allocations: 288.3 kB / 0.6278 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.5338, allocations: 31.92 kB / 0.6278 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.5344, allocations: 24 kB / 0.6278 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.5347, allocations: 112.8 kB / 0.6279 GB, free: 3.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.5348, allocations: 55.97 kB / 0.628 GB, free: 3.312 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006466/0.5355, allocations: 475 kB / 0.6284 GB, free: 2.848 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5355, allocations: 0 / 0.6284 GB, free: 2.848 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002401/0.5379, allocations: 0.8376 MB / 0.6292 GB, free: 2.008 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.008235/0.5461, allocations: 3.733 MB / 0.6329 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002976/0.5491, allocations: 1.591 MB / 0.6344 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5491, allocations: 4 kB / 0.6344 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.5505, allocations: 0.9264 MB / 0.6354 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.5517, allocations: 247.4 kB / 0.6356 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/0.5729, allocations: 10.79 MB / 0.6461 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008234/0.5737, allocations: 1.121 MB / 0.6472 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001133/0.5748, allocations: 300.8 kB / 0.6475 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008315/0.5757, allocations: 0.5695 MB / 0.6481 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.5757, allocations: 0 / 0.6481 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/0.6859, allocations: 39.1 MB / 0.6862 GB, free: 7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.78, allocations: 2.344 kB / 0.6862 GB, free: 7 MB / 0.5294 GB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 17.454189643030986] Failed to read output from testmodel.py, exit status != 0: 14.890023690881208 14.914884037 14.484879812 Calling exit ...