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.001007/0.001007, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001113/0.001113, allocations: 195.1 kB / 16.14 MB, free: 6.688 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1522/0.1522, allocations: 12.26 MB / 302.2 MB, free: 1.309 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 365.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.08384, allocations: 52.08 MB / 417.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.1551/0.239, allocations: 5.929 MB / 423.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.2399, allocations: 472.2 kB / 423.7 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.2402, allocations: 26.09 kB / 423.7 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.2405, allocations: 64.59 kB / 423.7 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.2409, allocations: 93.88 kB / 423.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.2411, allocations: 84.22 kB / 423.9 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.2416, allocations: 441.6 kB / 424.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.2419, allocations: 210 kB / 424.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.2421, allocations: 176.5 kB / 424.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.2424, allocations: 222.1 kB / 424.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.2424, allocations: 38.94 kB / 425 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.761e-05/0.2425, allocations: 39.78 kB / 425 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.2426, allocations: 100.3 kB / 425.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.2428, allocations: 234.3 kB / 425.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.2432, allocations: 0.5078 MB / 425.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2432, allocations: 0 / 425.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2432, allocations: 2 kB / 425.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.2432, allocations: 3.938 kB / 425.9 MB, free: 36.04 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.0009016/0.2441, allocations: 0.7377 MB / 426.6 MB, free: 35.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2442, allocations: 12.09 kB / 426.6 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.036e-05/0.2442, allocations: 97.31 kB / 426.7 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.2443, allocations: 53.66 kB / 426.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2444, allocations: 216.6 kB / 427 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2444, allocations: 44.12 kB / 427 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.2445, allocations: 54.62 kB / 427.1 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.2451, allocations: 0.5211 MB / 427.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2452, allocations: 6.312 kB / 427.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.2452, allocations: 19.97 kB / 427.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2452, allocations: 16.12 kB / 427.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/0.2457, allocations: 369.4 kB / 428 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.2475, allocations: 1.586 MB / 429.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.248, allocations: 278 kB / 429.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.2481, allocations: 187.5 kB / 430 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.2482, allocations: 3.688 kB / 430 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.2482, allocations: 41.56 kB / 430.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.392e-06/0.2482, allocations: 2.594 kB / 430.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00287/0.2511, allocations: 1.415 MB / 431.5 MB, free: 34.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.2511, allocations: 55.36 kB / 431.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2512, allocations: 198.8 kB / 431.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2513, allocations: 29.7 kB / 431.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.2513, allocations: 272.9 kB / 432 MB, free: 33.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.2514, allocations: 160.5 kB / 432.2 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.2515, allocations: 93.8 kB / 432.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.2516, allocations: 343.1 kB / 432.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2517, allocations: 132.5 kB / 432.8 MB, free: 33.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.2519, allocations: 316.7 kB / 433.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/0.2553, allocations: 1.147 MB / 434.2 MB, free: 32.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2554, allocations: 4 kB / 434.2 MB, free: 32.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005763/0.2559, allocations: 0.517 MB / 434.7 MB, free: 32.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.256, allocations: 6.438 kB / 434.7 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.256, allocations: 10.31 kB / 434.7 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.256, allocations: 10.25 kB / 434.8 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.2565, allocations: 137.6 kB / 434.9 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2565, allocations: 12 kB / 434.9 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.2567, allocations: 35.84 kB / 434.9 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.2567, allocations: 22.34 kB / 435 MB, free: 32.05 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.0002906/0.257, allocations: 210.8 kB / 435.2 MB, free: 31.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.2571, allocations: 24.31 kB / 435.2 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.2571, allocations: 46.03 kB / 435.2 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2572, allocations: 6.031 kB / 435.2 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2572, allocations: 0 / 435.2 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2572, allocations: 7.797 kB / 435.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.2581, allocations: 0.8925 MB / 436.1 MB, free: 31.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2581, allocations: 0 / 436.1 MB, free: 31.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.2585, allocations: 89.39 kB / 436.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2585, allocations: 1.969 kB / 436.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.2586, allocations: 11.14 kB / 436.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2586, allocations: 3.281 kB / 436.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2586, allocations: 3.938 kB / 436.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.2591, allocations: 0.6125 MB / 436.9 MB, free: 30.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.2592, allocations: 95.3 kB / 437 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.2592, allocations: 9.719 kB / 437 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.2594, allocations: 21.83 kB / 437 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2595, allocations: 26.72 kB / 437 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2595, allocations: 10.53 kB / 437 MB, free: 30.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.605e-05/0.2596, allocations: 125 kB / 437.1 MB, free: 30.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2596, allocations: 0 / 437.1 MB, free: 30.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.2599, allocations: 102.7 kB / 437.2 MB, free: 30.72 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.0007003/0.2606, allocations: 1.161 MB / 438.4 MB, free: 29.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.2611, allocations: 394 kB / 438.8 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2611, allocations: 0 / 438.8 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2613, allocations: 173.6 kB / 439 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.2616, allocations: 46.98 kB / 439 MB, free: 29.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.2647, allocations: 3.886 MB / 442.9 MB, free: 26.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.2649, allocations: 0.8222 MB / 443.7 MB, free: 26.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.2651, allocations: 39.94 kB / 443.8 MB, free: 26.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.2652, allocations: 149.4 kB / 443.9 MB, free: 25.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2652, allocations: 4 kB / 443.9 MB, free: 25.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.2979, allocations: 5.993 MB / 449.9 MB, free: 25.54 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001225/0.298, allocations: 180.5 kB / 450.1 MB, free: 25.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.099, allocations: 0 / 450.1 MB, free: 25.29 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)