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.001905/0.001905, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002336/0.002336, allocations: 219.9 kB / 23.04 MB, free: 5.074 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1749/0.1749, allocations: 23.88 MB / 337.1 MB, free: 11.16 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.00205/0.00205, allocations: 59.89 kB / 472 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3139, allocations: 59.86 MB / 0.5194 GB, free: 9.633 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.04285/0.3568, allocations: 27.5 MB / 0.5462 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02704/0.3838, allocations: 19.61 MB / 0.5654 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.3851, allocations: 23.81 kB / 0.5654 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.3863, allocations: 418.8 kB / 0.5658 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005139/0.3915, allocations: 1.677 MB / 0.5675 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007401/0.3989, allocations: 2.526 MB / 0.5699 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003268/0.4021, allocations: 1.981 MB / 0.5719 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.4035, allocations: 0.9353 MB / 0.5728 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.4048, allocations: 1.021 MB / 0.5738 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.4066, allocations: 1.137 MB / 0.5749 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.4069, allocations: 172 kB / 0.575 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006876/0.4137, allocations: 2.18 MB / 0.5772 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005427/0.4143, allocations: 430.7 kB / 0.5776 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.4154, allocations: 0.8673 MB / 0.5784 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009172/0.4245, allocations: 4.245 MB / 0.5826 GB, free: 9.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.4245, allocations: 4 kB / 0.5826 GB, free: 9.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4245, allocations: 0 / 0.5826 GB, free: 9.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.898e-05/0.4246, allocations: 0 / 0.5826 GB, free: 9.324 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.004721/0.4293, allocations: 2.155 MB / 0.5847 GB, free: 7.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4293, allocations: 15.97 kB / 0.5847 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.225e-05/0.4294, allocations: 34.84 kB / 0.5847 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002686/0.4297, allocations: 202.6 kB / 0.5849 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.4313, allocations: 339.3 kB / 0.5853 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.4328, allocations: 0.7613 MB / 0.586 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.433, allocations: 214 kB / 0.5862 GB, free: 5.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/0.4333, allocations: 140.1 kB / 0.5863 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.4364, allocations: 1.717 MB / 0.588 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.4364, allocations: 3.938 kB / 0.588 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.4365, allocations: 56 kB / 0.5881 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.4366, allocations: 32 kB / 0.5881 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/0.4404, allocations: 2.193 MB / 0.5902 GB, free: 1.332 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.009773/0.4502, allocations: 5.501 MB / 0.5956 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005378/0.4556, allocations: 2.773 MB / 0.5983 GB, free: 8.824 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.457, allocations: 0.7309 MB / 0.599 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009448/0.4664, allocations: 3.996 MB / 0.6029 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.4665, allocations: 51.48 kB / 0.603 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006916/0.4672, allocations: 147.1 kB / 0.6031 GB, free: 3.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.526e-06/0.4672, allocations: 0 / 0.6031 GB, free: 3.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01733/0.4845, allocations: 4.269 MB / 0.6073 GB, free: 15.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.4846, allocations: 68.34 kB / 0.6074 GB, free: 15.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.4856, allocations: 0.7316 MB / 0.6081 GB, free: 14.74 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.4857, allocations: 45.7 kB / 0.6081 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.4862, allocations: 0.6677 MB / 0.6088 GB, free: 14.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.4866, allocations: 424.3 kB / 0.6092 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004716/0.487, allocations: 299.4 kB / 0.6095 GB, free: 13.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4872, allocations: 357.9 kB / 0.6098 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008795/0.4881, allocations: 479.8 kB / 0.6103 GB, free: 12.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.4894, allocations: 0.984 MB / 0.6112 GB, free: 11.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.4919, allocations: 1.577 MB / 0.6128 GB, free: 9.441 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4919, allocations: 7.938 kB / 0.6128 GB, free: 9.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00608/0.498, allocations: 1.983 MB / 0.6147 GB, free: 7.438 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.498, allocations: 12 kB / 0.6147 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.498, allocations: 20.12 kB / 0.6147 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002687/0.5007, allocations: 434.1 kB / 0.6151 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.5021, allocations: 379.4 kB / 0.6155 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006006/0.5081, allocations: 3.675 MB / 0.6191 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5094, allocations: 56 kB / 0.6191 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.5095, allocations: 83.97 kB / 0.6192 GB, free: 2.566 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.0006478/0.5102, allocations: 317.8 kB / 0.6195 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.5105, allocations: 123.2 kB / 0.6197 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005845/0.5163, allocations: 1.788 MB / 0.6214 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.5163, allocations: 19.92 kB / 0.6214 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.5164, allocations: 4 kB / 0.6214 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/0.5164, allocations: 4.031 kB / 0.6214 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.5189, allocations: 1.314 MB / 0.6227 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.5189, allocations: 0 / 0.6227 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009651/0.5198, allocations: 235.6 kB / 0.6229 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/0.5224, allocations: 422.2 kB / 0.6233 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.5226, allocations: 39.98 kB / 0.6234 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00545/0.528, allocations: 3.573 MB / 0.6269 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.528, allocations: 0 / 0.6269 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006592/0.5346, allocations: 2.341 MB / 0.6291 GB, free: 8.043 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/0.5352, allocations: 219.2 kB / 0.6294 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.5354, allocations: 35.94 kB / 0.6294 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.5361, allocations: 24 kB / 0.6294 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/0.5364, allocations: 104.8 kB / 0.6295 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.5365, allocations: 55.97 kB / 0.6296 GB, free: 7.613 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.5372, allocations: 479 kB / 0.63 GB, free: 7.145 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5372, allocations: 0 / 0.63 GB, free: 7.145 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002553/0.5397, allocations: 0.8415 MB / 0.6308 GB, free: 6.301 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.008866/0.5486, allocations: 3.738 MB / 0.6345 GB, free: 2.516 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003173/0.5518, allocations: 1.519 MB / 0.636 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5518, allocations: 0 / 0.636 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.5534, allocations: 0.856 MB / 0.6368 GB, free: 88 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.5547, allocations: 245.3 kB / 0.637 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/0.5768, allocations: 10.79 MB / 0.6476 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.5776, allocations: 1.125 MB / 0.6487 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001096/0.5787, allocations: 296.8 kB / 0.649 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008537/0.5796, allocations: 0.5695 MB / 0.6495 GB, free: 2.414 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5796, allocations: 0 / 0.6495 GB, free: 2.414 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08797/0.6676, allocations: 40.32 MB / 0.6889 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/17.41, allocations: 8.062 kB / 0.6889 GB, free: 10.29 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 sys.exit(0), Time elapsed: 20.42978281690739] Failed to read output from testmodel.py, exit status != 0: 17.60477666708175 17.621867438 17.193704776 Calling exit ...