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.001837/0.001837, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002352/0.002352, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.98 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.1327/0.1327, allocations: 23.88 MB / 336.3 MB, free: 11.17 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.002132/0.002132, allocations: 63.91 kB / 471.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 59.88 MB / 0.5187 GB, free: 9.203 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.03631/0.3424, allocations: 27.67 MB / 0.5457 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0255/0.3679, allocations: 19.61 MB / 0.5648 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.3694, allocations: 23.81 kB / 0.5648 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.3711, allocations: 414.3 kB / 0.5652 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.377, allocations: 1.677 MB / 0.5669 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007904/0.3849, allocations: 2.535 MB / 0.5694 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.3883, allocations: 1.981 MB / 0.5713 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.3897, allocations: 0.9276 MB / 0.5722 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.3912, allocations: 1.017 MB / 0.5732 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.3929, allocations: 1.145 MB / 0.5743 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.3931, allocations: 172 kB / 0.5745 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006575/0.3997, allocations: 2.18 MB / 0.5766 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004802/0.4002, allocations: 434.7 kB / 0.577 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.4012, allocations: 0.8596 MB / 0.5779 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009602/0.4108, allocations: 4.249 MB / 0.582 GB, free: 8.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4108, allocations: 0 / 0.582 GB, free: 8.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4108, allocations: 0 / 0.582 GB, free: 8.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.513e-05/0.4109, allocations: 4 kB / 0.582 GB, free: 8.988 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.004586/0.4155, allocations: 2.159 MB / 0.5841 GB, free: 6.789 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4155, allocations: 12.03 kB / 0.5841 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/0.4158, allocations: 194.6 kB / 0.5843 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.4172, allocations: 343.5 kB / 0.5846 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.4187, allocations: 0.7614 MB / 0.5854 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.4188, allocations: 210 kB / 0.5856 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.4191, allocations: 140.3 kB / 0.5857 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.4219, allocations: 1.728 MB / 0.5874 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.4219, allocations: 0 / 0.5874 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.422, allocations: 52 kB / 0.5875 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.422, allocations: 35.94 kB / 0.5875 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/0.4255, allocations: 2.193 MB / 0.5896 GB, free: 1.031 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.009132/0.4346, allocations: 5.505 MB / 0.595 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/0.4395, allocations: 2.758 MB / 0.5977 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.4407, allocations: 0.7348 MB / 0.5984 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008317/0.449, allocations: 3.996 MB / 0.6023 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.4491, allocations: 43.56 kB / 0.6024 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000602/0.4497, allocations: 151.1 kB / 0.6025 GB, free: 3.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.856e-06/0.4497, allocations: 3.938 kB / 0.6025 GB, free: 3.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01756/0.4672, allocations: 4.283 MB / 0.6067 GB, free: 15.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.4673, allocations: 64.41 kB / 0.6067 GB, free: 15.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.4683, allocations: 0.7316 MB / 0.6075 GB, free: 14.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.4684, allocations: 45.69 kB / 0.6075 GB, free: 14.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.4689, allocations: 0.6599 MB / 0.6082 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/0.4693, allocations: 432.3 kB / 0.6086 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/0.4698, allocations: 299.4 kB / 0.6089 GB, free: 12.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.47, allocations: 349.9 kB / 0.6092 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008927/0.4709, allocations: 483.8 kB / 0.6096 GB, free: 12.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.4722, allocations: 0.9879 MB / 0.6106 GB, free: 10.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.4745, allocations: 1.577 MB / 0.6122 GB, free: 9.137 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.4745, allocations: 4 kB / 0.6122 GB, free: 9.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005759/0.4802, allocations: 1.986 MB / 0.6141 GB, free: 7.133 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.4802, allocations: 12 kB / 0.6141 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.4803, allocations: 16.91 kB / 0.6141 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002737/0.483, allocations: 438 kB / 0.6145 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.4843, allocations: 375.4 kB / 0.6149 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/0.4906, allocations: 3.679 MB / 0.6185 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.4917, allocations: 48 kB / 0.6185 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.4919, allocations: 87.97 kB / 0.6186 GB, free: 2.266 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.0007552/0.4927, allocations: 317.8 kB / 0.6189 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.4931, allocations: 119.2 kB / 0.619 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005941/0.499, allocations: 1.799 MB / 0.6208 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.499, allocations: 12 kB / 0.6208 GB, free: 0 / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.649e-05/0.499, allocations: 4.047 kB / 0.6208 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.4991, allocations: 11.86 kB / 0.6208 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.5013, allocations: 1.302 MB / 0.6221 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.5013, allocations: 3.938 kB / 0.6221 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/0.5022, allocations: 235.7 kB / 0.6223 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/0.5048, allocations: 414.2 kB / 0.6227 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.505, allocations: 51.91 kB / 0.6228 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/0.5104, allocations: 3.557 MB / 0.6262 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.5104, allocations: 12.03 kB / 0.6263 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006391/0.5168, allocations: 2.333 MB / 0.6285 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.5174, allocations: 227.1 kB / 0.6287 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.5176, allocations: 32.06 kB / 0.6288 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006813/0.5183, allocations: 28 kB / 0.6288 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.5185, allocations: 112.7 kB / 0.6289 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.5186, allocations: 51.97 kB / 0.629 GB, free: 7.309 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000672/0.5193, allocations: 479 kB / 0.6294 GB, free: 6.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5193, allocations: 0 / 0.6294 GB, free: 6.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002433/0.5217, allocations: 0.8376 MB / 0.6302 GB, free: 6 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.008432/0.5302, allocations: 3.738 MB / 0.6339 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.5331, allocations: 1.52 MB / 0.6354 GB, free: 0.668 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5331, allocations: 4 kB / 0.6354 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.5346, allocations: 0.8555 MB / 0.6362 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5359, allocations: 238.3 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02196/0.5579, allocations: 10.79 MB / 0.647 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009865/0.5589, allocations: 1.129 MB / 0.6481 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.56, allocations: 300.8 kB / 0.6484 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008801/0.5609, allocations: 0.5656 MB / 0.6489 GB, free: 2.113 MB / 494.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5609, allocations: 3.938 kB / 0.6489 GB, free: 2.109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/0.6803, allocations: 40.3 MB / 0.6883 GB, free: 10 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/15.94, allocations: 4.062 kB / 0.6883 GB, free: 10 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.61877210205421] Failed to read output from testmodel.py, exit status != 0: 16.079805640969425 16.096280324 15.681945259999999 Calling exit ...