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.001389/0.001389, allocations: 100.3 kB / 16.41 MB, free: 6.508 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.001467/0.001467, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.06152/0.06152, allocations: 12.27 MB / 303.5 MB, free: 3.223 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 56.44 kB / 420.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09604, allocations: 52.09 MB / 472.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.009117/0.1052, allocations: 5.78 MB / 478.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1063, allocations: 462.7 kB / 479 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.1067, allocations: 24 kB / 479.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.107, allocations: 79.34 kB / 479.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.1075, allocations: 126.8 kB / 479.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1078, allocations: 103.8 kB / 479.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.1083, allocations: 458.7 kB / 479.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.1087, allocations: 241.9 kB / 480 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.1089, allocations: 187.4 kB / 480.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.1091, allocations: 227 kB / 480.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.1092, allocations: 48 kB / 480.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.1093, allocations: 52 kB / 480.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.1094, allocations: 111.6 kB / 480.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.1096, allocations: 246.9 kB / 480.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.1102, allocations: 0.5293 MB / 481.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1102, allocations: 0 / 481.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1102, allocations: 0 / 481.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1102, allocations: 0 / 481.4 MB, free: 4.266 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.001005/0.1112, allocations: 0.7298 MB / 482.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1113, allocations: 12.03 kB / 482.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.1113, allocations: 48.38 kB / 482.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1115, allocations: 219.7 kB / 482.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.1116, allocations: 45.69 kB / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-05/0.1117, allocations: 68.31 kB / 482.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.1124, allocations: 0.508 MB / 483.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1124, allocations: 4.188 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.1125, allocations: 27.94 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.1125, allocations: 23.98 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.1131, allocations: 361 kB / 483.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.1154, allocations: 1.579 MB / 485 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.1159, allocations: 288.7 kB / 485.3 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.1161, allocations: 184.8 kB / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1162, allocations: 4 kB / 485.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.1162, allocations: 34.5 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.275e-06/0.1162, allocations: 0 / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.003728/0.1199, allocations: 1.424 MB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.12, allocations: 63.39 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1202, allocations: 183.9 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1202, allocations: 29.7 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1204, allocations: 275.5 kB / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-05/0.1205, allocations: 157.7 kB / 487.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.1206, allocations: 102.2 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1208, allocations: 334.8 kB / 488.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.1209, allocations: 133.2 kB / 488.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.1213, allocations: 311.5 kB / 488.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/0.125, allocations: 1.146 MB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1251, allocations: 4 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008043/0.1259, allocations: 0.5188 MB / 490.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1259, allocations: 8.75 kB / 490.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1259, allocations: 7.938 kB / 490.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.126, allocations: 19.94 kB / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.1265, allocations: 135.8 kB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.1265, allocations: 11.94 kB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1268, allocations: 23.89 kB / 490.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.1269, allocations: 24 kB / 490.4 MB, free: 10.83 MB / 366.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.0004288/0.1273, allocations: 199 kB / 490.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.1274, allocations: 27.72 kB / 490.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.1275, allocations: 42.94 kB / 490.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1275, allocations: 4 kB / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.1276, allocations: 0 / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1276, allocations: 3.984 kB / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.129, allocations: 0.9088 MB / 491.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.129, allocations: 0 / 491.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.1295, allocations: 83.89 kB / 491.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.1295, allocations: 4.031 kB / 491.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.1295, allocations: 15.98 kB / 491.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1295, allocations: 4 kB / 491.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1295, allocations: 0 / 491.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/0.1305, allocations: 0.6026 MB / 492.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.1306, allocations: 96.83 kB / 492.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.1306, allocations: 8 kB / 492.4 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1308, allocations: 12 kB / 492.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.1309, allocations: 31.89 kB / 492.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.1309, allocations: 8 kB / 492.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.131, allocations: 132 kB / 492.6 MB, free: 8.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.131, allocations: 0 / 492.6 MB, free: 8.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.1315, allocations: 100 kB / 492.7 MB, free: 8.453 MB / 366.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.0001435/0.1316, allocations: 107.7 kB / 492.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006369/0.1323, allocations: 398.6 kB / 493.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.1323, allocations: 0 / 493.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.1326, allocations: 184.8 kB / 493.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.133, allocations: 52.19 kB / 493.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.1351, allocations: 1.144 MB / 494.6 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.1356, allocations: 0.819 MB / 495.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1358, allocations: 35.42 kB / 495.4 MB, free: 5.664 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1358, allocations: 0 / 495.4 MB, free: 5.664 MB / 366.1 MB Notification: Performance of Templates: time 0.00803/0.1438, allocations: 4.091 MB / 499.5 MB, free: 1.562 MB / 366.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)