Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BioChem_BioChem.Examples.centralMetabolism.extra_cellular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003593/0.0003593, allocations: 0 / 0, free: 0 / 0 " [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.0003002/0.0003002, allocations: 0 / 0, free: 0 / 0 " [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 0.1614/0.1614, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.3/package.mo): time 0.06339/0.06339, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package BioChem with version 1.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.3/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: simulate(BioChem.Examples.centralMetabolism.extra_cellular,startTime=0,stopTime=0.5,tolerance=1e-05,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.centralMetabolism.extra_cellular",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(BioChem.Examples.centralMetabolism.extra_cellular,startTime=0,stopTime=0.5,tolerance=1e-05,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.centralMetabolism.extra_cellular",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.9e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(BioChem.Examples.centralMetabolism.extra_cellular): time 0.005655/0.005674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002015/0.007689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.007901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.008202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.008677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.009084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000681/0.009766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.01018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0005582/0.01074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.01106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.01116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.01124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.01141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.01169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.000731/0.01242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.155e-05/0.01251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.693e-06/0.01251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.251e-06/0.01252, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.00128/0.0138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.01385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.01399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.0143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.888e-05/0.01436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/0.01444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007877/0.01523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.01525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.01531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.01533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.01572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.01831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.0188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.01896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.01898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=96): time 3.747e-06/0.019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=114): time 0.003262/0.02226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.02229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.02244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.0225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.02263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.02277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.02293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.444e-05/0.02296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.02311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.02332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.02395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.02396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=165) (initialization): time 0.0007049/0.02466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.02467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.02491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.02546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.02663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.02687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.02691, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 15 variables: V:VARIABLE(start = 2.0 unit = \"l\" fixed = true stateSelect=StateSelect.prefer ) \"Compartment volume\" type: Real cytosol.V:VARIABLE(start = 2.0 unit = \"l\" fixed = true stateSelect=StateSelect.prefer ) \"Compartment volume\" type: Real cytosol.GLY.c:VARIABLE(min = 0.0 start = 1.0 unit = \"mol/l\" fixed = true stateSelect=StateSelect.prefer ) \"Current concentration of substance (mM)\" type: Real cytosol.mitochondria.V:VARIABLE(start = 2.0 unit = \"l\" fixed = true stateSelect=StateSelect.prefer ) \"Compartment volume\" type: Real LACext.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.mitochondria.NADm.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.mitochondria.NADHm.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.CP.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.LAC.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.AMP.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.IMP.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.ADP.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.PYR.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.FDP.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real cytosol.NADH.n:VARIABLE(min = 0.0 unit = \"mol\" fixed = true stateSelect=StateSelect.prefer ) \"Number of moles of substance in pool (mol)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (157): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.02723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.0273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.02741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.02741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.02742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.02743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.02896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.02897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.02945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/0.02968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.02973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.03077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.03077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.03164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.03171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.03182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.03199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.03216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.03219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 8.284e-05/0.03227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.141e-06/0.03228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005891/0.03287, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 17 (V,cytosol.V,cytosol.NADH.n,cytosol.FDP.n,cytosol.PYR.n,cytosol.ADP.n,cytosol.IMP.n,cytosol.AMP.n,cytosol.LAC.n,cytosol.CP.n,cytosol.GLY.c,cytosol.G6P.c,cytosol.mitochondria.V,cytosol.mitochondria.NADHm.n,cytosol.mitochondria.NADm.n,cytosol.DHAP.c,LACext.n) * 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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002431/0.03311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0007174/0.03383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.03384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.03427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.03472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.0366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.03675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002819/0.03703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.03733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.426e-05/0.03735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002757/0.04011, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7971102297306061]