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.004778/0.004778, allocations: 96.89 kB / 15.73 MB, free: 6.004 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.001156/0.001156, allocations: 196.4 kB / 16.68 MB, free: 5.934 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1724/0.1724, allocations: 12.25 MB / 302.8 MB, free: 1.195 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 71.89 kB / 419.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3499, allocations: 52.07 MB / 471.6 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.01334/0.3633, allocations: 5.794 MB / 477.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3652, allocations: 467.5 kB / 477.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.3659, allocations: 28.97 kB / 477.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.3664, allocations: 78.75 kB / 478 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007812/0.3672, allocations: 109 kB / 478.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.3678, allocations: 104.5 kB / 478.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008401/0.3687, allocations: 457.1 kB / 478.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005876/0.3693, allocations: 247.7 kB / 478.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.3697, allocations: 187.5 kB / 479.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.3701, allocations: 224.2 kB / 479.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.3703, allocations: 49.19 kB / 479.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.3705, allocations: 49.03 kB / 479.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.3706, allocations: 113.4 kB / 479.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.371, allocations: 244.9 kB / 479.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.3722, allocations: 0.5338 MB / 480.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.64e-05/0.3722, allocations: 1.625 kB / 480.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.739e-06/0.3722, allocations: 4 kB / 480.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.798e-05/0.3723, allocations: 0 / 480.3 MB, free: 10.38 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.002104/0.3744, allocations: 0.7395 MB / 481 MB, free: 9.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.3745, allocations: 8.781 kB / 481 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.3747, allocations: 102.4 kB / 481.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.3748, allocations: 53.95 kB / 481.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3751, allocations: 218.9 kB / 481.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/0.3752, allocations: 53.09 kB / 481.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.3753, allocations: 62.61 kB / 481.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.3766, allocations: 0.5115 MB / 482 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.3766, allocations: 5 kB / 482 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.3767, allocations: 25.88 kB / 482 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.3767, allocations: 13.84 kB / 482.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/0.3776, allocations: 361.2 kB / 482.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.3806, allocations: 1.588 MB / 484 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.3813, allocations: 281.6 kB / 484.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.3816, allocations: 191.3 kB / 484.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3817, allocations: 8.547 kB / 484.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.3817, allocations: 31.62 kB / 484.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.514e-06/0.3817, allocations: 0 / 484.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.004443/0.3861, allocations: 1.427 MB / 485.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.3862, allocations: 59.34 kB / 486 MB, free: 6.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.3864, allocations: 191.8 kB / 486.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3865, allocations: 31.27 kB / 486.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3866, allocations: 290.1 kB / 486.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3867, allocations: 152.6 kB / 486.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.3869, allocations: 100.6 kB / 486.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.387, allocations: 336.8 kB / 487.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.3872, allocations: 129.7 kB / 487.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.3876, allocations: 320 kB / 487.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/0.3925, allocations: 1.142 MB / 488.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3925, allocations: 1.188 kB / 488.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001073/0.3936, allocations: 0.5247 MB / 489.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.3937, allocations: 8.375 kB / 489.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3937, allocations: 8.969 kB / 489.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.835e-05/0.3937, allocations: 9 kB / 489.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.3945, allocations: 136 kB / 489.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/0.3945, allocations: 16.95 kB / 489.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.3949, allocations: 19.91 kB / 489.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.3949, allocations: 24.06 kB / 489.4 MB, free: 4.078 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 = 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.0005076/0.3955, allocations: 211.6 kB / 489.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.3956, allocations: 23.27 kB / 489.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3957, allocations: 46.42 kB / 489.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3957, allocations: 8.797 kB / 489.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3957, allocations: 0 / 489.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3957, allocations: 5.219 kB / 489.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.3974, allocations: 0.9072 MB / 490.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3974, allocations: 1.531 kB / 490.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.398, allocations: 85.22 kB / 490.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3981, allocations: 2.938 kB / 490.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.3981, allocations: 11.41 kB / 490.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3981, allocations: 1.156 kB / 490.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3981, allocations: 1.156 kB / 490.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3992, allocations: 0.6046 MB / 491.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.3993, allocations: 100 kB / 491.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.3993, allocations: 11.56 kB / 491.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.3996, allocations: 4 kB / 491.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.3996, allocations: 24.28 kB / 491.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.3997, allocations: 15.58 kB / 491.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.3998, allocations: 126.2 kB / 491.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3998, allocations: 0 / 491.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007615/0.4006, allocations: 98.78 kB / 491.7 MB, free: 2.496 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 0.001193/0.4018, allocations: 1.162 MB / 492.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008767/0.4027, allocations: 393.8 kB / 493.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4027, allocations: 2.875 kB / 493.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.403, allocations: 168.4 kB / 493.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.4037, allocations: 58.14 kB / 493.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.4096, allocations: 3.703 MB / 497.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.41, allocations: 0.8151 MB / 497.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.4101, allocations: 38.91 kB / 498 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.4103, allocations: 151.4 kB / 498.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4103, allocations: 3.938 kB / 498.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.4424, allocations: 6.398 MB / 0.4927 GB, free: 6.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.639, allocations: 13.97 kB / 0.4927 GB, free: 6.395 MB / 366.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)