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.00999/0.00999, allocations: 102 kB / 15.73 MB, free: 6.051 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.001651/0.001652, allocations: 195 kB / 16.68 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.636/1.636, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.211/0.211, allocations: 12.27 MB / 302.8 MB, free: 1.105 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.91 kB / 419.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4031, allocations: 52.07 MB / 471.6 MB, free: 16.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.00979/0.4129, allocations: 5.794 MB / 477.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.414, allocations: 467.7 kB / 477.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.4143, allocations: 24.97 kB / 477.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.4145, allocations: 83.36 kB / 478 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.4149, allocations: 111.5 kB / 478.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.4152, allocations: 101 kB / 478.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.4157, allocations: 464.4 kB / 478.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.4162, allocations: 237 kB / 478.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.4164, allocations: 190.8 kB / 479.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.4166, allocations: 231.8 kB / 479.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.4167, allocations: 49.81 kB / 479.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.4168, allocations: 48.59 kB / 479.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.4169, allocations: 104.9 kB / 479.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.4172, allocations: 245.5 kB / 479.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.4177, allocations: 0.5358 MB / 480.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4177, allocations: 0 / 480.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4177, allocations: 0 / 480.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.4177, allocations: 0 / 480.3 MB, free: 10.41 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.001029/0.4188, allocations: 0.7332 MB / 481 MB, free: 9.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.4188, allocations: 9.031 kB / 481 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.993e-05/0.4189, allocations: 97.77 kB / 481.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.419, allocations: 53.78 kB / 481.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.4192, allocations: 215 kB / 481.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.4193, allocations: 49.72 kB / 481.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.4194, allocations: 58.19 kB / 481.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.4202, allocations: 0.507 MB / 482 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.4202, allocations: 12.72 kB / 482 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.4203, allocations: 25.47 kB / 482 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.4203, allocations: 14.56 kB / 482 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.4209, allocations: 374.4 kB / 482.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.4233, allocations: 1.571 MB / 484 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.4238, allocations: 287.8 kB / 484.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.4241, allocations: 192 kB / 484.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4241, allocations: 4 kB / 484.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.4241, allocations: 33.28 kB / 484.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.414e-06/0.4241, allocations: 0 / 484.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.003709/0.4279, allocations: 1.426 MB / 485.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4279, allocations: 59.53 kB / 485.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.4281, allocations: 191 kB / 486.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.4282, allocations: 31.08 kB / 486.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4283, allocations: 277.6 kB / 486.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.792e-05/0.4284, allocations: 159.9 kB / 486.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.4285, allocations: 96.91 kB / 486.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.4286, allocations: 337.2 kB / 487 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.4288, allocations: 132.2 kB / 487.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.4291, allocations: 312.8 kB / 487.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.4329, allocations: 1.139 MB / 488.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4329, allocations: 1.406 kB / 488.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008157/0.4337, allocations: 0.5201 MB / 489.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.4338, allocations: 7.844 kB / 489.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.4338, allocations: 9.281 kB / 489.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/0.4338, allocations: 9.75 kB / 489.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.4344, allocations: 152.3 kB / 489.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.4344, allocations: 8.562 kB / 489.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.4346, allocations: 19.19 kB / 489.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.4347, allocations: 27.81 kB / 489.3 MB, free: 4.148 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.0004024/0.4351, allocations: 206.3 kB / 489.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.4352, allocations: 23.22 kB / 489.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.739e-05/0.4353, allocations: 51.09 kB / 489.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.4353, allocations: 4.125 kB / 489.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.4353, allocations: 0 / 489.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4353, allocations: 9.328 kB / 489.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.4366, allocations: 0.9007 MB / 490.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4366, allocations: 3.984 kB / 490.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.4371, allocations: 82.58 kB / 490.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4371, allocations: 1.438 kB / 490.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4371, allocations: 18.89 kB / 490.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.4371, allocations: 2.906 kB / 490.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4371, allocations: 0 / 490.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.4379, allocations: 0.5986 MB / 491.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.438, allocations: 96.23 kB / 491.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.438, allocations: 11.25 kB / 491.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4382, allocations: 6.812 kB / 491.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.4382, allocations: 35.3 kB / 491.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4383, allocations: 12.38 kB / 491.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.777e-05/0.4384, allocations: 126.2 kB / 491.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4384, allocations: 0 / 491.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005574/0.439, allocations: 99.88 kB / 491.6 MB, free: 2.566 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.0009501/0.4399, allocations: 1.148 MB / 492.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00071/0.4406, allocations: 396.8 kB / 493.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/0.4406, allocations: 3.938 kB / 493.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.4409, allocations: 173.3 kB / 493.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.4413, allocations: 49.55 kB / 493.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.4457, allocations: 3.68 MB / 497 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4462, allocations: 0.8151 MB / 497.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.4464, allocations: 42.95 kB / 497.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.4466, allocations: 147.4 kB / 498 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4466, allocations: 0 / 498 MB, free: 12.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4775, allocations: 6.512 MB / 0.4927 GB, free: 6.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.054/9.531, allocations: 12.16 kB / 0.4927 GB, free: 6.328 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BioChem_BioChem_Examples_CellDivison_cell_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BioChem_BioChem_Examples_CellDivison_cell.fmu > BioChem_BioChem.Examples.CellDivison.cell.pipe 2>&1)