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.001406/0.001406, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001692/0.001693, allocations: 177.3 kB / 15.95 MB, free: 216 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.374/1.374, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1912/0.1912, allocations: 12.24 MB / 303.2 MB, free: 2.086 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003938, allocations: 12 kB / 366.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 53.08 MB / 419.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.2242/0.3485, allocations: 4.959 MB / 424.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3495, allocations: 494.1 kB / 425.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.3497, allocations: 26.22 kB / 425.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.3498, allocations: 67.25 kB / 425.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.3501, allocations: 116.9 kB / 425.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.3503, allocations: 70.27 kB / 425.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.3507, allocations: 311.3 kB / 425.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.351, allocations: 188 kB / 426.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.3512, allocations: 145 kB / 426.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.3514, allocations: 174.1 kB / 426.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.236e-05/0.3515, allocations: 23.19 kB / 426.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.3516, allocations: 22.56 kB / 426.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.3516, allocations: 74.34 kB / 426.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.451e-05/0.3517, allocations: 106.6 kB / 426.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.3521, allocations: 392.6 kB / 427 MB, free: 34.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.3521, allocations: 0 / 427 MB, free: 34.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3521, allocations: 2.719 kB / 427 MB, free: 34.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3521, allocations: 0 / 427 MB, free: 34.8 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.0007462/0.3529, allocations: 0.6313 MB / 427.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3529, allocations: 11.44 kB / 427.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.353, allocations: 52.38 kB / 427.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3531, allocations: 213.2 kB / 427.9 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.3531, allocations: 48.09 kB / 428 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.3532, allocations: 55.28 kB / 428 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.3539, allocations: 0.5081 MB / 428.5 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3539, allocations: 7.438 kB / 428.5 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.354, allocations: 23.22 kB / 428.6 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.354, allocations: 19.88 kB / 428.6 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.3544, allocations: 354.2 kB / 428.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.3565, allocations: 1.576 MB / 430.5 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.3569, allocations: 281 kB / 430.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.357, allocations: 6.875 kB / 430.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.357, allocations: 43.3 kB / 430.8 MB, free: 33.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.357, allocations: 0 / 430.8 MB, free: 33.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.003207/0.3602, allocations: 1.415 MB / 432.2 MB, free: 32.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3603, allocations: 58.84 kB / 432.3 MB, free: 32.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.3604, allocations: 181.8 kB / 432.5 MB, free: 32.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3604, allocations: 38.33 kB / 432.5 MB, free: 32.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.3605, allocations: 274.5 kB / 432.8 MB, free: 32.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.3606, allocations: 154 kB / 432.9 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.3606, allocations: 13.34 kB / 432.9 MB, free: 32.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.3607, allocations: 338.9 kB / 433.3 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3609, allocations: 128.2 kB / 433.4 MB, free: 32.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.3611, allocations: 310.6 kB / 433.7 MB, free: 31.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.3614, allocations: 190.5 kB / 433.9 MB, free: 31.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3614, allocations: 3.188 kB / 433.9 MB, free: 31.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006615/0.3621, allocations: 0.5216 MB / 434.4 MB, free: 31.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3621, allocations: 6.75 kB / 434.4 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3621, allocations: 6.781 kB / 434.4 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3621, allocations: 13.02 kB / 434.4 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.3626, allocations: 136 kB / 434.6 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.3626, allocations: 15.03 kB / 434.6 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3628, allocations: 30.94 kB / 434.6 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.3629, allocations: 24.16 kB / 434.6 MB, free: 31.84 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.0003292/0.3632, allocations: 217.9 kB / 434.9 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.3633, allocations: 21.56 kB / 434.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.536e-05/0.3634, allocations: 42.81 kB / 434.9 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3634, allocations: 10.59 kB / 434.9 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3634, allocations: 0 / 434.9 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.3634, allocations: 4.172 kB / 434.9 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.3647, allocations: 0.9022 MB / 435.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3647, allocations: 3.812 kB / 435.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.3651, allocations: 87.66 kB / 435.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3651, allocations: 3.328 kB / 435.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.3652, allocations: 8.156 kB / 435.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3652, allocations: 3.656 kB / 435.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3652, allocations: 0 / 435.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/0.366, allocations: 0.621 MB / 436.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.3661, allocations: 95.36 kB / 436.7 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.3661, allocations: 7.594 kB / 436.7 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.3663, allocations: 21.27 kB / 436.7 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.3664, allocations: 24.28 kB / 436.7 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.3664, allocations: 14.22 kB / 436.7 MB, free: 31.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.3665, allocations: 129 kB / 436.8 MB, free: 30.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3665, allocations: 0 / 436.8 MB, free: 30.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004485/0.367, allocations: 101.5 kB / 436.9 MB, free: 30.97 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.000116/0.3671, allocations: 104.8 kB / 437 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005439/0.3677, allocations: 399.9 kB / 437.4 MB, free: 30.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3677, allocations: 0.8438 kB / 437.4 MB, free: 30.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.3679, allocations: 173.6 kB / 437.6 MB, free: 30.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3682, allocations: 43.89 kB / 437.7 MB, free: 30.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.3703, allocations: 1.428 MB / 439.1 MB, free: 29.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3706, allocations: 0.8257 MB / 439.9 MB, free: 29.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.3707, allocations: 37.12 kB / 439.9 MB, free: 29.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.3708, allocations: 34.91 kB / 440 MB, free: 29.25 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3708, allocations: 0 / 440 MB, free: 29.25 MB / 350.1 MB Notification: Performance of Templates: time 0.006206/0.377, allocations: 2.964 MB / 442.9 MB, free: 29.1 MB / 350.1 MB make -j1 -f BioChem_BioChem.Examples.CellDivison.cell.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: