Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.EnzymeKinetics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 105.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08915/0.08915, allocations: 15.54 MB / 318.2 MB, free: 13.55 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 444.9 MB, free: 120 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.288, allocations: 56.55 MB / 0.4897 GB, free: 20.65 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.EnzymeKinetics): time 0.03551/0.3235, allocations: 27.41 MB / 0.5165 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02585/0.3493, allocations: 19.5 MB / 0.5355 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.3507, allocations: 19.88 kB / 0.5355 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.3521, allocations: 428.9 kB / 0.536 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005966/0.3581, allocations: 1.652 MB / 0.5376 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007817/0.3659, allocations: 2.501 MB / 0.54 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003719/0.3696, allocations: 1.977 MB / 0.5419 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.3713, allocations: 0.9428 MB / 0.5429 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.3729, allocations: 1.002 MB / 0.5438 GB, free: 420 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.3753, allocations: 1.145 MB / 0.545 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005328/0.3758, allocations: 172 kB / 0.5451 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007479/0.3833, allocations: 2.188 MB / 0.5473 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007053/0.384, allocations: 426.8 kB / 0.5477 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.3852, allocations: 0.8596 MB / 0.5485 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00955/0.3948, allocations: 4.14 MB / 0.5526 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3948, allocations: 0 / 0.5526 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3948, allocations: 7.938 kB / 0.5526 GB, free: 7.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.244e-05/0.3948, allocations: 3.938 kB / 0.5526 GB, free: 7.453 MB / 414.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.005327/0.4002, allocations: 2.23 MB / 0.5547 GB, free: 5.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4002, allocations: 12.03 kB / 0.5548 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003418/0.4006, allocations: 198.6 kB / 0.5549 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.4023, allocations: 343.3 kB / 0.5553 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.4043, allocations: 0.8152 MB / 0.5561 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.4045, allocations: 158.6 kB / 0.5562 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003766/0.4049, allocations: 148.2 kB / 0.5564 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003831/0.4087, allocations: 1.72 MB / 0.558 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.4088, allocations: 0 / 0.558 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.4089, allocations: 56 kB / 0.5581 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.409, allocations: 35.94 kB / 0.5581 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004265/0.4132, allocations: 2.196 MB / 0.5603 GB, free: 15.39 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.01192/0.4252, allocations: 5.547 MB / 0.5657 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006067/0.4312, allocations: 3.147 MB / 0.5688 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.433, allocations: 0.7309 MB / 0.5695 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/0.4451, allocations: 7.03 MB / 0.5763 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.4451, allocations: 43.56 kB / 0.5764 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007467/0.4459, allocations: 143.2 kB / 0.5765 GB, free: 13.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 4.088e-06/0.4459, allocations: 4 kB / 0.5765 GB, free: 13.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01923/0.4651, allocations: 4.518 MB / 0.5809 GB, free: 9.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.4652, allocations: 64.41 kB / 0.581 GB, free: 8.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.4662, allocations: 0.7316 MB / 0.5817 GB, free: 8.199 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.4663, allocations: 45.7 kB / 0.5818 GB, free: 8.148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/0.4668, allocations: 0.6599 MB / 0.5824 GB, free: 7.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/0.4673, allocations: 436.3 kB / 0.5828 GB, free: 7.051 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005169/0.4678, allocations: 295.4 kB / 0.5831 GB, free: 6.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.468, allocations: 353.9 kB / 0.5834 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009645/0.469, allocations: 483.7 kB / 0.5839 GB, free: 5.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.4704, allocations: 0.9801 MB / 0.5849 GB, free: 4.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/0.473, allocations: 1.577 MB / 0.5864 GB, free: 2.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.473, allocations: 11.94 kB / 0.5864 GB, free: 2.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006323/0.4793, allocations: 1.983 MB / 0.5883 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.4794, allocations: 16.06 kB / 0.5884 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/0.4794, allocations: 20 kB / 0.5884 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.4823, allocations: 438.1 kB / 0.5888 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.4838, allocations: 379.4 kB / 0.5892 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006463/0.4902, allocations: 3.868 MB / 0.5929 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.4915, allocations: 56 kB / 0.593 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.4916, allocations: 83.97 kB / 0.5931 GB, free: 11.79 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.0006172/0.4923, allocations: 323 kB / 0.5934 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.4925, allocations: 115.2 kB / 0.5935 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005982/0.4985, allocations: 1.792 MB / 0.5952 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.4985, allocations: 12 kB / 0.5952 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4986, allocations: 4 kB / 0.5952 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.4986, allocations: 11.91 kB / 0.5953 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.5009, allocations: 1.334 MB / 0.5966 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.5009, allocations: 3.938 kB / 0.5966 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.5019, allocations: 231.7 kB / 0.5968 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/0.5047, allocations: 414.2 kB / 0.5972 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/0.505, allocations: 43.97 kB / 0.5972 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006176/0.5111, allocations: 3.78 MB / 0.6009 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.5112, allocations: 11.91 kB / 0.6009 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007071/0.5182, allocations: 2.333 MB / 0.6032 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/0.519, allocations: 296.3 kB / 0.6035 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.5192, allocations: 27.94 kB / 0.6035 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006763/0.5199, allocations: 24 kB / 0.6035 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/0.5202, allocations: 112.8 kB / 0.6036 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.5203, allocations: 47.97 kB / 0.6037 GB, free: 484 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006818/0.5209, allocations: 483 kB / 0.6041 GB, free: 0 / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5209, allocations: 0 / 0.6041 GB, free: 0 / 462.1 MB Notification: Performance of remove unused functions: time 0.2378/0.7588, allocations: 0.8336 MB / 0.605 GB, free: 98.48 MB / 462.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.009698/0.7685, allocations: 3.726 MB / 0.6086 GB, free: 97.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003259/0.7717, allocations: 1.594 MB / 0.6102 GB, free: 96.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.7717, allocations: 2.656 kB / 0.6102 GB, free: 96.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.7735, allocations: 0.9291 MB / 0.6111 GB, free: 96.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.7751, allocations: 237.8 kB / 0.6113 GB, free: 96.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/0.7962, allocations: 10.78 MB / 0.6218 GB, free: 90.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.7967, allocations: 1.129 MB / 0.6229 GB, free: 89.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001018/0.7977, allocations: 297.4 kB / 0.6232 GB, free: 89.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006414/0.7984, allocations: 0.569 MB / 0.6238 GB, free: 89.25 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7984, allocations: 0 / 0.6238 GB, free: 89.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0749/0.8733, allocations: 38.67 MB / 0.6615 GB, free: 56.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.8, allocations: 6.688 kB / 0.6615 GB, free: 56.51 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Chemical_Chemical.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Examples.EnzymeKinetics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_EnzymeKinetics_fmu --startTime=0 --stopTime=199000 --stepSize=79.6 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.449391848873347] Failed to read output from testmodel.py, exit status != 0: 15.913842857349664 15.921327472 15.524189232 Calling exit ...