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.001068/0.001068, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001178/0.001178, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1855/0.1855, allocations: 12.25 MB / 303.3 MB, free: 2.164 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 11.98 kB / 366.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 53.08 MB / 420 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.2619/0.4016, allocations: 5.232 MB / 425.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.4025, allocations: 474 kB / 425.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.4027, allocations: 27.41 kB / 425.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.4028, allocations: 66.5 kB / 425.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.4031, allocations: 101.5 kB / 425.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.4033, allocations: 69.48 kB / 426 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.4037, allocations: 424.4 kB / 426.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.404, allocations: 188.9 kB / 426.6 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.4041, allocations: 141.9 kB / 426.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.4043, allocations: 175.4 kB / 426.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.4044, allocations: 23.22 kB / 426.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.095e-05/0.4044, allocations: 23.78 kB / 426.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.4045, allocations: 69.72 kB / 427 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.4046, allocations: 108.8 kB / 427.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.4049, allocations: 390.8 kB / 427.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4049, allocations: 5.656 kB / 427.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4049, allocations: 3.938 kB / 427.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4049, allocations: 0 / 427.5 MB, free: 34.62 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.0007175/0.4056, allocations: 0.6387 MB / 428.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4057, allocations: 9.562 kB / 428.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.4058, allocations: 54.16 kB / 428.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.4059, allocations: 215 kB / 428.4 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.4059, allocations: 45.47 kB / 428.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.406, allocations: 55.78 kB / 428.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.4067, allocations: 0.5125 MB / 429 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.4067, allocations: 3.906 kB / 429 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.4068, allocations: 30.61 kB / 429.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4068, allocations: 12.92 kB / 429.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.4073, allocations: 358.5 kB / 429.4 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.4092, allocations: 1.567 MB / 431 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.4097, allocations: 284.5 kB / 431.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.4099, allocations: 190.2 kB / 431.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.4099, allocations: 5.844 kB / 431.5 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.4099, allocations: 41.17 kB / 431.5 MB, free: 33.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.282e-06/0.4099, allocations: 0 / 431.5 MB, free: 33.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00286/0.4128, allocations: 1.419 MB / 432.9 MB, free: 32.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.4129, allocations: 55.34 kB / 433 MB, free: 32.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.413, allocations: 186.1 kB / 433.1 MB, free: 32.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.413, allocations: 29.08 kB / 433.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.4132, allocations: 279.9 kB / 433.4 MB, free: 32.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.668e-05/0.4133, allocations: 158.2 kB / 433.6 MB, free: 32.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.4133, allocations: 10.75 kB / 433.6 MB, free: 32.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.4134, allocations: 339.2 kB / 433.9 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.4135, allocations: 136.2 kB / 434.1 MB, free: 31.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.4139, allocations: 302.3 kB / 434.4 MB, free: 31.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.4141, allocations: 196.5 kB / 434.6 MB, free: 31.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4141, allocations: 0 / 434.6 MB, free: 31.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006375/0.4148, allocations: 0.524 MB / 435.1 MB, free: 31.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4148, allocations: 6.531 kB / 435.1 MB, free: 31.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4148, allocations: 9.25 kB / 435.1 MB, free: 31.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4149, allocations: 10.03 kB / 435.1 MB, free: 31.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.4153, allocations: 139.3 kB / 435.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.4153, allocations: 14.2 kB / 435.3 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.4156, allocations: 29.36 kB / 435.3 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.4156, allocations: 25.12 kB / 435.3 MB, free: 31.66 MB / 350.1 MB Warning: Assuming fixed start value for the following 8 variables: YP.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real V:VARIABLE(start = 1.0 fixed = true stateSelect=StateSelect.prefer ) "Compartment volume" type: Real EmptySet.c:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = 0.0 unit = "mol/l" fixed = true stateSelect=StateSelect.prefer ) "Current concentration of substance (mM)" 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 CP.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 pM.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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003864/0.416, allocations: 209 kB / 435.5 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.4161, allocations: 27.81 kB / 435.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.4162, allocations: 45.88 kB / 435.6 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4162, allocations: 4.094 kB / 435.6 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.4162, allocations: 0.5 kB / 435.6 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4162, allocations: 0 / 435.6 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.4174, allocations: 0.8978 MB / 436.5 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.4174, allocations: 0.5156 kB / 436.5 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.4178, allocations: 92.64 kB / 436.6 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4178, allocations: 3.938 kB / 436.6 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.4179, allocations: 12.25 kB / 436.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4179, allocations: 7.156 kB / 436.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4179, allocations: 0.9375 kB / 436.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.4186, allocations: 0.5976 MB / 437.2 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.4187, allocations: 99.14 kB / 437.3 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.4187, allocations: 10.22 kB / 437.3 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.4189, allocations: 22.11 kB / 437.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.419, allocations: 24 kB / 437.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.419, allocations: 13.47 kB / 437.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.394e-05/0.4191, allocations: 125.9 kB / 437.5 MB, free: 30.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4191, allocations: 0 / 437.5 MB, free: 30.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.4195, allocations: 99.28 kB / 437.6 MB, free: 30.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001255/0.4197, allocations: 106.3 kB / 437.7 MB, free: 30.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.4202, allocations: 395.3 kB / 438.1 MB, free: 30.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4202, allocations: 4.562 kB / 438.1 MB, free: 30.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.4204, allocations: 171.8 kB / 438.3 MB, free: 30.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.4208, allocations: 50.33 kB / 438.3 MB, free: 30.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.4226, allocations: 1.424 MB / 439.7 MB, free: 29.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.4228, allocations: 0.8143 MB / 440.5 MB, free: 29.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.423, allocations: 40.23 kB / 440.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.4231, allocations: 29.73 kB / 440.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4231, allocations: 0 / 440.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of Templates: time 0.007095/0.4302, allocations: 2.987 MB / 443.6 MB, free: 28.93 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)