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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001052/0.001052, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9546/0.9546, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.03991/0.03991, allocations: 9.547 MB / 270.6 MB, free: 3.793 MB / 250.7 MB " [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: translateModel(BioChem.Examples.centralMetabolism.extra_cellular,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.centralMetabolism.extra_cellular") translateModel(BioChem.Examples.centralMetabolism.extra_cellular,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.centralMetabolism.extra_cellular") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 343.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.57e-05, allocations: 2.312 kB / 343.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.centralMetabolism.extra_cellular): time 0.004827/0.004842, allocations: 5.167 MB / 348.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.006953, allocations: 1.278 MB / 349.7 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.007307, allocations: 52 kB / 349.8 MB, free: 1.871 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.007621, allocations: 198.3 kB / 350 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.008057, allocations: 309 kB / 350.3 MB, free: 1.371 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.008485, allocations: 359.5 kB / 350.6 MB, free: 1.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008978/0.009383, allocations: 1.406 MB / 352 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.009848, allocations: 436.8 kB / 352.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009073/0.01076, allocations: 0.8734 MB / 353.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.01122, allocations: 0.4947 MB / 353.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.01137, allocations: 192 kB / 354 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.01152, allocations: 188 kB / 354.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.0117, allocations: 362.8 kB / 354.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.01203, allocations: 0.4911 MB / 355 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007252/0.01275, allocations: 1.051 MB / 356.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01275, allocations: 3.938 kB / 356.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.01276, allocations: 0 / 356.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.01277, allocations: 0 / 356.1 MB, free: 11.52 MB / 330.7 MB 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.001616/0.01438, allocations: 1.593 MB / 357.7 MB, free: 9.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.01442, allocations: 12.03 kB / 357.7 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.01464, allocations: 252 kB / 357.9 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.01507, allocations: 0.4915 MB / 358.4 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.01512, allocations: 107.1 kB / 358.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.01525, allocations: 140.3 kB / 358.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008618/0.01611, allocations: 0.895 MB / 359.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.01614, allocations: 4.188 kB / 359.6 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/0.01621, allocations: 56.38 kB / 359.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.01622, allocations: 36.38 kB / 359.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.01707, allocations: 446.5 kB / 360.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.02072, allocations: 3.614 MB / 363.7 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.02173, allocations: 0.7089 MB / 364.4 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.02204, allocations: 253.4 kB / 364.7 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.02208, allocations: 17 kB / 364.7 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.0221, allocations: 42.39 kB / 364.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.635e-06/0.0221, allocations: 0 / 364.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.004984/0.02709, allocations: 2.51 MB / 367.2 MB, free: 132 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.02713, allocations: 72.34 kB / 367.3 MB, free: 48 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.02747, allocations: 422.3 kB / 367.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.02753, allocations: 41.7 kB / 367.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.02782, allocations: 0.5889 MB / 368.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.02811, allocations: 432.2 kB / 368.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.02843, allocations: 208.5 kB / 369 MB, free: 14.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.02863, allocations: 0.5623 MB / 369.5 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.02898, allocations: 182.5 kB / 369.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.02954, allocations: 0.5533 MB / 370.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.03094, allocations: 1.081 MB / 371.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.03095, allocations: 4 kB / 371.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001632/0.03258, allocations: 0.9684 MB / 372.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.0326, allocations: 12 kB / 372.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.03262, allocations: 11.94 kB / 372.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004487/0.03307, allocations: 135.5 kB / 372.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.03414, allocations: 299.5 kB / 372.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.03664, allocations: 4.135 MB / 376.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.03693, allocations: 35.98 kB / 376.9 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.03698, allocations: 40 kB / 377 MB, free: 5.777 MB / 346.7 MB Warning: Assuming fixed start value for the following 15 variables: V:VARIABLE(start = 2.0 fixed = true stateSelect=StateSelect.prefer ) \"Compartment volume\" type: Real cytosol.V:VARIABLE(start = 2.0 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 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.0003021/0.03728, allocations: 290 kB / 377.3 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.0374, allocations: 107.6 kB / 377.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.03752, allocations: 123.1 kB / 377.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.03752, allocations: 12 kB / 377.5 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.03753, allocations: 7.938 kB / 377.5 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.03753, allocations: 7.969 kB / 377.5 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.03937, allocations: 1.703 MB / 379.2 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.03938, allocations: 0 / 379.2 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.03997, allocations: 215.7 kB / 379.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.04022, allocations: 119.3 kB / 379.5 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.04027, allocations: 27.98 kB / 379.6 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.04196, allocations: 4.151 MB / 383.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.04196, allocations: 7.984 kB / 383.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.04315, allocations: 1.194 MB / 384.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.04319, allocations: 63.55 kB / 385 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.04325, allocations: 28 kB / 385 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.04349, allocations: 19.98 kB / 385 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.04358, allocations: 72.8 kB / 385.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.04363, allocations: 23.98 kB / 385.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.04379, allocations: 251 kB / 385.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04379, allocations: 4 kB / 385.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008311/0.04463, allocations: 272 kB / 385.6 MB, free: 12.8 MB / 362.7 MB 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.0001617/0.04479, allocations: 132 kB / 385.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.04609, allocations: 1.049 MB / 386.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.04609, allocations: 0 / 386.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008024/0.04689, allocations: 0.7291 MB / 387.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.04743, allocations: 123.9 kB / 387.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.05084, allocations: 2.359 MB / 390 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.05103, allocations: 208.5 kB / 390.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.05144, allocations: 85.72 kB / 390.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/0.05197, allocations: 234.1 kB / 390.5 MB, free: 7.738 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.05197, allocations: 0 / 390.5 MB, free: 7.738 MB / 362.7 MB Notification: Performance of Templates: time 0.01413/0.0661, allocations: 11.96 MB / 402.5 MB, free: 11.94 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f BioChem_BioChem.Examples.centralMetabolism.extra_cellular.makefile [Timeout 660] (rm -f BioChem_BioChem.Examples.centralMetabolism.extra_cellular.pipe ; mkfifo BioChem_BioChem.Examples.centralMetabolism.extra_cellular.pipe ; head -c 1048576 < BioChem_BioChem.Examples.centralMetabolism.extra_cellular.pipe >> ../files/BioChem_BioChem.Examples.centralMetabolism.extra_cellular.sim & ./BioChem_BioChem.Examples.centralMetabolism.extra_cellular -abortSlowSimulation -alarm=240 -lv LOG_STATS > BioChem_BioChem.Examples.centralMetabolism.extra_cellular.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.176287902984768]