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.005475/0.005475, allocations: 99.66 kB / 15.73 MB, free: 6.477 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.001125/0.001125, allocations: 189.9 kB / 16.67 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.2353/0.2353, allocations: 12.26 MB / 302.8 MB, free: 1.246 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 63.91 kB / 420 MB, free: 3.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3739, allocations: 52.08 MB / 472.1 MB, free: 16.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.01094/0.3849, allocations: 5.803 MB / 477.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005234/0.3855, allocations: 459 kB / 478.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.3857, allocations: 25.53 kB / 478.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3858, allocations: 79.44 kB / 478.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.3862, allocations: 115.3 kB / 478.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3864, allocations: 105.9 kB / 478.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.3869, allocations: 455.9 kB / 479.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.3873, allocations: 244.9 kB / 479.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.3875, allocations: 187.5 kB / 479.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.3878, allocations: 223.1 kB / 479.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.95e-05/0.3879, allocations: 49.72 kB / 479.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.389e-05/0.3879, allocations: 48.16 kB / 479.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.388, allocations: 109.7 kB / 480 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.3882, allocations: 248.5 kB / 480.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.3886, allocations: 0.5276 MB / 480.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3887, allocations: 4 kB / 480.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3887, allocations: 0 / 480.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3887, allocations: 0 / 480.8 MB, free: 10.57 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.0009581/0.3896, allocations: 0.7329 MB / 481.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3897, allocations: 10 kB / 481.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.3898, allocations: 49.25 kB / 481.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3899, allocations: 219.9 kB / 481.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.39, allocations: 48.59 kB / 481.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.3901, allocations: 54.5 kB / 481.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.3909, allocations: 0.5117 MB / 482.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.3909, allocations: 1.125 kB / 482.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.391, allocations: 28.72 kB / 482.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.391, allocations: 14.25 kB / 482.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.3916, allocations: 366.7 kB / 482.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.3941, allocations: 1.586 MB / 484.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.3947, allocations: 285 kB / 484.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.395, allocations: 190.2 kB / 484.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.395, allocations: 7.625 kB / 484.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.395, allocations: 32.62 kB / 484.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.395, allocations: 0 / 484.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.003488/0.3985, allocations: 1.417 MB / 486.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3986, allocations: 64.84 kB / 486.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3988, allocations: 195 kB / 486.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.3988, allocations: 31.08 kB / 486.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.399, allocations: 273.6 kB / 486.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.3991, allocations: 155.6 kB / 487 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.3992, allocations: 100.5 kB / 487.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.3993, allocations: 332.6 kB / 487.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3995, allocations: 129.3 kB / 487.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.3998, allocations: 320.4 kB / 487.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/0.4035, allocations: 1.138 MB / 489 MB, free: 4.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4035, allocations: 1.906 kB / 489 MB, free: 4.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008837/0.4044, allocations: 0.5207 MB / 489.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.4044, allocations: 7.844 kB / 489.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.4045, allocations: 5.969 kB / 489.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.4045, allocations: 16.03 kB / 489.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.405, allocations: 137.7 kB / 489.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.4051, allocations: 11.72 kB / 489.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.4053, allocations: 24.16 kB / 489.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.4053, allocations: 23.69 kB / 489.7 MB, free: 4.395 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.0003011/0.4056, allocations: 204.1 kB / 489.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.4057, allocations: 28.48 kB / 490 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.4058, allocations: 41.84 kB / 490 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4058, allocations: 4.344 kB / 490 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.4058, allocations: 7.938 kB / 490 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4059, allocations: 5.078 kB / 490 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.4072, allocations: 0.8997 MB / 490.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4072, allocations: 1 kB / 490.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.4076, allocations: 85.88 kB / 491 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4077, allocations: 3.219 kB / 491 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.4077, allocations: 16.95 kB / 491 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4077, allocations: 0 / 491 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4077, allocations: 8.016 kB / 491 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/0.4085, allocations: 0.5992 MB / 491.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.4085, allocations: 95.55 kB / 491.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.4086, allocations: 16.34 kB / 491.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.4088, allocations: 5.469 kB / 491.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.4088, allocations: 27.73 kB / 491.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.4089, allocations: 12.06 kB / 491.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.148e-05/0.4089, allocations: 125.6 kB / 491.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4089, allocations: 0 / 491.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.4094, allocations: 103.4 kB / 492 MB, free: 2.812 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.0001178/0.4095, allocations: 106.2 kB / 492.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006106/0.4101, allocations: 407.8 kB / 492.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4101, allocations: 0 / 492.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.4104, allocations: 176.4 kB / 492.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.4108, allocations: 42.8 kB / 492.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.4127, allocations: 1.127 MB / 493.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.4131, allocations: 0.8203 MB / 494.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.4132, allocations: 30.97 kB / 494.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.4133, allocations: 35.42 kB / 494.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4133, allocations: 0 / 494.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Templates: time 0.008241/0.4216, allocations: 3.43 MB / 498.2 MB, free: 13.38 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)