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.0009127/0.0009128, allocations: 96.14 kB / 16.03 MB, free: 68 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.0009931/0.0009931, allocations: 184.7 kB / 16.92 MB, free: 6.75 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.303/1.303, allocations: 223.3 MB / 241 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1611/0.1611, allocations: 12.25 MB / 304.3 MB, free: 2.07 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002675, allocations: 8 kB / 368.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07647/0.07675, allocations: 53.09 MB / 421.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.1533/0.2301, allocations: 5.435 MB / 426.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.2309, allocations: 470.9 kB / 427.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.2311, allocations: 27 kB / 427.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.2312, allocations: 64.27 kB / 427.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.2315, allocations: 97.39 kB / 427.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2317, allocations: 90.77 kB / 427.5 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.2321, allocations: 434.3 kB / 427.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.2324, allocations: 202.4 kB / 428.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2325, allocations: 150 kB / 428.2 MB, free: 34.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.2327, allocations: 181.5 kB / 428.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.2328, allocations: 25.16 kB / 428.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.2328, allocations: 24.94 kB / 428.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.2329, allocations: 77.55 kB / 428.5 MB, free: 34.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.233, allocations: 231.3 kB / 428.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.2332, allocations: 395.3 kB / 429.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2333, allocations: 0 / 429.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2333, allocations: 0.9375 kB / 429.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.2333, allocations: 0.5625 kB / 429.1 MB, free: 34.66 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.0006828/0.234, allocations: 0.6305 MB / 429.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.234, allocations: 9.5 kB / 429.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.2341, allocations: 53.84 kB / 429.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.335e-05/0.2342, allocations: 220 kB / 430 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.2342, allocations: 44.78 kB / 430.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.2343, allocations: 60.22 kB / 430.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.235, allocations: 0.5154 MB / 430.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.235, allocations: 4.125 kB / 430.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.235, allocations: 27.94 kB / 430.7 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.2351, allocations: 13.5 kB / 430.7 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.2355, allocations: 368.4 kB / 431.1 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.2374, allocations: 1.577 MB / 432.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.2379, allocations: 277.9 kB / 432.9 MB, free: 33.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.2381, allocations: 189.7 kB / 433.1 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2381, allocations: 5.25 kB / 433.1 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.212e-05/0.2381, allocations: 36 kB / 433.1 MB, free: 33.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.2381, allocations: 2 kB / 433.1 MB, free: 33.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.003071/0.2412, allocations: 1.42 MB / 434.6 MB, free: 32.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.2412, allocations: 54.75 kB / 434.6 MB, free: 32.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2414, allocations: 191.2 kB / 434.8 MB, free: 32.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.2414, allocations: 35.61 kB / 434.8 MB, free: 32.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.2415, allocations: 275.2 kB / 435.1 MB, free: 32.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.2415, allocations: 149.8 kB / 435.3 MB, free: 32.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.2416, allocations: 55.92 kB / 435.3 MB, free: 32.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.2416, allocations: 334.5 kB / 435.6 MB, free: 32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2418, allocations: 135.8 kB / 435.8 MB, free: 32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.242, allocations: 309.7 kB / 436.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/0.2461, allocations: 1.202 MB / 437.3 MB, free: 31.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2461, allocations: 0 / 437.3 MB, free: 31.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006351/0.2468, allocations: 0.5208 MB / 437.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2468, allocations: 9.406 kB / 437.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2468, allocations: 6.594 kB / 437.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2468, allocations: 11.28 kB / 437.8 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.2473, allocations: 142.2 kB / 438 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.2473, allocations: 13.88 kB / 438 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.2476, allocations: 34.3 kB / 438 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.2476, allocations: 23.25 kB / 438 MB, free: 31.39 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 = 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 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.0002408/0.2479, allocations: 207.9 kB / 438.2 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.2479, allocations: 24.03 kB / 438.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.885e-05/0.248, allocations: 48.86 kB / 438.3 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.248, allocations: 7.906 kB / 438.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.248, allocations: 1.688 kB / 438.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.248, allocations: 3.469 kB / 438.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.249, allocations: 0.8918 MB / 439.2 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.249, allocations: 0.625 kB / 439.2 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.2495, allocations: 89.31 kB / 439.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2495, allocations: 3.406 kB / 439.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.2495, allocations: 11.22 kB / 439.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2495, allocations: 8.031 kB / 439.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2495, allocations: 3.938 kB / 439.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.2502, allocations: 0.6009 MB / 439.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.2502, allocations: 95.08 kB / 440 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.2502, allocations: 12.61 kB / 440 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.2504, allocations: 20.77 kB / 440 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.2505, allocations: 24.55 kB / 440.1 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2505, allocations: 13 kB / 440.1 MB, free: 30.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.703e-05/0.2506, allocations: 128.2 kB / 440.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2506, allocations: 0 / 440.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.251, allocations: 102.4 kB / 440.3 MB, free: 30.55 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 8.164e-05/0.2511, allocations: 109.1 kB / 440.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.2516, allocations: 404.1 kB / 440.8 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2516, allocations: 3 kB / 440.8 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.2518, allocations: 183.1 kB / 441 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.2522, allocations: 42.38 kB / 441 MB, free: 30.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.2537, allocations: 1.489 MB / 442.5 MB, free: 29.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.2539, allocations: 0.8124 MB / 443.3 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.254, allocations: 42.17 kB / 443.4 MB, free: 28.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.254, allocations: 0 / 443.4 MB, free: 28.53 MB / 350.1 MB Notification: Performance of Templates: time 0.004895/0.2589, allocations: 4.009 MB / 447.4 MB, free: 28.22 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)