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.001314/0.001314, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001406/0.001406, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.1405/0.1405, allocations: 23.85 MB / 333.4 MB, free: 1.223 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.EnzymeKinetics,fileNamePrefix="Chemical_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.00206/0.00206, allocations: 63.83 kB / 466.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1082, allocations: 59.83 MB / 0.5142 GB, free: 12.98 MB / 382.1 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.04453/0.1527, allocations: 27.45 MB / 0.541 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02718/0.1799, allocations: 19.56 MB / 0.5601 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.1814, allocations: 23.81 kB / 0.5601 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.1831, allocations: 416.8 kB / 0.5605 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005567/0.1887, allocations: 1.66 MB / 0.5621 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007058/0.1957, allocations: 2.501 MB / 0.5646 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.1988, allocations: 1.981 MB / 0.5665 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.2002, allocations: 0.9428 MB / 0.5674 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.2014, allocations: 1.021 MB / 0.5684 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.2032, allocations: 1.141 MB / 0.5695 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.2035, allocations: 176 kB / 0.5697 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006752/0.2102, allocations: 2.184 MB / 0.5718 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008716/0.2111, allocations: 430.7 kB / 0.5722 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.2127, allocations: 0.8635 MB / 0.5731 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.225, allocations: 4.253 MB / 0.5772 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.225, allocations: 0 / 0.5772 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.225, allocations: 0 / 0.5772 GB, free: 12.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.72e-05/0.225, allocations: 0 / 0.5772 GB, free: 12.26 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.004946/0.23, allocations: 2.23 MB / 0.5794 GB, free: 9.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.23, allocations: 8.031 kB / 0.5794 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.829e-05/0.2301, allocations: 38.83 kB / 0.5795 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002656/0.2304, allocations: 198.6 kB / 0.5797 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.2321, allocations: 347.2 kB / 0.58 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.2336, allocations: 0.823 MB / 0.5808 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.2338, allocations: 154.6 kB / 0.5809 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.234, allocations: 152.1 kB / 0.5811 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.2375, allocations: 1.717 MB / 0.5828 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.2375, allocations: 3.938 kB / 0.5828 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.2377, allocations: 52 kB / 0.5828 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.2377, allocations: 32 kB / 0.5828 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.2418, allocations: 2.196 MB / 0.585 GB, free: 4.156 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.2389/0.4806, allocations: 5.542 MB / 0.5904 GB, free: 62.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005953/0.4866, allocations: 3.137 MB / 0.5935 GB, free: 61.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.4881, allocations: 0.7324 MB / 0.5942 GB, free: 61.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009719/0.4978, allocations: 7.063 MB / 0.6011 GB, free: 56.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4978, allocations: 39.48 kB / 0.6011 GB, free: 56.2 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006442/0.4984, allocations: 153 kB / 0.6013 GB, free: 56.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 5.2e-06/0.4985, allocations: 4.469 kB / 0.6013 GB, free: 56.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.0182/0.5166, allocations: 4.502 MB / 0.6057 GB, free: 54.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.5167, allocations: 63.25 kB / 0.6057 GB, free: 54.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.518, allocations: 0.7375 MB / 0.6064 GB, free: 53.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.5181, allocations: 41.89 kB / 0.6065 GB, free: 53.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.5185, allocations: 0.662 MB / 0.6071 GB, free: 53.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.5189, allocations: 429.2 kB / 0.6075 GB, free: 53.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/0.5194, allocations: 300.1 kB / 0.6078 GB, free: 53.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.5195, allocations: 355.3 kB / 0.6082 GB, free: 52.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/0.5204, allocations: 483.2 kB / 0.6086 GB, free: 52.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.5215, allocations: 0.9828 MB / 0.6096 GB, free: 51.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.5237, allocations: 1.586 MB / 0.6111 GB, free: 50.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/0.5237, allocations: 4.062 kB / 0.6111 GB, free: 50.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005836/0.5295, allocations: 1.983 MB / 0.6131 GB, free: 49.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.5296, allocations: 14.38 kB / 0.6131 GB, free: 49.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.5296, allocations: 15.78 kB / 0.6131 GB, free: 49.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.5321, allocations: 437.7 kB / 0.6135 GB, free: 49.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.5333, allocations: 371 kB / 0.6139 GB, free: 49.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00488/0.5382, allocations: 3.875 MB / 0.6177 GB, free: 46.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.5395, allocations: 58.05 kB / 0.6177 GB, free: 46.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/0.5398, allocations: 86.66 kB / 0.6178 GB, free: 46.22 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.0006184/0.5404, allocations: 322.6 kB / 0.6181 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.5407, allocations: 119.1 kB / 0.6182 GB, free: 45.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005423/0.5461, allocations: 1.794 MB / 0.62 GB, free: 45.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.5461, allocations: 11.88 kB / 0.62 GB, free: 45.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.5461, allocations: 0 / 0.62 GB, free: 45.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.5462, allocations: 10.64 kB / 0.62 GB, free: 45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.5482, allocations: 1.349 MB / 0.6213 GB, free: 44.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.5482, allocations: 3.875 kB / 0.6213 GB, free: 44.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/0.5491, allocations: 231.7 kB / 0.6215 GB, free: 43.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/0.5515, allocations: 418 kB / 0.6219 GB, free: 43.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.5517, allocations: 47.72 kB / 0.622 GB, free: 43.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/0.5558, allocations: 3.783 MB / 0.6257 GB, free: 40.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5558, allocations: 6.594 kB / 0.6257 GB, free: 40.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/0.5616, allocations: 2.332 MB / 0.628 GB, free: 38.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/0.5624, allocations: 301.6 kB / 0.6282 GB, free: 38.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.5627, allocations: 27.41 kB / 0.6283 GB, free: 38.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.5635, allocations: 23.62 kB / 0.6283 GB, free: 38.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/0.5638, allocations: 106.6 kB / 0.6284 GB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.5639, allocations: 55.88 kB / 0.6284 GB, free: 38.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005741/0.5644, allocations: 478 kB / 0.6289 GB, free: 38.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5644, allocations: 0 / 0.6289 GB, free: 38.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002551/0.567, allocations: 0.8393 MB / 0.6297 GB, free: 38.05 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.007744/0.5747, allocations: 3.741 MB / 0.6334 GB, free: 34.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.5774, allocations: 1.59 MB / 0.6349 GB, free: 33.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5774, allocations: 0 / 0.6349 GB, free: 33.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.5788, allocations: 0.929 MB / 0.6358 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.5803, allocations: 239.4 kB / 0.6361 GB, free: 31.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/0.6001, allocations: 10.79 MB / 0.6466 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.6009, allocations: 1.125 MB / 0.6477 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001252/0.6021, allocations: 304.8 kB / 0.648 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008078/0.6029, allocations: 0.5713 MB / 0.6485 GB, free: 18.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.703e-06/0.6029, allocations: 0 / 0.6485 GB, free: 18.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07605/0.679, allocations: 39.12 MB / 0.6867 GB, free: 12.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/15.86, allocations: 15.92 kB / 0.6868 GB, free: 12.39 MB / 478.1 MB " [Timeout remaining time 644] (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: 18.844436526997015] Failed to read output from testmodel.py, exit status != 0: 16.04687192599522 16.073763635 15.843154965 Calling exit ...