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.001165/0.001165, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.73/1.73, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.3423/0.3423, allocations: 12.26 MB / 302.6 MB, free: 1.324 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 63.89 kB / 365.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1843, allocations: 52.07 MB / 417.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.4059/0.5902, allocations: 5.792 MB / 423.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.5919, allocations: 459.9 kB / 424.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.5921, allocations: 24 kB / 424.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.5924, allocations: 83.72 kB / 424.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.5928, allocations: 115.8 kB / 424.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.5931, allocations: 97.94 kB / 424.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.5937, allocations: 455.5 kB / 424.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.5942, allocations: 244.9 kB / 425.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.5945, allocations: 189.2 kB / 425.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.5948, allocations: 228.2 kB / 425.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.647e-05/0.5949, allocations: 55.31 kB / 425.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.312e-05/0.595, allocations: 50.75 kB / 425.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.5951, allocations: 108.8 kB / 425.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.5953, allocations: 239.9 kB / 426 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.5958, allocations: 0.5224 MB / 426.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.5958, allocations: 0 / 426.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5958, allocations: 6.312 kB / 426.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.5958, allocations: 3.625 kB / 426.6 MB, free: 36.29 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.001122/0.597, allocations: 0.7334 MB / 427.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.597, allocations: 10.66 kB / 427.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.5972, allocations: 97.56 kB / 427.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.5972, allocations: 49.97 kB / 427.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.5974, allocations: 219.9 kB / 427.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.5975, allocations: 42.81 kB / 427.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/0.5976, allocations: 62.88 kB / 427.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.5984, allocations: 0.5126 MB / 428.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.5984, allocations: 7.875 kB / 428.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.5985, allocations: 22.28 kB / 428.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.5985, allocations: 15.38 kB / 428.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006411/0.5992, allocations: 362.3 kB / 428.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.6019, allocations: 1.594 MB / 430.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.6025, allocations: 286.7 kB / 430.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.6028, allocations: 190.8 kB / 430.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.6028, allocations: 4.688 kB / 430.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.6029, allocations: 34.44 kB / 430.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.6029, allocations: 0.5312 kB / 430.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00342/0.6063, allocations: 1.418 MB / 432.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.6063, allocations: 55.94 kB / 432.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.6065, allocations: 192 kB / 432.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.6065, allocations: 33.7 kB / 432.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.6067, allocations: 272.9 kB / 432.7 MB, free: 33.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.6068, allocations: 159.6 kB / 432.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.6069, allocations: 96.92 kB / 433 MB, free: 33.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.607, allocations: 340.7 kB / 433.3 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.6072, allocations: 131.9 kB / 433.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.6075, allocations: 308.8 kB / 433.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.6109, allocations: 1.158 MB / 434.9 MB, free: 32.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6109, allocations: 0.5 kB / 434.9 MB, free: 32.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007082/0.6117, allocations: 0.5186 MB / 435.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.6117, allocations: 7.312 kB / 435.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.6117, allocations: 10.81 kB / 435.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.6117, allocations: 9.797 kB / 435.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.6122, allocations: 140 kB / 435.6 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.6123, allocations: 12.91 kB / 435.6 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.6125, allocations: 22.5 kB / 435.6 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.6125, allocations: 23.59 kB / 435.6 MB, free: 32.24 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.0004855/0.613, allocations: 200.8 kB / 435.8 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.6131, allocations: 28.84 kB / 435.9 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.957e-05/0.6132, allocations: 47.91 kB / 435.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.6132, allocations: 3.375 kB / 435.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.6132, allocations: 0 / 435.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6132, allocations: 6.562 kB / 435.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.6144, allocations: 0.8978 MB / 436.8 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6144, allocations: 4.031 kB / 436.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.6148, allocations: 92.14 kB / 436.9 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6149, allocations: 3.375 kB / 436.9 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.6149, allocations: 7.969 kB / 436.9 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6149, allocations: 3.938 kB / 436.9 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6149, allocations: 3.188 kB / 436.9 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000731/0.6156, allocations: 0.6045 MB / 437.5 MB, free: 31.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.6157, allocations: 99.23 kB / 437.6 MB, free: 31.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.6158, allocations: 11.62 kB / 437.6 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.6159, allocations: 11.12 kB / 437.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.616, allocations: 19.03 kB / 437.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.616, allocations: 14.22 kB / 437.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.986e-05/0.6161, allocations: 123.8 kB / 437.8 MB, free: 30.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6161, allocations: 3.094 kB / 437.8 MB, free: 30.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004051/0.6165, allocations: 105.4 kB / 437.9 MB, free: 30.92 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.0009084/0.6174, allocations: 1.15 MB / 439.1 MB, free: 30.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000704/0.6182, allocations: 417.9 kB / 439.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6182, allocations: 3.062 kB / 439.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.6184, allocations: 171.2 kB / 439.6 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.6188, allocations: 49.59 kB / 439.7 MB, free: 29.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.6236, allocations: 3.678 MB / 443.4 MB, free: 27.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.624, allocations: 0.8155 MB / 444.2 MB, free: 26.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.6242, allocations: 47.48 kB / 444.2 MB, free: 26.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.6244, allocations: 146.6 kB / 444.4 MB, free: 26.37 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6244, allocations: 0 / 444.4 MB, free: 26.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.6547, allocations: 6.273 MB / 450.7 MB, free: 25.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/9.239, allocations: 13.05 kB / 450.7 MB, free: 25.81 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)