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.001825/0.001825, allocations: 104.3 kB / 15.98 MB, free: 6.355 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.001924/0.001925, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.634/1.634, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.06631/0.06631, allocations: 12.27 MB / 303 MB, free: 3.262 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.91 kB / 365.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3432, allocations: 52.08 MB / 418 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.007632/0.3509, allocations: 5.928 MB / 423.9 MB, free: 16.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005605/0.3515, allocations: 477.5 kB / 424.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3516, allocations: 24 kB / 424.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.3518, allocations: 63.64 kB / 424.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.3521, allocations: 96.58 kB / 424.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3523, allocations: 88.75 kB / 424.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.3527, allocations: 450.7 kB / 425.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/0.3531, allocations: 243.6 kB / 425.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3533, allocations: 187.4 kB / 425.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3535, allocations: 227 kB / 425.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.3535, allocations: 48 kB / 425.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.3536, allocations: 49.62 kB / 425.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.3537, allocations: 107.7 kB / 426 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.3539, allocations: 250.8 kB / 426.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.3542, allocations: 401.1 kB / 426.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3542, allocations: 5.609 kB / 426.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3542, allocations: 0 / 426.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.3542, allocations: 0 / 426.6 MB, free: 13.54 MB / 302.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.0009019/0.3551, allocations: 0.7347 MB / 427.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.3552, allocations: 8.656 kB / 427.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.233e-05/0.3553, allocations: 52.38 kB / 427.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3554, allocations: 220.2 kB / 427.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.3555, allocations: 42.69 kB / 427.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/0.3556, allocations: 60.36 kB / 427.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.3563, allocations: 0.5172 MB / 428.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.3563, allocations: 4.094 kB / 428.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.3564, allocations: 24.88 kB / 428.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3564, allocations: 16 kB / 428.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.3569, allocations: 369 kB / 428.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.3589, allocations: 1.585 MB / 430.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.3594, allocations: 286.4 kB / 430.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.3596, allocations: 190.4 kB / 430.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.3596, allocations: 4 kB / 430.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3596, allocations: 42.56 kB / 430.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.322e-06/0.3597, allocations: 0 / 430.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003015/0.3627, allocations: 1.413 MB / 432.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3627, allocations: 59.41 kB / 432.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3629, allocations: 191.8 kB / 432.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3629, allocations: 33.7 kB / 432.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.363, allocations: 263.6 kB / 432.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/0.3631, allocations: 161.7 kB / 432.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.812e-05/0.3632, allocations: 94.16 kB / 432.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.3633, allocations: 338.8 kB / 433.2 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3634, allocations: 137.1 kB / 433.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.3637, allocations: 304.2 kB / 433.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.367, allocations: 1.156 MB / 434.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.367, allocations: 0 / 434.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005859/0.3676, allocations: 0.5234 MB / 435.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3676, allocations: 8 kB / 435.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3676, allocations: 4 kB / 435.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.3677, allocations: 11.94 kB / 435.4 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.3681, allocations: 139.8 kB / 435.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.3681, allocations: 15.97 kB / 435.5 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.3684, allocations: 28 kB / 435.6 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3684, allocations: 28.03 kB / 435.6 MB, free: 4.113 MB / 302.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.0004081/0.3688, allocations: 214.9 kB / 435.8 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.3689, allocations: 27.62 kB / 435.8 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.777e-05/0.369, allocations: 50.92 kB / 435.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.369, allocations: 4 kB / 435.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.369, allocations: 0 / 435.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.369, allocations: 0 / 435.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009836/0.37, allocations: 0.905 MB / 436.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.37, allocations: 0 / 436.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.3704, allocations: 95.88 kB / 436.9 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3704, allocations: 0 / 436.9 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.3705, allocations: 8 kB / 436.9 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3705, allocations: 4 kB / 436.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3705, allocations: 0 / 436.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.3711, allocations: 0.6029 MB / 437.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.3712, allocations: 100.8 kB / 437.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.3712, allocations: 4 kB / 437.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3714, allocations: 19.91 kB / 437.6 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.3714, allocations: 27.89 kB / 437.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.3715, allocations: 16 kB / 437.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.43e-05/0.3716, allocations: 124.1 kB / 437.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3716, allocations: 4 kB / 437.8 MB, free: 1.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.3719, allocations: 100 kB / 437.9 MB, free: 1.723 MB / 302.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.0001019/0.372, allocations: 111.1 kB / 438 MB, free: 1.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.3726, allocations: 422.2 kB / 438.4 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3726, allocations: 0 / 438.4 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.3728, allocations: 175.9 kB / 438.6 MB, free: 1.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3732, allocations: 48.48 kB / 438.6 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.375, allocations: 1.386 MB / 440 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.3756, allocations: 0.8112 MB / 440.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3757, allocations: 35.42 kB / 440.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3757, allocations: 0 / 440.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of Templates: time 0.006756/0.3825, allocations: 4.056 MB / 444.9 MB, free: 10.61 MB / 318.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)