Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BioChem_BioChem.Examples.CellDivison.cell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo", uses=false) Using package BioChem with version 1.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-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: translateModel(BioChem.Examples.CellDivison.cell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=-2,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.CellDivison.cell") translateModel(BioChem.Examples.CellDivison.cell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=-2,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.CellDivison.cell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 101.8 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 192.5 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.06362/0.06362, allocations: 12.27 MB / 303.3 MB, free: 3.324 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 67.89 kB / 366.4 MB, free: 4.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2138, allocations: 52.07 MB / 418.5 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.006675/0.2205, allocations: 5.8 MB / 424.3 MB, free: 16.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004646/0.221, allocations: 465.5 kB / 424.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.2212, allocations: 28 kB / 424.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.2213, allocations: 83.94 kB / 424.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.2216, allocations: 113.5 kB / 425 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.2218, allocations: 101.1 kB / 425.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.2221, allocations: 454.7 kB / 425.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.2224, allocations: 237.8 kB / 425.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2225, allocations: 192.2 kB / 425.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.2227, allocations: 227 kB / 426.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.2228, allocations: 48.72 kB / 426.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.2228, allocations: 52 kB / 426.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.2229, allocations: 108.5 kB / 426.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.223, allocations: 238.8 kB / 426.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.2234, allocations: 0.524 MB / 427.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2234, allocations: 0 / 427.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2234, allocations: 1.125 kB / 427.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2234, allocations: 0 / 427.1 MB, free: 13.23 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0008243/0.2242, allocations: 0.7351 MB / 427.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2243, allocations: 14 kB / 427.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.136e-05/0.2244, allocations: 48.38 kB / 427.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2245, allocations: 219.6 kB / 428.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.2245, allocations: 45.69 kB / 428.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.2246, allocations: 56.38 kB / 428.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.2252, allocations: 0.5134 MB / 428.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2252, allocations: 8.094 kB / 428.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.2253, allocations: 32.38 kB / 428.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.2253, allocations: 12.62 kB / 428.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.2257, allocations: 361.1 kB / 429.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.2277, allocations: 1.6 MB / 430.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.2281, allocations: 278.5 kB / 431 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.2283, allocations: 190.4 kB / 431.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.2283, allocations: 7.938 kB / 431.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.2284, allocations: 38.55 kB / 431.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.2284, allocations: 0 / 431.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.002845/0.2312, allocations: 1.413 MB / 432.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.2313, allocations: 55.41 kB / 432.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2314, allocations: 191.8 kB / 432.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.2314, allocations: 33.7 kB / 432.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.2315, allocations: 271.5 kB / 433.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.086e-05/0.2316, allocations: 157.8 kB / 433.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2317, allocations: 98.16 kB / 433.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.2318, allocations: 338.8 kB / 433.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.232, allocations: 133.2 kB / 433.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.2322, allocations: 308.2 kB / 434.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.2355, allocations: 1.156 MB / 435.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2355, allocations: 4 kB / 435.4 MB, free: 4.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005969/0.2361, allocations: 0.5191 MB / 435.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2362, allocations: 8 kB / 435.9 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2362, allocations: 4 kB / 435.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.2362, allocations: 15.94 kB / 435.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.2367, allocations: 135.8 kB / 436.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.2367, allocations: 15.92 kB / 436.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.2369, allocations: 16 kB / 436.1 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.2369, allocations: 32.28 kB / 436.1 MB, free: 3.812 MB / 302.1 MB Warning: Assuming fixed start value for the following 8 variables: V:VARIABLE(start = 1.0 fixed = true stateSelect=StateSelect.prefer ) "Compartment volume" type: Real EmptySet.c:VARIABLE(min = 0.0 start = 0.0 unit = "mol/l" fixed = true stateSelect=StateSelect.prefer ) "Current concentration of substance (mM)" type: Real YP.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real Y.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real pM.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real M.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real CP.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real C2.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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.2372, allocations: 198.5 kB / 436.3 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.2373, allocations: 23.72 kB / 436.3 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.07e-05/0.2374, allocations: 50.92 kB / 436.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2374, allocations: 4 kB / 436.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2374, allocations: 0 / 436.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2374, allocations: 3.938 kB / 436.4 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/0.2384, allocations: 0.9049 MB / 437.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2384, allocations: 0 / 437.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.2388, allocations: 91.88 kB / 437.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2388, allocations: 0 / 437.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.2389, allocations: 8 kB / 437.4 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2389, allocations: 4 kB / 437.4 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2389, allocations: 0 / 437.4 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/0.2395, allocations: 0.6066 MB / 438 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.2395, allocations: 96.83 kB / 438.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.2396, allocations: 7.984 kB / 438.1 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2398, allocations: 12 kB / 438.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.2398, allocations: 19.97 kB / 438.1 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.2398, allocations: 15.98 kB / 438.2 MB, free: 1.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.344e-05/0.2399, allocations: 120.1 kB / 438.3 MB, free: 1.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2399, allocations: 0 / 438.3 MB, free: 1.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.2403, allocations: 108 kB / 438.4 MB, free: 1.445 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (V,EmptySet.c,C2.n,CP.n,M.n,pM.n,Y.n,YP.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.851e-05/0.2404, allocations: 103.7 kB / 438.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.241, allocations: 427.3 kB / 438.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.241, allocations: 0.5 kB / 438.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.2411, allocations: 183.5 kB / 439.1 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.2415, allocations: 44.12 kB / 439.1 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.2433, allocations: 1.167 MB / 440.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.2437, allocations: 0.819 MB / 441.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2438, allocations: 35.44 kB / 441.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2439, allocations: 0 / 441.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of Templates: time 0.006176/0.25, allocations: 4.056 MB / 445.2 MB, free: 10.55 MB / 318.1 MB make -j1 -f BioChem_BioChem.Examples.CellDivison.cell.makefile (rm -f BioChem_BioChem.Examples.CellDivison.cell.pipe ; mkfifo BioChem_BioChem.Examples.CellDivison.cell.pipe ; head -c 1048576 < BioChem_BioChem.Examples.CellDivison.cell.pipe >> ../files/BioChem_BioChem.Examples.CellDivison.cell.sim & ./BioChem_BioChem.Examples.CellDivison.cell -abortSlowSimulation -alarm=480 -lv LOG_STATS > BioChem_BioChem.Examples.CellDivison.cell.pipe 2>&1)