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.001491/0.001491, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002294/0.002294, allocations: 214 kB / 23.03 MB, free: 4.922 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.624/1.624, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1377/0.1377, allocations: 23.9 MB / 337.1 MB, free: 10.93 MB / 270.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.002087/0.002087, allocations: 63.91 kB / 471.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 59.88 MB / 0.5193 GB, free: 9.547 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.07008/0.4063, allocations: 26.66 MB / 0.5454 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02531/0.4316, allocations: 17.16 MB / 0.5621 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.4328, allocations: 19.81 kB / 0.5622 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.4343, allocations: 379.1 kB / 0.5625 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005363/0.4397, allocations: 1.665 MB / 0.5642 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007272/0.4469, allocations: 2.534 MB / 0.5666 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003262/0.4502, allocations: 1.977 MB / 0.5686 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.4518, allocations: 0.9392 MB / 0.5695 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.4533, allocations: 1.017 MB / 0.5705 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/0.4556, allocations: 1.133 MB / 0.5716 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006815/0.4563, allocations: 172 kB / 0.5717 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006713/0.463, allocations: 2.11 MB / 0.5738 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008242/0.4638, allocations: 426.8 kB / 0.5742 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.4652, allocations: 0.7393 MB / 0.5749 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00967/0.4748, allocations: 4.23 MB / 0.5791 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4748, allocations: 4 kB / 0.5791 GB, free: 12.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4748, allocations: 0 / 0.5791 GB, free: 12.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.46e-05/0.4749, allocations: 0 / 0.5791 GB, free: 12.61 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.005531/0.4804, allocations: 2.163 MB / 0.5812 GB, free: 10.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4805, allocations: 12.03 kB / 0.5812 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.893e-05/0.4806, allocations: 34.84 kB / 0.5812 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003908/0.4809, allocations: 198.6 kB / 0.5814 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.4828, allocations: 339.3 kB / 0.5817 GB, free: 9.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.4846, allocations: 0.7574 MB / 0.5825 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.4848, allocations: 214 kB / 0.5827 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.4852, allocations: 144.1 kB / 0.5828 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/0.4891, allocations: 1.72 MB / 0.5845 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.4891, allocations: 0 / 0.5845 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.4893, allocations: 56 kB / 0.5845 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.4894, allocations: 32 kB / 0.5846 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/0.4936, allocations: 2.196 MB / 0.5867 GB, free: 4.617 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.01063/0.5042, allocations: 4.588 MB / 0.5912 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005768/0.51, allocations: 2.696 MB / 0.5938 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.5114, allocations: 0.7348 MB / 0.5946 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009562/0.5209, allocations: 3.801 MB / 0.5983 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.521, allocations: 43.56 kB / 0.5983 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007187/0.5217, allocations: 139.1 kB / 0.5984 GB, free: 8.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 5.17e-06/0.5217, allocations: 3.938 kB / 0.5984 GB, free: 8.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01993/0.5416, allocations: 4.279 MB / 0.6026 GB, free: 4.156 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.5417, allocations: 68.39 kB / 0.6027 GB, free: 4.078 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.5428, allocations: 0.7277 MB / 0.6034 GB, free: 3.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.543, allocations: 45.7 kB / 0.6034 GB, free: 3.289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/0.5436, allocations: 0.6638 MB / 0.6041 GB, free: 2.617 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/0.5441, allocations: 424.3 kB / 0.6045 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005901/0.5447, allocations: 303.4 kB / 0.6048 GB, free: 1.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.5449, allocations: 357.9 kB / 0.6051 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/0.5459, allocations: 479.8 kB / 0.6056 GB, free: 1.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.5474, allocations: 0.9801 MB / 0.6065 GB, free: 15.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.5501, allocations: 1.585 MB / 0.6081 GB, free: 14.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/0.5501, allocations: 7.938 kB / 0.6081 GB, free: 14.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006757/0.5569, allocations: 1.979 MB / 0.61 GB, free: 12.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.5569, allocations: 15.94 kB / 0.61 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/0.5569, allocations: 16.84 kB / 0.6101 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/0.56, allocations: 442.1 kB / 0.6105 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.5615, allocations: 371.4 kB / 0.6108 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006538/0.568, allocations: 3.648 MB / 0.6144 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.5693, allocations: 48 kB / 0.6144 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/0.5696, allocations: 87.97 kB / 0.6145 GB, free: 7.199 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.0008581/0.5705, allocations: 325.8 kB / 0.6148 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.5709, allocations: 115.4 kB / 0.6149 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006815/0.5777, allocations: 1.796 MB / 0.6167 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.5777, allocations: 12 kB / 0.6167 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5778, allocations: 4 kB / 0.6167 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.5778, allocations: 7.922 kB / 0.6167 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.5803, allocations: 1.146 MB / 0.6178 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/0.5803, allocations: 4 kB / 0.6178 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.5815, allocations: 231.7 kB / 0.6181 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/0.5844, allocations: 422.2 kB / 0.6185 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/0.5847, allocations: 51.84 kB / 0.6185 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006162/0.5908, allocations: 3.53 MB / 0.622 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5908, allocations: 0 / 0.622 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008154/0.599, allocations: 2.348 MB / 0.6243 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/0.5999, allocations: 215.2 kB / 0.6245 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/0.6003, allocations: 32.06 kB / 0.6245 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000978/0.6013, allocations: 27.98 kB / 0.6245 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/0.6017, allocations: 116.7 kB / 0.6246 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.6018, allocations: 51.97 kB / 0.6247 GB, free: 12.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008931/0.6027, allocations: 483 kB / 0.6251 GB, free: 11.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6027, allocations: 0 / 0.6251 GB, free: 11.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003287/0.606, allocations: 0.8376 MB / 0.626 GB, free: 11.12 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.0105/0.6165, allocations: 3.736 MB / 0.6296 GB, free: 7.336 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00355/0.6201, allocations: 1.52 MB / 0.6311 GB, free: 5.789 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6201, allocations: 256 / 0.6311 GB, free: 5.789 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.6219, allocations: 0.8511 MB / 0.6319 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.6236, allocations: 246.1 kB / 0.6322 GB, free: 4.676 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/0.6497, allocations: 10.78 MB / 0.6427 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/0.6505, allocations: 0.5371 MB / 0.6432 GB, free: 8.691 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00124/0.6517, allocations: 300.8 kB / 0.6435 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009936/0.6527, allocations: 0.5695 MB / 0.6441 GB, free: 7.824 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6527, allocations: 0 / 0.6441 GB, free: 7.824 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09202/0.7447, allocations: 40.94 MB / 0.684 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/17.45, allocations: 11.28 kB / 0.6841 GB, free: 15.16 MB / 0.5294 GB " [Timeout remaining time 642] (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: 20.39031409099698] Failed to read output from testmodel.py, exit status != 0: 17.655099755036645 17.679721215 17.200528491 Calling exit ...