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.01105/0.01105, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.002279/0.002279, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.2356/0.2356, allocations: 12.27 MB / 302.8 MB, free: 1.156 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 63.91 kB / 420.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3569, allocations: 52.07 MB / 472.1 MB, free: 16.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.008666/0.3656, allocations: 5.804 MB / 477.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000879/0.3665, allocations: 455.9 kB / 478.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.3668, allocations: 24.38 kB / 478.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.367, allocations: 87.3 kB / 478.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.3673, allocations: 107.9 kB / 478.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.3676, allocations: 105 kB / 478.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006022/0.3682, allocations: 464 kB / 479.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.3687, allocations: 240.6 kB / 479.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3689, allocations: 187.7 kB / 479.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.3692, allocations: 227.9 kB / 479.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.243e-05/0.3692, allocations: 48.53 kB / 479.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.3693, allocations: 49.59 kB / 479.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.3694, allocations: 109.1 kB / 480 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.3696, allocations: 248.7 kB / 480.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.3701, allocations: 0.5228 MB / 480.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3702, allocations: 1.344 kB / 480.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3702, allocations: 0 / 480.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3702, allocations: 4 kB / 480.8 MB, free: 10.53 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.00104/0.3712, allocations: 0.739 MB / 481.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.3713, allocations: 8.75 kB / 481.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3714, allocations: 49.91 kB / 481.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.3716, allocations: 211.6 kB / 481.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.3717, allocations: 42.19 kB / 481.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.3718, allocations: 62.31 kB / 481.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000947/0.3727, allocations: 0.5181 MB / 482.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.3728, allocations: 1.281 kB / 482.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.3728, allocations: 29.66 kB / 482.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.3729, allocations: 14.38 kB / 482.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.3736, allocations: 361.4 kB / 482.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.376, allocations: 1.591 MB / 484.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.3765, allocations: 289.6 kB / 484.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.3768, allocations: 187.3 kB / 484.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3769, allocations: 7.844 kB / 484.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3769, allocations: 35.91 kB / 484.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.3769, allocations: 0 / 484.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.003542/0.3804, allocations: 1.414 MB / 486.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.3805, allocations: 60.5 kB / 486.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3807, allocations: 191.3 kB / 486.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3807, allocations: 34.92 kB / 486.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3808, allocations: 277.2 kB / 486.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.3809, allocations: 152 kB / 487 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.3811, allocations: 96.53 kB / 487.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.3812, allocations: 340.9 kB / 487.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3813, allocations: 129.6 kB / 487.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.3816, allocations: 315.9 kB / 487.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.385, allocations: 1.142 MB / 489 MB, free: 4.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.385, allocations: 1.594 kB / 489 MB, free: 4.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006903/0.3857, allocations: 0.5131 MB / 489.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3857, allocations: 9.688 kB / 489.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3858, allocations: 6.031 kB / 489.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.3858, allocations: 12.53 kB / 489.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.3863, allocations: 139.3 kB / 489.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.3863, allocations: 12.73 kB / 489.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.3865, allocations: 24.31 kB / 489.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.3865, allocations: 28.03 kB / 489.7 MB, free: 4.359 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.0003554/0.3869, allocations: 206.1 kB / 489.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.387, allocations: 23.38 kB / 490 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.3871, allocations: 50.48 kB / 490 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.3871, allocations: 8.25 kB / 490 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.3871, allocations: 0 / 490 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3871, allocations: 1.188 kB / 490 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.3883, allocations: 0.9034 MB / 490.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3883, allocations: 5.281 kB / 490.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.3887, allocations: 90.22 kB / 491 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3887, allocations: 1.125 kB / 491 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.3887, allocations: 11.28 kB / 491 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3888, allocations: 2.375 kB / 491 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3888, allocations: 1.094 kB / 491 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.3894, allocations: 0.6034 MB / 491.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.3895, allocations: 99.53 kB / 491.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.3895, allocations: 11.34 kB / 491.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.3897, allocations: 5.719 kB / 491.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3898, allocations: 26.03 kB / 491.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3898, allocations: 11.08 kB / 491.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.196e-05/0.3898, allocations: 123.8 kB / 491.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3899, allocations: 7.844 kB / 491.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004086/0.3903, allocations: 96.09 kB / 492 MB, free: 2.777 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 9.88e-05/0.3904, allocations: 105.4 kB / 492.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005315/0.3909, allocations: 404.9 kB / 492.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3909, allocations: 5.281 kB / 492.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.3911, allocations: 176.4 kB / 492.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3915, allocations: 52.89 kB / 492.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.3932, allocations: 1.119 MB / 493.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3935, allocations: 0.8097 MB / 494.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.3937, allocations: 46.77 kB / 494.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3938, allocations: 31.7 kB / 494.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3938, allocations: 1.25 kB / 494.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of Templates: time 0.00687/0.4007, allocations: 3.363 MB / 498.1 MB, free: 13.46 MB / 366.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)