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: "" <> buildModelFMU(BioChem.Examples.CellDivison.cell,fileNamePrefix="BioChem_BioChem_Examples_CellDivison_cell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BioChem.Examples.CellDivison.cell,fileNamePrefix="BioChem_BioChem_Examples_CellDivison_cell",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0047/0.0047, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.00132/0.00132, allocations: 191.1 kB / 16.67 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.07264/0.07264, allocations: 12.27 MB / 302.8 MB, free: 3.215 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 72.31 kB / 419.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09551, allocations: 52.07 MB / 471.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.009018/0.1046, allocations: 5.799 MB / 477.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.1054, allocations: 466.7 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1056, allocations: 24 kB / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.1057, allocations: 83.34 kB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.1061, allocations: 118.8 kB / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1064, allocations: 95.86 kB / 478.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.1069, allocations: 454.7 kB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004415/0.1073, allocations: 241.9 kB / 478.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.1076, allocations: 187.4 kB / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.1079, allocations: 227 kB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.1079, allocations: 52 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.084e-05/0.108, allocations: 48 kB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.1081, allocations: 111.6 kB / 479.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.1084, allocations: 246.8 kB / 479.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.109, allocations: 0.5331 MB / 480.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.109, allocations: 0 / 480.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1091, allocations: 0 / 480.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.1091, allocations: 0 / 480.3 MB, free: 4.762 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.001148/0.1102, allocations: 0.7447 MB / 481 MB, free: 3.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1103, allocations: 8.031 kB / 481 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.1104, allocations: 106.7 kB / 481.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1105, allocations: 52.61 kB / 481.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1107, allocations: 219.7 kB / 481.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.1108, allocations: 41.69 kB / 481.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.1108, allocations: 60.38 kB / 481.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.1118, allocations: 0.5158 MB / 482 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.1118, allocations: 7.938 kB / 482 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.1118, allocations: 20 kB / 482 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1119, allocations: 16 kB / 482 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.1125, allocations: 365 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.1151, allocations: 1.588 MB / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.1156, allocations: 286.3 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.1159, allocations: 184.8 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1159, allocations: 4 kB / 484.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.116, allocations: 46.48 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.116, allocations: 0 / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.003562/0.1195, allocations: 1.417 MB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.1196, allocations: 55.41 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1198, allocations: 195.8 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1199, allocations: 29.7 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1201, allocations: 284.4 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.1202, allocations: 162.6 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.1203, allocations: 98.2 kB / 486.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1205, allocations: 334.8 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.1207, allocations: 137.1 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.1211, allocations: 315.5 kB / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/0.125, allocations: 1.143 MB / 488.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.125, allocations: 8 kB / 488.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008478/0.1259, allocations: 0.5195 MB / 489.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1259, allocations: 11.12 kB / 489.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.1259, allocations: 7.938 kB / 489.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.1259, allocations: 12 kB / 489.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.1265, allocations: 135.8 kB / 489.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.1265, allocations: 19.92 kB / 489.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.1267, allocations: 20 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.1268, allocations: 24 kB / 489.4 MB, free: 11.18 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.0004081/0.1272, allocations: 204.2 kB / 489.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.1273, allocations: 23.86 kB / 489.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1274, allocations: 50.92 kB / 489.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1274, allocations: 4 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1274, allocations: 0 / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1274, allocations: 0 / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.1288, allocations: 0.9049 MB / 490.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1288, allocations: 0 / 490.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.1292, allocations: 91.88 kB / 490.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1292, allocations: 0 / 490.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.1293, allocations: 8 kB / 490.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1293, allocations: 4 kB / 490.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1293, allocations: 0 / 490.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.1302, allocations: 0.6106 MB / 491.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.1303, allocations: 96.97 kB / 491.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.1303, allocations: 11.98 kB / 491.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.1305, allocations: 8 kB / 491.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.1306, allocations: 23.97 kB / 491.4 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.1306, allocations: 15.98 kB / 491.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1307, allocations: 120.1 kB / 491.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1307, allocations: 4 kB / 491.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.1312, allocations: 100 kB / 491.6 MB, free: 8.805 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.001206/0.1325, allocations: 1.153 MB / 492.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006469/0.1331, allocations: 402.5 kB / 493.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1331, allocations: 0 / 493.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.1334, allocations: 171.8 kB / 493.4 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1338, allocations: 52.89 kB / 493.4 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.1386, allocations: 3.718 MB / 497.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.1391, allocations: 0.819 MB / 497.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.1393, allocations: 34.97 kB / 498 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.1395, allocations: 147.4 kB / 498.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1395, allocations: 0 / 498.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.172, allocations: 6.409 MB / 0.4927 GB, free: 11.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.668/8.84, allocations: 6.578 kB / 0.4927 GB, free: 11.7 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file BioChem_BioChem.Examples.CellDivison.cell_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 BioChem_BioChem_Examples_CellDivison_cell.fmu > BioChem_BioChem.Examples.CellDivison.cell.pipe 2>&1)