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.001182/0.001182, allocations: 112.2 kB / 16.37 MB, free: 5.953 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.001123/0.001124, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.06238/0.06238, allocations: 12.27 MB / 303.4 MB, free: 3.223 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 72.11 kB / 367.2 MB, free: 3.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.19, allocations: 52.09 MB / 419.3 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.006171/0.1962, allocations: 5.789 MB / 425.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003967/0.1966, allocations: 467.5 kB / 425.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1967, allocations: 24 kB / 425.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.1969, allocations: 84.06 kB / 425.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.1971, allocations: 121.2 kB / 425.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1973, allocations: 98.55 kB / 425.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1976, allocations: 458.6 kB / 426.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.1979, allocations: 238.8 kB / 426.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.198, allocations: 191.3 kB / 426.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1982, allocations: 227 kB / 426.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.1982, allocations: 48 kB / 427 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.1983, allocations: 52 kB / 427 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.1983, allocations: 99.69 kB / 427.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.1985, allocations: 246.8 kB / 427.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1988, allocations: 0.5356 MB / 427.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1988, allocations: 0 / 427.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1988, allocations: 2.5 kB / 427.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1988, allocations: 0 / 427.9 MB, free: 13.05 MB / 302.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.0007643/0.1996, allocations: 0.7315 MB / 428.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.1996, allocations: 12.03 kB / 428.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.1997, allocations: 48.38 kB / 428.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.35e-05/0.1998, allocations: 220.7 kB / 428.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1998, allocations: 45.69 kB / 429 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.501e-05/0.1999, allocations: 61 kB / 429 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.2005, allocations: 0.5102 MB / 429.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.2005, allocations: 8.094 kB / 429.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.2005, allocations: 31.88 kB / 429.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.2006, allocations: 19.94 kB / 429.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.201, allocations: 362 kB / 430 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.2028, allocations: 1.571 MB / 431.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.2032, allocations: 274.5 kB / 431.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2034, allocations: 193.3 kB / 432 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2035, allocations: 7.938 kB / 432 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.2035, allocations: 34.5 kB / 432 MB, free: 8.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.2035, allocations: 0 / 432 MB, free: 8.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.002808/0.2063, allocations: 1.417 MB / 433.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.2063, allocations: 59.39 kB / 433.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2064, allocations: 187.8 kB / 433.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.2065, allocations: 33.7 kB / 433.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.2066, allocations: 275.5 kB / 434 MB, free: 6.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.2066, allocations: 157.8 kB / 434.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.2067, allocations: 94.16 kB / 434.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.2068, allocations: 342.8 kB / 434.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.207, allocations: 133.2 kB / 434.7 MB, free: 6.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.2072, allocations: 308 kB / 435 MB, free: 5.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/0.2104, allocations: 1.147 MB / 436.1 MB, free: 4.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2105, allocations: 8 kB / 436.1 MB, free: 4.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005705/0.211, allocations: 0.5226 MB / 436.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2111, allocations: 8.75 kB / 436.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2111, allocations: 4 kB / 436.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.2111, allocations: 15.94 kB / 436.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.2116, allocations: 139.8 kB / 436.8 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2116, allocations: 15.88 kB / 436.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.2118, allocations: 19.98 kB / 436.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.2118, allocations: 27.98 kB / 436.9 MB, free: 3.652 MB / 302.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.0002219/0.212, allocations: 202.6 kB / 437.1 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.2121, allocations: 27.72 kB / 437.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.394e-05/0.2122, allocations: 42.94 kB / 437.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2122, allocations: 4 kB / 437.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2122, allocations: 0 / 437.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2122, allocations: 3.984 kB / 437.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.2131, allocations: 0.9049 MB / 438.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2132, allocations: 0 / 438.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.2136, allocations: 87.89 kB / 438.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2136, allocations: 4.031 kB / 438.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.2136, allocations: 11.98 kB / 438.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2136, allocations: 7.938 kB / 438.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2136, allocations: 0 / 438.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.2142, allocations: 0.6065 MB / 438.8 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.2143, allocations: 92.83 kB / 438.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.2143, allocations: 12 kB / 438.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.2145, allocations: 12 kB / 438.9 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.2145, allocations: 31.73 kB / 438.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.2145, allocations: 12 kB / 438.9 MB, free: 1.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.2146, allocations: 124.1 kB / 439.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2146, allocations: 3.938 kB / 439.1 MB, free: 1.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.215, allocations: 104 kB / 439.2 MB, free: 1.273 MB / 302.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 9.692e-05/0.2151, allocations: 103.7 kB / 439.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.2156, allocations: 402.6 kB / 439.7 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2156, allocations: 0 / 439.7 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.2158, allocations: 181 kB / 439.8 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.2161, allocations: 44.05 kB / 439.9 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2177, allocations: 1.123 MB / 441 MB, free: 15.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.218, allocations: 0.8151 MB / 441.8 MB, free: 14.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.2181, allocations: 42.95 kB / 441.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.2182, allocations: 27.44 kB / 441.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2182, allocations: 0 / 441.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of Templates: time 0.006454/0.2247, allocations: 3.292 MB / 445.2 MB, free: 11.23 MB / 318.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 -s gbode -lv LOG_STATS > BioChem_BioChem.Examples.CellDivison.cell.pipe 2>&1)