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: translateModel(BioChem.Examples.CellDivison.cell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=-2,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.CellDivison.cell") translateModel(BioChem.Examples.CellDivison.cell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=-2,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.CellDivison.cell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001086/0.001087, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1605/0.1605, allocations: 12.26 MB / 302.2 MB, free: 1.332 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 64.14 kB / 365.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08646, allocations: 52.07 MB / 417.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.007372/0.09386, allocations: 5.933 MB / 423.1 MB, free: 116 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1633/0.2572, allocations: 468.2 kB / 423.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004436/0.2577, allocations: 26.41 kB / 423.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.2581, allocations: 61.12 kB / 423.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.2587, allocations: 99.45 kB / 423.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.2591, allocations: 85.05 kB / 423.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006227/0.2597, allocations: 432.3 kB / 424.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.2601, allocations: 210.3 kB / 424.5 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.2605, allocations: 176.6 kB / 424.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.2608, allocations: 224.1 kB / 424.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.2609, allocations: 38.62 kB / 424.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.2609, allocations: 40.03 kB / 424.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.261, allocations: 99.19 kB / 425 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.2612, allocations: 232.5 kB / 425.2 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.2617, allocations: 0.5114 MB / 425.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.2617, allocations: 0.9375 kB / 425.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2617, allocations: 6.094 kB / 425.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2617, allocations: 0 / 425.8 MB, free: 35.91 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.0008489/0.2625, allocations: 0.7361 MB / 426.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2626, allocations: 8.5 kB / 426.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.2627, allocations: 49.47 kB / 426.6 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2628, allocations: 216.2 kB / 426.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2628, allocations: 46.25 kB / 426.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.2629, allocations: 61.86 kB / 426.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.2635, allocations: 0.5115 MB / 427.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2635, allocations: 192 / 427.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.2636, allocations: 29.84 kB / 427.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2636, allocations: 19.41 kB / 427.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.2641, allocations: 362.3 kB / 427.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.2662, allocations: 1.589 MB / 429.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.2666, allocations: 282.1 kB / 429.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.2668, allocations: 183.4 kB / 429.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2668, allocations: 6.891 kB / 429.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.2668, allocations: 35.75 kB / 429.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.342e-06/0.2669, allocations: 0 / 429.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002838/0.2697, allocations: 1.42 MB / 431.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2697, allocations: 59.3 kB / 431.4 MB, free: 34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2699, allocations: 188.3 kB / 431.5 MB, free: 33.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2699, allocations: 32.98 kB / 431.6 MB, free: 33.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.27, allocations: 275.7 kB / 431.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.27, allocations: 155.6 kB / 432 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.2701, allocations: 103.5 kB / 432.1 MB, free: 33.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.2702, allocations: 340 kB / 432.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.2704, allocations: 131.2 kB / 432.5 MB, free: 33.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.2706, allocations: 309.3 kB / 432.9 MB, free: 32.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/0.2739, allocations: 1.153 MB / 434 MB, free: 32.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2739, allocations: 0 / 434 MB, free: 32.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006929/0.2746, allocations: 0.5228 MB / 434.5 MB, free: 32.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.2747, allocations: 10 kB / 434.5 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2747, allocations: 3.344 kB / 434.5 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.2747, allocations: 13.84 kB / 434.6 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.2752, allocations: 137.3 kB / 434.7 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.2752, allocations: 15.11 kB / 434.7 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.2755, allocations: 27.08 kB / 434.7 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.2755, allocations: 27.72 kB / 434.8 MB, free: 32.09 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.0004082/0.2759, allocations: 210.1 kB / 435 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.276, allocations: 25.58 kB / 435 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.445e-05/0.2761, allocations: 42.12 kB / 435 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.2761, allocations: 3.406 kB / 435 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.2761, allocations: 6.391 kB / 435 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2761, allocations: 7.562 kB / 435 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2771, allocations: 0.8936 MB / 435.9 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2772, allocations: 0.9375 kB / 435.9 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.2776, allocations: 91.5 kB / 436 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2776, allocations: 3.094 kB / 436 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.2776, allocations: 10.39 kB / 436 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2776, allocations: 0 / 436 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2776, allocations: 3.938 kB / 436 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/0.2782, allocations: 0.6102 MB / 436.7 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.2783, allocations: 101.9 kB / 436.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.2783, allocations: 7.438 kB / 436.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2785, allocations: 18.19 kB / 436.8 MB, free: 30.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.2785, allocations: 32.28 kB / 436.8 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.2786, allocations: 10.38 kB / 436.8 MB, free: 30.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.2786, allocations: 125.7 kB / 436.9 MB, free: 30.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2786, allocations: 0 / 436.9 MB, free: 30.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.279, allocations: 105.1 kB / 437 MB, free: 30.76 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 9.882e-05/0.2791, allocations: 105.8 kB / 437.1 MB, free: 30.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004783/0.2796, allocations: 407.2 kB / 437.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2796, allocations: 0 / 437.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.2798, allocations: 175.8 kB / 437.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.2802, allocations: 53.53 kB / 437.8 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.2819, allocations: 1.346 MB / 439.1 MB, free: 29.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.2821, allocations: 0.8112 MB / 439.9 MB, free: 28.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.2822, allocations: 44.08 kB / 440 MB, free: 28.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.2823, allocations: 33.47 kB / 440 MB, free: 28.83 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2823, allocations: 0 / 440 MB, free: 28.83 MB / 350.1 MB Notification: Performance of Templates: time 0.006016/0.2883, allocations: 3.121 MB / 443.1 MB, free: 28.68 MB / 350.1 MB make -j1 -f BioChem_BioChem.Examples.CellDivison.cell.makefile (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 & ./BioChem_BioChem.Examples.CellDivison.cell -abortSlowSimulation -alarm=480 -lv LOG_STATS > BioChem_BioChem.Examples.CellDivison.cell.pipe 2>&1)