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.001166/0.001166, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.2031/0.2031, allocations: 12.26 MB / 302.6 MB, free: 1.227 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001609, allocations: 63.89 kB / 365.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1586, allocations: 52.07 MB / 417.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.2777/0.4363, allocations: 5.789 MB / 423.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.4377, allocations: 458.1 kB / 424.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.4379, allocations: 24.34 kB / 424.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.4381, allocations: 86.12 kB / 424.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.4384, allocations: 117.2 kB / 424.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.4387, allocations: 95.38 kB / 424.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.4392, allocations: 457.4 kB / 424.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.4396, allocations: 239.1 kB / 425.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.4398, allocations: 188.2 kB / 425.3 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.4401, allocations: 229.4 kB / 425.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.334e-05/0.4402, allocations: 49.25 kB / 425.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.4403, allocations: 48.94 kB / 425.6 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.4404, allocations: 114 kB / 425.7 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.4407, allocations: 243.2 kB / 425.9 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.4411, allocations: 0.5224 MB / 426.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4412, allocations: 0 / 426.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4412, allocations: 0 / 426.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4412, allocations: 0 / 426.4 MB, free: 36.14 MB / 350.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.0009865/0.4422, allocations: 0.7423 MB / 427.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4422, allocations: 9.469 kB / 427.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.579e-05/0.4423, allocations: 49.31 kB / 427.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.4425, allocations: 217.4 kB / 427.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.4426, allocations: 43.16 kB / 427.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4427, allocations: 60.69 kB / 427.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/0.4435, allocations: 0.5164 MB / 428.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.4435, allocations: 192 / 428.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.4436, allocations: 31.81 kB / 428.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.4436, allocations: 13.89 kB / 428.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.4442, allocations: 362.3 kB / 428.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.4466, allocations: 1.597 MB / 430.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.4471, allocations: 281.7 kB / 430.3 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.4473, allocations: 188.6 kB / 430.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4473, allocations: 3.188 kB / 430.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.4474, allocations: 35.41 kB / 430.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.734e-06/0.4474, allocations: 0 / 430.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.003193/0.4506, allocations: 1.418 MB / 432 MB, free: 34.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.4506, allocations: 60.66 kB / 432 MB, free: 34.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.4508, allocations: 194.3 kB / 432.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4508, allocations: 31.33 kB / 432.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.451, allocations: 276.5 kB / 432.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/0.451, allocations: 153.1 kB / 432.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.4512, allocations: 99.55 kB / 432.8 MB, free: 33.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.4513, allocations: 334.5 kB / 433.1 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.4514, allocations: 132.2 kB / 433.2 MB, free: 33.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.4517, allocations: 316.1 kB / 433.5 MB, free: 32.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.4551, allocations: 1.156 MB / 434.7 MB, free: 32.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4551, allocations: 3.188 kB / 434.7 MB, free: 32.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007047/0.4558, allocations: 0.5137 MB / 435.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.4559, allocations: 14.75 kB / 435.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4559, allocations: 6.562 kB / 435.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-05/0.4559, allocations: 13.47 kB / 435.3 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.4564, allocations: 134 kB / 435.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.4564, allocations: 15.8 kB / 435.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.4567, allocations: 23.59 kB / 435.4 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.4567, allocations: 23.69 kB / 435.4 MB, free: 32.18 MB / 350.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.0004251/0.4571, allocations: 203.1 kB / 435.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.4572, allocations: 29.34 kB / 435.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.38e-05/0.4573, allocations: 47.38 kB / 435.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4573, allocations: 3.375 kB / 435.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.4573, allocations: 0.5625 kB / 435.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4573, allocations: 6.703 kB / 435.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.4584, allocations: 0.8977 MB / 436.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4584, allocations: 3.656 kB / 436.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.4588, allocations: 92.02 kB / 436.7 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.4589, allocations: 3.062 kB / 436.7 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.4589, allocations: 14.48 kB / 436.7 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4589, allocations: 1.438 kB / 436.7 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4589, allocations: 3.281 kB / 436.7 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.4596, allocations: 0.5967 MB / 437.3 MB, free: 31.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.4596, allocations: 99.33 kB / 437.4 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.4597, allocations: 11.78 kB / 437.4 MB, free: 30.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.4598, allocations: 7.25 kB / 437.5 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.4599, allocations: 27.02 kB / 437.5 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.4599, allocations: 6.375 kB / 437.5 MB, free: 30.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.46, allocations: 128.2 kB / 437.6 MB, free: 30.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.46, allocations: 0 / 437.6 MB, free: 30.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.4605, allocations: 99.28 kB / 437.7 MB, free: 30.86 MB / 350.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 0.0001558/0.4607, allocations: 118.5 kB / 437.8 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000658/0.4613, allocations: 417.6 kB / 438.2 MB, free: 30.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4614, allocations: 1.5 kB / 438.2 MB, free: 30.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.4616, allocations: 170.6 kB / 438.4 MB, free: 30.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.462, allocations: 49.36 kB / 438.4 MB, free: 30.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.4638, allocations: 1.139 MB / 439.6 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4642, allocations: 0.8118 MB / 440.4 MB, free: 29.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.4643, allocations: 39.56 kB / 440.4 MB, free: 29.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.4644, allocations: 34.33 kB / 440.5 MB, free: 29.13 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4645, allocations: 0 / 440.5 MB, free: 29.13 MB / 350.1 MB Notification: Performance of Templates: time 0.007374/0.4718, allocations: 3.293 MB / 443.8 MB, free: 28.99 MB / 350.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)