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.00131/0.00131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001155/0.001155, allocations: 193.4 kB / 16.25 MB, free: 6.625 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.258/1.258, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 1.298/1.298, allocations: 12.28 MB / 302.3 MB, free: 1.309 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 59.91 kB / 365.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1317, allocations: 52.08 MB / 417.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.2471/0.3789, allocations: 5.924 MB / 423.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3802, allocations: 470.9 kB / 423.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.3804, allocations: 30.3 kB / 423.9 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.3805, allocations: 61.19 kB / 423.9 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.3809, allocations: 101.5 kB / 424 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.3811, allocations: 81.73 kB / 424.1 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.3816, allocations: 453.6 kB / 424.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.382, allocations: 241.9 kB / 424.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.3823, allocations: 189.7 kB / 425 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.3826, allocations: 229.8 kB / 425.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.3827, allocations: 50.41 kB / 425.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.801e-05/0.3828, allocations: 48.75 kB / 425.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3829, allocations: 105 kB / 425.4 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.3831, allocations: 251.4 kB / 425.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.3835, allocations: 0.5205 MB / 426.2 MB, free: 35.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3835, allocations: 0 / 426.2 MB, free: 35.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3836, allocations: 0 / 426.2 MB, free: 35.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3836, allocations: 0 / 426.2 MB, free: 35.99 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.000836/0.3844, allocations: 0.7351 MB / 426.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3845, allocations: 9.188 kB / 426.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.198e-05/0.3845, allocations: 104.4 kB / 427 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.3846, allocations: 50 kB / 427.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3847, allocations: 215.1 kB / 427.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.3848, allocations: 46.72 kB / 427.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.3848, allocations: 63.16 kB / 427.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.3855, allocations: 0.5085 MB / 427.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.3855, allocations: 10.66 kB / 427.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.3856, allocations: 22.06 kB / 427.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3856, allocations: 15.78 kB / 427.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.386, allocations: 370.1 kB / 428.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.3879, allocations: 1.586 MB / 429.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.3883, allocations: 282.1 kB / 430.2 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.3886, allocations: 189.1 kB / 430.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3886, allocations: 5.562 kB / 430.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.3886, allocations: 37.34 kB / 430.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.3886, allocations: 0 / 430.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002871/0.3915, allocations: 1.419 MB / 431.8 MB, free: 33.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.3915, allocations: 54.72 kB / 431.9 MB, free: 33.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3917, allocations: 187.2 kB / 432 MB, free: 33.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3917, allocations: 33.08 kB / 432.1 MB, free: 33.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3918, allocations: 276.3 kB / 432.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.3919, allocations: 156 kB / 432.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.392, allocations: 101.9 kB / 432.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.96e-05/0.3921, allocations: 334 kB / 432.9 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3922, allocations: 137.2 kB / 433 MB, free: 32.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.3925, allocations: 307.4 kB / 433.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/0.3958, allocations: 1.155 MB / 434.5 MB, free: 32.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3958, allocations: 0 / 434.5 MB, free: 32.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006189/0.3964, allocations: 0.5226 MB / 435 MB, free: 31.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3964, allocations: 7.438 kB / 435 MB, free: 31.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3965, allocations: 7.781 kB / 435 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3965, allocations: 13.84 kB / 435.1 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.3969, allocations: 141.6 kB / 435.2 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.397, allocations: 12.34 kB / 435.2 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.3972, allocations: 28.23 kB / 435.2 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.3972, allocations: 25.88 kB / 435.3 MB, free: 31.94 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 = 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 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.0003483/0.3976, allocations: 212.8 kB / 435.5 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.3976, allocations: 25.12 kB / 435.5 MB, free: 31.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.3977, allocations: 45.92 kB / 435.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3977, allocations: 3.281 kB / 435.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.3978, allocations: 0.5625 kB / 435.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3978, allocations: 3.281 kB / 435.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.3988, allocations: 0.9038 MB / 436.4 MB, free: 31.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3988, allocations: 3.656 kB / 436.4 MB, free: 31.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.3992, allocations: 82.41 kB / 436.5 MB, free: 31.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3992, allocations: 2.906 kB / 436.5 MB, free: 31.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3993, allocations: 11.28 kB / 436.5 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3993, allocations: 4.406 kB / 436.5 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3993, allocations: 3.281 kB / 436.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006394/0.3999, allocations: 0.6088 MB / 437.2 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.4, allocations: 95.27 kB / 437.3 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.4, allocations: 11.41 kB / 437.3 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.4002, allocations: 20.56 kB / 437.3 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.4003, allocations: 26.81 kB / 437.3 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.4003, allocations: 5.875 kB / 437.3 MB, free: 30.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.4004, allocations: 139.8 kB / 437.5 MB, free: 30.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4004, allocations: 0 / 437.5 MB, free: 30.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.4008, allocations: 98 kB / 437.5 MB, free: 30.61 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.0008303/0.4016, allocations: 1.155 MB / 438.7 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005932/0.4022, allocations: 416.3 kB / 439.1 MB, free: 29.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4022, allocations: 0 / 439.1 MB, free: 29.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.4024, allocations: 172.8 kB / 439.3 MB, free: 29.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.4028, allocations: 50.45 kB / 439.3 MB, free: 29.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.4065, allocations: 3.89 MB / 443.2 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4068, allocations: 0.8127 MB / 444 MB, free: 25.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.4069, allocations: 46.03 kB / 444.1 MB, free: 25.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.4071, allocations: 146.7 kB / 444.2 MB, free: 25.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4071, allocations: 0 / 444.2 MB, free: 25.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.4263, allocations: 6.187 MB / 450.4 MB, free: 25.4 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.4265, allocations: 179.1 kB / 450.6 MB, free: 25.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.301, allocations: 0 / 450.6 MB, free: 25.15 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/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)