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/package.mo", uses=false) Using package BioChem with version 1.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2/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.000868/0.0008681, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008766/0.0008766, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2/package.mo): time 0.173/0.173, allocations: 12.19 MB / 303.2 MB, free: 1.922 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 7.984 kB / 366.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1071, allocations: 53.09 MB / 419.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.2052/0.3124, allocations: 4.953 MB / 424.9 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.3133, allocations: 500 kB / 425.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.3135, allocations: 29 kB / 425.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3136, allocations: 67.12 kB / 425.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.3138, allocations: 115.5 kB / 425.6 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.314, allocations: 70.3 kB / 425.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.3143, allocations: 306.6 kB / 426 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/0.3147, allocations: 189.2 kB / 426.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3148, allocations: 144.2 kB / 426.3 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.315, allocations: 175.2 kB / 426.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.315, allocations: 24.28 kB / 426.5 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.3151, allocations: 22.84 kB / 426.5 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.3151, allocations: 71.67 kB / 426.6 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.3152, allocations: 106.4 kB / 426.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3155, allocations: 393.6 kB / 427.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3155, allocations: 3.281 kB / 427.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3155, allocations: 0 / 427.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.3155, allocations: 0 / 427.1 MB, free: 34.52 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.0006979/0.3162, allocations: 0.6343 MB / 427.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3163, allocations: 9.094 kB / 427.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.749e-05/0.3164, allocations: 103.8 kB / 427.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.3164, allocations: 57.53 kB / 427.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3165, allocations: 210.3 kB / 428.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.3166, allocations: 47.31 kB / 428.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.3167, allocations: 57.16 kB / 428.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.3173, allocations: 0.5076 MB / 428.7 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3173, allocations: 8.406 kB / 428.7 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.3173, allocations: 23.62 kB / 428.7 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.3174, allocations: 19.3 kB / 428.7 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.3178, allocations: 364 kB / 429.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.3197, allocations: 1.567 MB / 430.6 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.3201, allocations: 282.1 kB / 430.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3202, allocations: 2.906 kB / 430.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3202, allocations: 40.61 kB / 431 MB, free: 33.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.402e-06/0.3202, allocations: 0.5312 kB / 431 MB, free: 33.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00294/0.3231, allocations: 1.42 MB / 432.4 MB, free: 32.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.3232, allocations: 54.97 kB / 432.4 MB, free: 32.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3233, allocations: 185.8 kB / 432.6 MB, free: 32.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3233, allocations: 32.27 kB / 432.6 MB, free: 32.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.3234, allocations: 275.4 kB / 432.9 MB, free: 32.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.3235, allocations: 158.7 kB / 433.1 MB, free: 32.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.3235, allocations: 12.22 kB / 433.1 MB, free: 32.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.3236, allocations: 340.4 kB / 433.4 MB, free: 31.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.3238, allocations: 130.2 kB / 433.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.324, allocations: 306 kB / 433.8 MB, free: 31.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.3242, allocations: 193.6 kB / 434 MB, free: 31.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3242, allocations: 4.25 kB / 434 MB, free: 31.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005685/0.3248, allocations: 0.5208 MB / 434.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3248, allocations: 9.875 kB / 434.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3248, allocations: 4.969 kB / 434.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3249, allocations: 10.56 kB / 434.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.3253, allocations: 136.2 kB / 434.7 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3253, allocations: 17.81 kB / 434.7 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.3255, allocations: 28.06 kB / 434.8 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3256, allocations: 26.69 kB / 434.8 MB, free: 31.52 MB / 350.1 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.0002875/0.3259, allocations: 216.9 kB / 435 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.3259, allocations: 24.94 kB / 435 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.767e-05/0.326, allocations: 38.47 kB / 435.1 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.326, allocations: 9.094 kB / 435.1 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.326, allocations: 0.5 kB / 435.1 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3261, allocations: 3.281 kB / 435.1 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/0.327, allocations: 0.8976 MB / 436 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.327, allocations: 3.719 kB / 436 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.3274, allocations: 87.67 kB / 436.1 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3274, allocations: 3.5 kB / 436.1 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3275, allocations: 9.219 kB / 436.1 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3275, allocations: 4.031 kB / 436.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3275, allocations: 8.047 kB / 436.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.3281, allocations: 0.6064 MB / 436.7 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.3282, allocations: 95.42 kB / 436.8 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.3282, allocations: 9.469 kB / 436.8 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.3284, allocations: 23.7 kB / 436.8 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.3284, allocations: 26.56 kB / 436.8 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3285, allocations: 11.92 kB / 436.9 MB, free: 30.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.402e-05/0.3285, allocations: 127.9 kB / 437 MB, free: 30.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3285, allocations: 0 / 437 MB, free: 30.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.3289, allocations: 100.3 kB / 437.1 MB, free: 30.65 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 (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.0007853/0.3297, allocations: 1.225 MB / 438.3 MB, free: 29.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.3303, allocations: 403.6 kB / 438.7 MB, free: 29.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3303, allocations: 0 / 438.7 MB, free: 29.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3305, allocations: 167.7 kB / 438.9 MB, free: 29.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3307, allocations: 40.2 kB / 438.9 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.3338, allocations: 6.148 MB / 445 MB, free: 24.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3341, allocations: 0.8287 MB / 445.9 MB, free: 24.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.3342, allocations: 40.19 kB / 445.9 MB, free: 24.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.3344, allocations: 149.1 kB / 446.1 MB, free: 24.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3344, allocations: 0 / 446.1 MB, free: 24.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.3489, allocations: 5.738 MB / 451.8 MB, free: 23.8 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/0.349, allocations: 154.3 kB / 451.9 MB, free: 23.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.992, allocations: 0 / 451.9 MB, free: 23.57 MB / 350.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/linux/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) Environment - environmentSimulation: