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.0008765/0.0008766, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005045/0.005045, allocations: 172 kB / 16.27 MB, free: 6.652 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1415/0.1415, allocations: 12.27 MB / 303.7 MB, free: 2.004 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002556, allocations: 8 kB / 367.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07841/0.07867, allocations: 53.09 MB / 420.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.152/0.2307, allocations: 5.443 MB / 426.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006857/0.2315, allocations: 466.6 kB / 426.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.2316, allocations: 29.12 kB / 426.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.2317, allocations: 66.06 kB / 426.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.232, allocations: 92.52 kB / 426.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.2322, allocations: 91.88 kB / 426.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.2325, allocations: 431 kB / 427.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.2328, allocations: 211.5 kB / 427.5 MB, free: 35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.953e-05/0.2329, allocations: 146 kB / 427.7 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.2331, allocations: 182.3 kB / 427.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.2331, allocations: 24.75 kB / 427.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.2332, allocations: 22.41 kB / 427.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.2332, allocations: 77.64 kB / 428 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.2333, allocations: 235.3 kB / 428.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.2336, allocations: 497.6 kB / 428.7 MB, free: 34.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2336, allocations: 0.5 kB / 428.7 MB, free: 34.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2336, allocations: 1.125 kB / 428.7 MB, free: 34.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2336, allocations: 0 / 428.7 MB, free: 34.72 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.0006676/0.2343, allocations: 0.6285 MB / 429.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2344, allocations: 18.75 kB / 429.3 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.2345, allocations: 101.4 kB / 429.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.2345, allocations: 54.91 kB / 429.5 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.82e-05/0.2346, allocations: 220.3 kB / 429.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.2347, allocations: 44.25 kB / 429.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.2347, allocations: 65.16 kB / 429.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.2353, allocations: 0.5113 MB / 430.3 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.2353, allocations: 8.438 kB / 430.3 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.2354, allocations: 22.22 kB / 430.3 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.2354, allocations: 12.31 kB / 430.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.2359, allocations: 369.5 kB / 430.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.2376, allocations: 1.571 MB / 432.3 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.238, allocations: 277 kB / 432.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.2383, allocations: 190.9 kB / 432.7 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2383, allocations: 8.344 kB / 432.8 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.2383, allocations: 34.36 kB / 432.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.272e-06/0.2383, allocations: 0 / 432.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002855/0.2412, allocations: 1.422 MB / 434.2 MB, free: 32.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.2412, allocations: 56.61 kB / 434.3 MB, free: 32.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2413, allocations: 186.7 kB / 434.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2414, allocations: 35.3 kB / 434.5 MB, free: 32.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.2414, allocations: 276.2 kB / 434.8 MB, free: 32.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.2415, allocations: 154.7 kB / 434.9 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.2416, allocations: 50.12 kB / 435 MB, free: 32.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.2416, allocations: 340.7 kB / 435.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.2418, allocations: 130.5 kB / 435.4 MB, free: 32.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.242, allocations: 320.3 kB / 435.7 MB, free: 31.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.2456, allocations: 1.197 MB / 436.9 MB, free: 31.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2456, allocations: 3.219 kB / 436.9 MB, free: 31.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005565/0.2462, allocations: 0.5171 MB / 437.4 MB, free: 31.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2462, allocations: 10.38 kB / 437.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.2462, allocations: 11.06 kB / 437.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2462, allocations: 13.09 kB / 437.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.2467, allocations: 131.6 kB / 437.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.2467, allocations: 16.97 kB / 437.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.2469, allocations: 26.84 kB / 437.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.2469, allocations: 27.34 kB / 437.7 MB, free: 31.42 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.0002366/0.2472, allocations: 205.8 kB / 437.9 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.2472, allocations: 24.09 kB / 437.9 MB, free: 31.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.2473, allocations: 48.88 kB / 437.9 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2473, allocations: 6.469 kB / 438 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.2474, allocations: 0.5625 kB / 438 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2474, allocations: 3.938 kB / 438 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/0.2483, allocations: 0.8954 MB / 438.9 MB, free: 30.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2483, allocations: 0.5625 kB / 438.9 MB, free: 30.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.2487, allocations: 88.92 kB / 438.9 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2487, allocations: 3.281 kB / 438.9 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.2487, allocations: 11.86 kB / 439 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2487, allocations: 4.438 kB / 439 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2487, allocations: 0 / 439 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.2494, allocations: 0.61 MB / 439.6 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.2494, allocations: 100.7 kB / 439.7 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.2494, allocations: 7.844 kB / 439.7 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.2496, allocations: 13.59 kB / 439.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.2497, allocations: 27.38 kB / 439.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.2497, allocations: 17.69 kB / 439.7 MB, free: 30.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.543e-05/0.2498, allocations: 125.2 kB / 439.9 MB, free: 30.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2498, allocations: 0 / 439.9 MB, free: 30.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.2501, allocations: 101.5 kB / 440 MB, free: 30.49 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.0006804/0.2508, allocations: 1.161 MB / 441.1 MB, free: 29.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004152/0.2512, allocations: 393.2 kB / 441.5 MB, free: 29.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2512, allocations: 0 / 441.5 MB, free: 29.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2514, allocations: 172.7 kB / 441.7 MB, free: 29.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.2518, allocations: 50.11 kB / 441.7 MB, free: 29.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.2548, allocations: 3.994 MB / 445.7 MB, free: 26.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.255, allocations: 0.8234 MB / 446.5 MB, free: 25.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.2552, allocations: 40.14 kB / 446.6 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.2553, allocations: 146.7 kB / 446.7 MB, free: 25.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2553, allocations: 2.719 kB / 446.7 MB, free: 25.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5014/0.7567, allocations: 5.894 MB / 452.6 MB, free: 25.3 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.7569, allocations: 179.3 kB / 452.8 MB, free: 25.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.527, allocations: 0 / 452.8 MB, free: 25.04 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)