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.000804/0.0008041, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00504/0.00504, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.2074/0.2074, allocations: 12.25 MB / 303.7 MB, free: 2.062 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 8 kB / 367.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 53.09 MB / 420.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.2072/0.3305, allocations: 5.44 MB / 426.1 MB, free: 35.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006282/0.3312, allocations: 467.7 kB / 426.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3313, allocations: 25.69 kB / 426.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.81e-05/0.3314, allocations: 60.75 kB / 426.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.3316, allocations: 100.2 kB / 426.7 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3318, allocations: 84.5 kB / 426.8 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.3322, allocations: 436.2 kB / 427.2 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000294/0.3325, allocations: 208.8 kB / 427.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3326, allocations: 144.8 kB / 427.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.3328, allocations: 187 kB / 427.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.3328, allocations: 22.78 kB / 427.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.3328, allocations: 22.97 kB / 427.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.3329, allocations: 77.09 kB / 427.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.333, allocations: 232.8 kB / 428.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3333, allocations: 0.4891 MB / 428.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3333, allocations: 4.75 kB / 428.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3333, allocations: 0 / 428.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3333, allocations: 3.938 kB / 428.6 MB, free: 35.25 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.0006428/0.334, allocations: 0.6325 MB / 429.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.334, allocations: 9.5 kB / 429.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.3341, allocations: 57.78 kB / 429.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.699e-05/0.3342, allocations: 210.9 kB / 429.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3342, allocations: 42.69 kB / 429.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.3343, allocations: 59.72 kB / 429.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.3349, allocations: 0.5225 MB / 430.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.3349, allocations: 2.469 kB / 430.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.335, allocations: 27.03 kB / 430.1 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.335, allocations: 14.41 kB / 430.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.3354, allocations: 367.4 kB / 430.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.3372, allocations: 1.574 MB / 432.1 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.3376, allocations: 284 kB / 432.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.3378, allocations: 186.4 kB / 432.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3378, allocations: 3.969 kB / 432.6 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.3379, allocations: 34.47 kB / 432.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.323e-06/0.3379, allocations: 2.688 kB / 432.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002901/0.3408, allocations: 1.417 MB / 434 MB, free: 33.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.3408, allocations: 55.16 kB / 434.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3409, allocations: 192.1 kB / 434.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.341, allocations: 34.77 kB / 434.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.3411, allocations: 280.2 kB / 434.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.3411, allocations: 153.5 kB / 434.7 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.3412, allocations: 48.77 kB / 434.8 MB, free: 32.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.3413, allocations: 340.1 kB / 435.1 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3415, allocations: 128.9 kB / 435.2 MB, free: 32.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.3417, allocations: 308.4 kB / 435.5 MB, free: 32.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/0.3455, allocations: 1.21 MB / 436.7 MB, free: 32.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3455, allocations: 4.781 kB / 436.7 MB, free: 32.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006355/0.3462, allocations: 0.5137 MB / 437.2 MB, free: 32.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3462, allocations: 13.39 kB / 437.3 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3462, allocations: 3.906 kB / 437.3 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3462, allocations: 13.88 kB / 437.3 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.3467, allocations: 137.6 kB / 437.4 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3467, allocations: 9.75 kB / 437.4 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.3469, allocations: 38.27 kB / 437.5 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.347, allocations: 23.31 kB / 437.5 MB, free: 31.99 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.0003573/0.3474, allocations: 208.4 kB / 437.7 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.3474, allocations: 24.41 kB / 437.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.3475, allocations: 51.89 kB / 437.8 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3475, allocations: 3.031 kB / 437.8 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.3476, allocations: 2.875 kB / 437.8 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3476, allocations: 0 / 437.8 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.3486, allocations: 0.8951 MB / 438.7 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3486, allocations: 3.344 kB / 438.7 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.349, allocations: 87.38 kB / 438.7 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.3491, allocations: 3.734 kB / 438.7 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3491, allocations: 11.22 kB / 438.8 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3491, allocations: 3.281 kB / 438.8 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3491, allocations: 0.625 kB / 438.8 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.3498, allocations: 0.613 MB / 439.4 MB, free: 31.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3498, allocations: 99.14 kB / 439.5 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.3499, allocations: 8.797 kB / 439.5 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3501, allocations: 22.11 kB / 439.5 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3501, allocations: 23.8 kB / 439.5 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.3502, allocations: 14.41 kB / 439.5 MB, free: 30.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.769e-05/0.3502, allocations: 125 kB / 439.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3502, allocations: 0 / 439.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000403/0.3507, allocations: 104.1 kB / 439.8 MB, free: 30.8 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.882e-05/0.3507, allocations: 107.8 kB / 439.9 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004563/0.3512, allocations: 407.3 kB / 440.3 MB, free: 30.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3512, allocations: 1.5 kB / 440.3 MB, free: 30.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3514, allocations: 172.8 kB / 440.4 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3518, allocations: 46.97 kB / 440.5 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.3535, allocations: 1.46 MB / 441.9 MB, free: 29.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.3537, allocations: 0.8154 MB / 442.8 MB, free: 28.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.3539, allocations: 41.16 kB / 442.8 MB, free: 28.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.354, allocations: 34.08 kB / 442.8 MB, free: 28.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.354, allocations: 0 / 442.8 MB, free: 28.79 MB / 350.1 MB Notification: Performance of Templates: time 0.005447/0.3594, allocations: 3.091 MB / 445.9 MB, free: 28.64 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)