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.001376/0.001376, allocations: 103 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.001439/0.001439, allocations: 212.9 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.583/1.583, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.1474/0.1474, allocations: 23.89 MB / 332.7 MB, free: 12.32 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="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.002339/0.002339, allocations: 66.41 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3756, allocations: 59.83 MB / 0.5135 GB, free: 8.82 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.04345/0.4191, allocations: 27.64 MB / 0.5405 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02836/0.4474, allocations: 19.57 MB / 0.5596 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.449, allocations: 27.75 kB / 0.5597 GB, free: 11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.451, allocations: 413.9 kB / 0.5601 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007941/0.4589, allocations: 1.655 MB / 0.5617 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008986/0.4679, allocations: 2.51 MB / 0.5641 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003865/0.4718, allocations: 1.98 MB / 0.5661 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.4736, allocations: 0.9545 MB / 0.567 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.4754, allocations: 1.013 MB / 0.568 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.4781, allocations: 1.145 MB / 0.5691 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007392/0.4788, allocations: 172 kB / 0.5693 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008828/0.4877, allocations: 2.176 MB / 0.5714 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008043/0.4885, allocations: 434.7 kB / 0.5718 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.49, allocations: 0.8634 MB / 0.5726 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.5015, allocations: 4.249 MB / 0.5768 GB, free: 10.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5015, allocations: 0 / 0.5768 GB, free: 10.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5015, allocations: 0 / 0.5768 GB, free: 10.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.09e-05/0.5016, allocations: 0 / 0.5768 GB, free: 10.4 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.005965/0.5076, allocations: 2.23 MB / 0.579 GB, free: 8.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5076, allocations: 12.02 kB / 0.579 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004932/0.5081, allocations: 194.6 kB / 0.5792 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.51, allocations: 351.3 kB / 0.5795 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.5118, allocations: 0.823 MB / 0.5803 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.512, allocations: 162.6 kB / 0.5805 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004835/0.5125, allocations: 140.3 kB / 0.5806 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/0.5167, allocations: 1.72 MB / 0.5823 GB, free: 4.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.5168, allocations: 3.938 kB / 0.5823 GB, free: 4.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.517, allocations: 52 kB / 0.5823 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.517, allocations: 32 kB / 0.5824 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004423/0.5214, allocations: 2.193 MB / 0.5845 GB, free: 2.34 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.01187/0.5333, allocations: 5.551 MB / 0.5899 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006074/0.5394, allocations: 3.139 MB / 0.593 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.5409, allocations: 0.7309 MB / 0.5937 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.5528, allocations: 7.057 MB / 0.6006 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.5528, allocations: 47.5 kB / 0.6006 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007643/0.5536, allocations: 139.1 kB / 0.6008 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 6.743e-06/0.5536, allocations: 7.938 kB / 0.6008 GB, free: 0.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01924/0.5728, allocations: 4.51 MB / 0.6052 GB, free: 11.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.5729, allocations: 68.34 kB / 0.6052 GB, free: 11.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5741, allocations: 0.7238 MB / 0.606 GB, free: 11.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.5743, allocations: 49.7 kB / 0.606 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005589/0.5749, allocations: 0.6522 MB / 0.6066 GB, free: 10.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005581/0.5754, allocations: 444.3 kB / 0.6071 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005926/0.576, allocations: 291.5 kB / 0.6073 GB, free: 9.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.5762, allocations: 353.9 kB / 0.6077 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.5772, allocations: 479.8 kB / 0.6081 GB, free: 8.859 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.5788, allocations: 0.9879 MB / 0.6091 GB, free: 7.648 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.5816, allocations: 1.573 MB / 0.6106 GB, free: 5.848 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.5816, allocations: 4 kB / 0.6106 GB, free: 5.844 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006384/0.588, allocations: 1.983 MB / 0.6126 GB, free: 3.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.588, allocations: 12 kB / 0.6126 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/0.588, allocations: 16.88 kB / 0.6126 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002833/0.5909, allocations: 442.1 kB / 0.613 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.5924, allocations: 383.4 kB / 0.6134 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006368/0.5987, allocations: 3.874 MB / 0.6172 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.6, allocations: 56 kB / 0.6172 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/0.6002, allocations: 91.95 kB / 0.6173 GB, free: 14.7 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.0007323/0.601, allocations: 312.9 kB / 0.6176 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/0.6014, allocations: 119.2 kB / 0.6177 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00699/0.6084, allocations: 1.799 MB / 0.6195 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/0.6084, allocations: 12 kB / 0.6195 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.6084, allocations: 0 / 0.6195 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.233e-05/0.6084, allocations: 11.91 kB / 0.6195 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.6115, allocations: 1.334 MB / 0.6208 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/0.6115, allocations: 3.938 kB / 0.6208 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.6127, allocations: 231.7 kB / 0.621 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/0.6156, allocations: 422.2 kB / 0.6214 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002951/0.6159, allocations: 47.91 kB / 0.6215 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006253/0.6222, allocations: 3.779 MB / 0.6252 GB, free: 6.273 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.6222, allocations: 7.969 kB / 0.6252 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007123/0.6293, allocations: 2.341 MB / 0.6275 GB, free: 3.891 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006874/0.63, allocations: 292.3 kB / 0.6277 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.6302, allocations: 40.05 kB / 0.6278 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.631, allocations: 27.98 kB / 0.6278 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/0.6313, allocations: 104.9 kB / 0.6279 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.6315, allocations: 47.97 kB / 0.628 GB, free: 3.371 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007655/0.6323, allocations: 483 kB / 0.6284 GB, free: 2.898 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6323, allocations: 0 / 0.6284 GB, free: 2.898 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002772/0.635, allocations: 0.8376 MB / 0.6292 GB, free: 2.059 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.009347/0.6444, allocations: 3.736 MB / 0.6329 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003538/0.6479, allocations: 1.591 MB / 0.6344 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6479, allocations: 3.938 kB / 0.6344 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.6498, allocations: 0.9345 MB / 0.6354 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6513, allocations: 246.1 kB / 0.6356 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02569/0.677, allocations: 10.78 MB / 0.6461 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.678, allocations: 1.129 MB / 0.6472 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001333/0.6794, allocations: 292.8 kB / 0.6475 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.6804, allocations: 0.5656 MB / 0.648 GB, free: 14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.653e-06/0.6804, allocations: 0 / 0.648 GB, free: 14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09721/0.7776, allocations: 39.1 MB / 0.6862 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.01, allocations: 14.34 kB / 0.6862 GB, free: 7.047 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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.EnzymeKinetics_res.csv --start-time 0 --stop-time 199000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 79.6 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: 19.04329548100941] Failed to read output from testmodel.py, exit status != 0: 16.129781135125086 16.154983411 15.649911585 Calling exit ...