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.001403/0.001403, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.00175/0.00175, allocations: 196.4 kB / 16.25 MB, free: 6.625 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1684/0.1684, allocations: 12.27 MB / 302.3 MB, free: 1.285 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001145, allocations: 59.91 kB / 365.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.108, allocations: 52.08 MB / 417.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.008672/0.1167, allocations: 5.929 MB / 423.3 MB, free: 0 / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1777/0.2945, allocations: 474.2 kB / 423.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.2947, allocations: 23.78 kB / 423.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.2948, allocations: 62.83 kB / 423.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.2951, allocations: 99.11 kB / 423.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.2953, allocations: 81.5 kB / 424 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.2957, allocations: 450.4 kB / 424.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.296, allocations: 241.8 kB / 424.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.2961, allocations: 194.4 kB / 424.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.2963, allocations: 225.8 kB / 425.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.2964, allocations: 49.94 kB / 425.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.112e-05/0.2965, allocations: 50.31 kB / 425.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.2965, allocations: 108.6 kB / 425.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.2967, allocations: 247.3 kB / 425.5 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.2971, allocations: 0.52 MB / 426.1 MB, free: 36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2971, allocations: 3.938 kB / 426.1 MB, free: 36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2971, allocations: 3.312 kB / 426.1 MB, free: 36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.2971, allocations: 1.688 kB / 426.1 MB, free: 36 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.0007669/0.2979, allocations: 0.7336 MB / 426.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2979, allocations: 12.53 kB / 426.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.298, allocations: 49.22 kB / 426.9 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.36e-05/0.2981, allocations: 218.5 kB / 427.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2981, allocations: 45.25 kB / 427.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.2982, allocations: 57.56 kB / 427.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.2988, allocations: 0.5126 MB / 427.7 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.2988, allocations: 192 / 427.7 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.2988, allocations: 31.5 kB / 427.7 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.2989, allocations: 13.47 kB / 427.7 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.2993, allocations: 366.9 kB / 428.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.3011, allocations: 1.588 MB / 429.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.3014, allocations: 286.2 kB / 430 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3016, allocations: 189.2 kB / 430.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3017, allocations: 3.969 kB / 430.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.3017, allocations: 33.75 kB / 430.2 MB, free: 34.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.352e-06/0.3017, allocations: 0 / 430.2 MB, free: 34.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002688/0.3044, allocations: 1.418 MB / 431.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.3044, allocations: 61.75 kB / 431.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3045, allocations: 187.9 kB / 431.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3046, allocations: 37.08 kB / 431.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.3046, allocations: 265.6 kB / 432.1 MB, free: 33.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.3047, allocations: 165.5 kB / 432.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/0.3048, allocations: 99.95 kB / 432.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.3049, allocations: 339 kB / 432.7 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.305, allocations: 131.4 kB / 432.8 MB, free: 33.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3052, allocations: 316.7 kB / 433.2 MB, free: 32.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.3084, allocations: 1.149 MB / 434.3 MB, free: 32.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3084, allocations: 3.406 kB / 434.3 MB, free: 32.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000545/0.3089, allocations: 0.5209 MB / 434.8 MB, free: 32.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.309, allocations: 7.281 kB / 434.8 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.309, allocations: 6.625 kB / 434.8 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.309, allocations: 10.5 kB / 434.9 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.3094, allocations: 138.3 kB / 435 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.3094, allocations: 14.38 kB / 435 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.3097, allocations: 32.72 kB / 435 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.3097, allocations: 23.94 kB / 435.1 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.000275/0.31, allocations: 205.8 kB / 435.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.31, allocations: 24.81 kB / 435.3 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.3101, allocations: 45.66 kB / 435.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3101, allocations: 10.12 kB / 435.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3101, allocations: 0 / 435.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3101, allocations: 3.281 kB / 435.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008851/0.311, allocations: 0.8978 MB / 436.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.311, allocations: 0 / 436.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.3114, allocations: 90 kB / 436.3 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3115, allocations: 0.8125 kB / 436.3 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.3115, allocations: 11.17 kB / 436.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.3115, allocations: 13.19 kB / 436.4 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3115, allocations: 0 / 436.4 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.3121, allocations: 0.6059 MB / 437 MB, free: 30.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.3121, allocations: 94.95 kB / 437.1 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.3121, allocations: 7.906 kB / 437.1 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.3123, allocations: 21.53 kB / 437.1 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3124, allocations: 27.12 kB / 437.1 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3124, allocations: 16.39 kB / 437.1 MB, free: 30.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.494e-05/0.3124, allocations: 120.7 kB / 437.2 MB, free: 30.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3125, allocations: 0 / 437.2 MB, free: 30.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00036/0.3128, allocations: 102.2 kB / 437.3 MB, free: 30.71 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 8.223e-05/0.3129, allocations: 111.7 kB / 437.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004966/0.3134, allocations: 421 kB / 437.9 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3134, allocations: 0 / 437.9 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.3136, allocations: 180.7 kB / 438 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3139, allocations: 46.56 kB / 438.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.3154, allocations: 1.354 MB / 439.4 MB, free: 29.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.3156, allocations: 0.8145 MB / 440.3 MB, free: 28.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.3157, allocations: 40.47 kB / 440.3 MB, free: 28.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.3158, allocations: 37.02 kB / 440.3 MB, free: 28.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3158, allocations: 0 / 440.3 MB, free: 28.77 MB / 350.1 MB Notification: Performance of Templates: time 0.005876/0.3217, allocations: 3.279 MB / 443.6 MB, free: 28.62 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)