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.0009042/0.0009042, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001151/0.001151, allocations: 168.7 kB / 15.95 MB, free: 204 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.295/1.295, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2/package.mo): time 0.1809/0.1809, allocations: 12.21 MB / 303.3 MB, free: 1.898 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 8 kB / 367 MB, free: 9.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 53.08 MB / 420.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.1947/0.2956, allocations: 5.216 MB / 425.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.2964, allocations: 474 kB / 425.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.2966, allocations: 26.31 kB / 425.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.2967, allocations: 67.31 kB / 425.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.2969, allocations: 94.27 kB / 425.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.2972, allocations: 70.92 kB / 426 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.2975, allocations: 429 kB / 426.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.2979, allocations: 183 kB / 426.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.298, allocations: 145.6 kB / 426.7 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.2982, allocations: 178.5 kB / 426.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.2983, allocations: 23.72 kB / 426.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.878e-05/0.2984, allocations: 22.34 kB / 427 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.2984, allocations: 73.02 kB / 427 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.2985, allocations: 109.6 kB / 427.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.2987, allocations: 394.6 kB / 427.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2987, allocations: 3.438 kB / 427.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2988, allocations: 0.5312 kB / 427.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2988, allocations: 0.5938 kB / 427.5 MB, free: 34.73 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.0006878/0.2995, allocations: 0.6362 MB / 428.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2995, allocations: 9 kB / 428.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.915e-05/0.2996, allocations: 98.97 kB / 428.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.2997, allocations: 54.81 kB / 428.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2998, allocations: 216.9 kB / 428.5 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.2998, allocations: 45 kB / 428.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/0.2999, allocations: 57.81 kB / 428.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.3006, allocations: 0.5071 MB / 429.1 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.3006, allocations: 13.91 kB / 429.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.3007, allocations: 29.81 kB / 429.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3007, allocations: 12.19 kB / 429.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.3012, allocations: 357.2 kB / 429.5 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.3032, allocations: 1.569 MB / 431.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.3037, allocations: 281.3 kB / 431.4 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.304, allocations: 190.8 kB / 431.6 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.304, allocations: 6.547 kB / 431.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.304, allocations: 37.72 kB / 431.6 MB, free: 33.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.3041, allocations: 2.188 kB / 431.6 MB, free: 33.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.003041/0.3071, allocations: 1.418 MB / 433 MB, free: 32.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.3071, allocations: 55.23 kB / 433.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3073, allocations: 187.6 kB / 433.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3074, allocations: 35.36 kB / 433.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3075, allocations: 272.9 kB / 433.6 MB, free: 32.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/0.3076, allocations: 154.4 kB / 433.7 MB, free: 32.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.3076, allocations: 10.38 kB / 433.7 MB, free: 32.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.3077, allocations: 344.1 kB / 434.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3079, allocations: 127.7 kB / 434.2 MB, free: 32.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.3082, allocations: 308.5 kB / 434.5 MB, free: 31.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3084, allocations: 195.7 kB / 434.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3084, allocations: 0 / 434.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006352/0.3091, allocations: 0.5233 MB / 435.2 MB, free: 31.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3091, allocations: 9.938 kB / 435.2 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3091, allocations: 3.969 kB / 435.2 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3092, allocations: 13.28 kB / 435.2 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.3096, allocations: 136.2 kB / 435.4 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3096, allocations: 14.36 kB / 435.4 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.3098, allocations: 33.88 kB / 435.4 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.3099, allocations: 23.16 kB / 435.4 MB, free: 31.73 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.0003281/0.3102, allocations: 215.4 kB / 435.6 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.3103, allocations: 24.88 kB / 435.7 MB, free: 31.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.3104, allocations: 40.62 kB / 435.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3104, allocations: 7.281 kB / 435.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.3104, allocations: 0.5625 kB / 435.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3104, allocations: 4.219 kB / 435.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.3114, allocations: 0.9032 MB / 436.6 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3115, allocations: 0 / 436.6 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.3119, allocations: 92.08 kB / 436.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3119, allocations: 5.094 kB / 436.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3119, allocations: 7.344 kB / 436.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3119, allocations: 10.7 kB / 436.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3119, allocations: 0 / 436.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006132/0.3125, allocations: 0.596 MB / 437.3 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.3126, allocations: 95.42 kB / 437.4 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.3126, allocations: 13.7 kB / 437.4 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3128, allocations: 22.91 kB / 437.5 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.3129, allocations: 22.08 kB / 437.5 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.3129, allocations: 17.19 kB / 437.5 MB, free: 30.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.3129, allocations: 121.9 kB / 437.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.313, allocations: 0 / 437.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.3134, allocations: 100.2 kB / 437.7 MB, free: 30.88 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.0007555/0.3141, allocations: 1.146 MB / 438.9 MB, free: 30.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005749/0.3147, allocations: 395 kB / 439.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3147, allocations: 0 / 439.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.3149, allocations: 178.4 kB / 439.4 MB, free: 30.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3153, allocations: 43.7 kB / 439.5 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.3183, allocations: 2.534 MB / 442 MB, free: 28.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3185, allocations: 0.812 MB / 442.8 MB, free: 27.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.3187, allocations: 38.67 kB / 442.9 MB, free: 27.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.3189, allocations: 150.5 kB / 443 MB, free: 27.63 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3189, allocations: 0 / 443 MB, free: 27.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.3351, allocations: 5.761 MB / 448.8 MB, free: 27.31 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/0.3353, allocations: 169 kB / 448.9 MB, free: 27.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.226, allocations: 0 / 448.9 MB, free: 27.07 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: