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/BioChem 1.1.2/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 BioChem with version 1.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2/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/BioChem 1.1.2/package.mo): time 0.08806/0.08806, allocations: 12.22 MB / 27.19 MB, free: 1.477 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 168.5 kB / 30.71 MB, free: 4.297 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.3 MB / 257.4 MB, free: 9.289 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 87.77 kB / 311.2 MB, free: 10.91 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004017, allocations: 9.469 kB / 374.8 MB, free: 53.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1162, allocations: 53.09 MB / 427.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.005751/0.122, allocations: 5.244 MB / 433.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.1228, allocations: 474.6 kB / 433.6 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003199/0.1232, allocations: 28 kB / 433.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.1234, allocations: 59.66 kB / 433.7 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.1238, allocations: 99.16 kB / 433.8 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1241, allocations: 71.92 kB / 433.8 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.1245, allocations: 434.7 kB / 434.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.1248, allocations: 182.7 kB / 434.5 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.125, allocations: 139.5 kB / 434.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1252, allocations: 171.1 kB / 434.8 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.1253, allocations: 27.98 kB / 434.8 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.852e-05/0.1253, allocations: 24 kB / 434.8 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.1254, allocations: 75.69 kB / 434.9 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.1255, allocations: 105.5 kB / 435 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.1257, allocations: 387.2 kB / 435.4 MB, free: 4.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1257, allocations: 4 kB / 435.4 MB, free: 4.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1257, allocations: 3.938 kB / 435.4 MB, free: 4.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.1258, allocations: 0 / 435.4 MB, free: 4.914 MB / 298.7 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.0008267/0.1266, allocations: 0.6398 MB / 436 MB, free: 4.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1266, allocations: 12.03 kB / 436 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1267, allocations: 47.44 kB / 436.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1269, allocations: 206.6 kB / 436.3 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.1269, allocations: 45.25 kB / 436.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/0.127, allocations: 63.89 kB / 436.4 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.1277, allocations: 0.5191 MB / 436.9 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1278, allocations: 0 / 436.9 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.1278, allocations: 24 kB / 436.9 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1279, allocations: 12 kB / 436.9 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.1284, allocations: 369 kB / 437.3 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.1304, allocations: 1.575 MB / 438.9 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.1309, allocations: 282.4 kB / 439.1 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.1311, allocations: 187.7 kB / 439.3 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1311, allocations: 7.953 kB / 439.3 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.1311, allocations: 38.55 kB / 439.4 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.754e-06/0.1311, allocations: 4 kB / 439.4 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.003334/0.1345, allocations: 1.407 MB / 440.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1345, allocations: 55.41 kB / 440.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1347, allocations: 192.3 kB / 441 MB, free: 15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1348, allocations: 33.7 kB / 441.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1349, allocations: 271.5 kB / 441.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1351, allocations: 157.7 kB / 441.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.1351, allocations: 12 kB / 441.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1352, allocations: 346.7 kB / 441.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1354, allocations: 133.2 kB / 442 MB, free: 14.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.1358, allocations: 299.6 kB / 442.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1361, allocations: 197.5 kB / 442.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.1361, allocations: 4 kB / 442.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007953/0.1369, allocations: 0.515 MB / 443 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.137, allocations: 11.12 kB / 443 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.137, allocations: 8 kB / 443 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.137, allocations: 8 kB / 443 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.1375, allocations: 140.4 kB / 443.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.1375, allocations: 11.94 kB / 443.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.1378, allocations: 35.92 kB / 443.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.1379, allocations: 24 kB / 443.2 MB, free: 12.73 MB / 314.7 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.0004038/0.1383, allocations: 216.7 kB / 443.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.1384, allocations: 27.72 kB / 443.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.483e-05/0.1385, allocations: 39 kB / 443.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.1385, allocations: 4 kB / 443.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.1385, allocations: 0 / 443.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.1385, allocations: 3.984 kB / 443.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.1399, allocations: 0.8973 MB / 444.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.14, allocations: 3.984 kB / 444.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.1404, allocations: 83.89 kB / 444.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.1404, allocations: 8.031 kB / 444.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.1405, allocations: 11.98 kB / 444.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1405, allocations: 0 / 444.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1405, allocations: 0 / 444.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007827/0.1413, allocations: 0.6074 MB / 445.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.1414, allocations: 96.83 kB / 445.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1414, allocations: 8 kB / 445.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1416, allocations: 15.98 kB / 445.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1417, allocations: 23.97 kB / 445.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.1417, allocations: 19.92 kB / 445.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.869e-05/0.1418, allocations: 124.1 kB / 445.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1418, allocations: 3.938 kB / 445.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.1422, allocations: 100 kB / 445.5 MB, free: 10.34 MB / 314.7 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.0001295/0.1423, allocations: 107.2 kB / 445.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.1429, allocations: 391.3 kB / 446 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1429, allocations: 4 kB / 446 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.1432, allocations: 167.8 kB / 446.1 MB, free: 9.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.1435, allocations: 48.31 kB / 446.2 MB, free: 9.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1456, allocations: 1.423 MB / 447.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1461, allocations: 0.8154 MB / 448.4 MB, free: 7.332 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.1462, allocations: 42.95 kB / 448.5 MB, free: 7.293 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.1463, allocations: 31.44 kB / 448.5 MB, free: 7.262 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1464, allocations: 0 / 448.5 MB, free: 7.262 MB / 314.7 MB Notification: Performance of Templates: time 0.006656/0.153, allocations: 2.984 MB / 451.5 MB, free: 4.293 MB / 314.7 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)