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.009286/0.009286, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.002304/0.002304, allocations: 195.3 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.425/2.425, allocations: 222.9 MB / 240.5 MB, free: 4.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.2785/0.2785, allocations: 12.26 MB / 302.9 MB, free: 1.324 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 59.91 kB / 365.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1474, allocations: 52.08 MB / 417.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.01406/0.1615, allocations: 5.929 MB / 423.7 MB, free: 112 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3098/0.4713, allocations: 474.8 kB / 424.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.4719, allocations: 25.5 kB / 424.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.4722, allocations: 61.69 kB / 424.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.4727, allocations: 95.58 kB / 424.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.4731, allocations: 85.53 kB / 424.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005849/0.4737, allocations: 431.9 kB / 424.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.4743, allocations: 208.9 kB / 425.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.4746, allocations: 184.5 kB / 425.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.4749, allocations: 220 kB / 425.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.475, allocations: 39.62 kB / 425.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.4752, allocations: 38.81 kB / 425.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.4753, allocations: 98.78 kB / 425.7 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.4756, allocations: 235.2 kB / 425.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.4761, allocations: 405.8 kB / 426.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.4761, allocations: 1.562 kB / 426.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4762, allocations: 0 / 426.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4762, allocations: 0.625 kB / 426.3 MB, free: 35.96 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.001349/0.4775, allocations: 0.7351 MB / 427 MB, free: 35.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4776, allocations: 13.88 kB / 427 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.4777, allocations: 51.16 kB / 427.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4779, allocations: 216 kB / 427.3 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.478, allocations: 45.41 kB / 427.3 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4781, allocations: 61.08 kB / 427.4 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.4793, allocations: 0.5119 MB / 427.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.4793, allocations: 7.312 kB / 427.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.4794, allocations: 23.75 kB / 428 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.4794, allocations: 16.44 kB / 428 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.4803, allocations: 364.1 kB / 428.3 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.4839, allocations: 1.587 MB / 429.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.4846, allocations: 278.6 kB / 430.2 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.485, allocations: 188.5 kB / 430.4 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.4851, allocations: 6.312 kB / 430.4 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.4851, allocations: 43.97 kB / 430.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 5.03e-06/0.4851, allocations: 0.6562 kB / 430.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.005206/0.4903, allocations: 1.41 MB / 431.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.4904, allocations: 56.38 kB / 431.9 MB, free: 34.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.4907, allocations: 189.2 kB / 432.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.4907, allocations: 42.14 kB / 432.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4909, allocations: 268 kB / 432.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.491, allocations: 156.9 kB / 432.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.4912, allocations: 102 kB / 432.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.4913, allocations: 336.6 kB / 432.9 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.4917, allocations: 131.8 kB / 433.1 MB, free: 33.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.4921, allocations: 304.8 kB / 433.4 MB, free: 32.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/0.4978, allocations: 1.166 MB / 434.5 MB, free: 32.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4978, allocations: 0 / 434.5 MB, free: 32.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001151/0.499, allocations: 0.5158 MB / 435.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.4991, allocations: 7.281 kB / 435.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.4991, allocations: 6.594 kB / 435.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.428e-05/0.4991, allocations: 17.56 kB / 435.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.5, allocations: 140.8 kB / 435.2 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.5, allocations: 13.69 kB / 435.2 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.5005, allocations: 32.61 kB / 435.3 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.5005, allocations: 20.78 kB / 435.3 MB, free: 32.15 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.0005358/0.5011, allocations: 207.3 kB / 435.5 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.5012, allocations: 25.78 kB / 435.5 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.5013, allocations: 50.75 kB / 435.6 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5014, allocations: 3.312 kB / 435.6 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.5014, allocations: 0 / 435.6 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.5014, allocations: 3.797 kB / 435.6 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.5031, allocations: 0.8979 MB / 436.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5032, allocations: 0.5 kB / 436.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.5039, allocations: 90.05 kB / 436.6 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.5039, allocations: 3.281 kB / 436.6 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.5039, allocations: 7.75 kB / 436.6 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.504, allocations: 4.062 kB / 436.6 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.504, allocations: 1.547 kB / 436.6 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.5051, allocations: 0.6145 MB / 437.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.5052, allocations: 95.33 kB / 437.3 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.5053, allocations: 7.688 kB / 437.3 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.5056, allocations: 24.83 kB / 437.3 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.5057, allocations: 19.19 kB / 437.3 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.5057, allocations: 17 kB / 437.4 MB, free: 30.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.5059, allocations: 121.7 kB / 437.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5059, allocations: 5.312 kB / 437.5 MB, free: 30.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000811/0.5067, allocations: 103.7 kB / 437.6 MB, free: 30.82 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.0001463/0.5069, allocations: 110.1 kB / 437.7 MB, free: 30.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000877/0.5078, allocations: 401.9 kB / 438.1 MB, free: 30.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5078, allocations: 7.188 kB / 438.1 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.5081, allocations: 178.9 kB / 438.3 MB, free: 30.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.5088, allocations: 38.44 kB / 438.3 MB, free: 30.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.5118, allocations: 1.376 MB / 439.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.5121, allocations: 0.8174 MB / 440.5 MB, free: 28.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.5123, allocations: 40.5 kB / 440.5 MB, free: 28.87 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5123, allocations: 2.719 kB / 440.5 MB, free: 28.87 MB / 350.1 MB Notification: Performance of Templates: time 0.008864/0.5212, allocations: 4.041 MB / 444.6 MB, free: 28.57 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)