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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 104.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002246/0.002246, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.0684/0.0684, allocations: 12.41 MB / 315.1 MB, free: 280 kB / 238.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 439.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3116, allocations: 54.92 MB / 494.5 MB, free: 22.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.00819/0.3198, allocations: 5.82 MB / 0.4885 GB, free: 19.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005836/0.3204, allocations: 458.9 kB / 0.489 GB, free: 18.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.3206, allocations: 28.25 kB / 0.489 GB, free: 18.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.3207, allocations: 81.2 kB / 0.4891 GB, free: 18.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.3209, allocations: 113.9 kB / 0.4892 GB, free: 18.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3212, allocations: 103.7 kB / 0.4893 GB, free: 18.51 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.3216, allocations: 460.4 kB / 0.4897 GB, free: 18.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.3219, allocations: 182.5 kB / 0.4899 GB, free: 18.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.322, allocations: 184.2 kB / 0.4901 GB, free: 18.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3223, allocations: 227.6 kB / 0.4903 GB, free: 17.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.3223, allocations: 48.19 kB / 0.4904 GB, free: 17.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.3224, allocations: 48.84 kB / 0.4904 GB, free: 17.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.3225, allocations: 110.8 kB / 0.4905 GB, free: 17.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.3227, allocations: 250.3 kB / 0.4907 GB, free: 17.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.3232, allocations: 0.5307 MB / 0.4913 GB, free: 17.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3232, allocations: 1.594 kB / 0.4913 GB, free: 17.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3232, allocations: 4 kB / 0.4913 GB, free: 17.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.3232, allocations: 3.938 kB / 0.4913 GB, free: 17.43 MB / 366.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.0009136/0.3241, allocations: 0.7395 MB / 0.492 GB, free: 16.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3242, allocations: 10 kB / 0.492 GB, free: 16.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.656e-05/0.3243, allocations: 101.2 kB / 0.4921 GB, free: 16.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.3243, allocations: 53.73 kB / 0.4921 GB, free: 16.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3245, allocations: 216 kB / 0.4924 GB, free: 16.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.3245, allocations: 48.88 kB / 0.4924 GB, free: 16.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.3246, allocations: 58.38 kB / 0.4925 GB, free: 16.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.3252, allocations: 0.5109 MB / 0.493 GB, free: 16.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.3253, allocations: 8.938 kB / 0.493 GB, free: 16.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.3253, allocations: 29.59 kB / 0.493 GB, free: 16.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.3253, allocations: 14.78 kB / 0.493 GB, free: 16.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.3258, allocations: 361.2 kB / 0.4934 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.3278, allocations: 1.588 MB / 0.4949 GB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.3283, allocations: 264.9 kB / 0.4952 GB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.3285, allocations: 171.9 kB / 0.4953 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3285, allocations: 11.23 kB / 0.4953 GB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.3285, allocations: 36.94 kB / 0.4954 GB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.3286, allocations: 0 / 0.4954 GB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.003049/0.3316, allocations: 1.421 MB / 0.4968 GB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.3316, allocations: 55.94 kB / 0.4968 GB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.3318, allocations: 191.1 kB / 0.497 GB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3318, allocations: 34.73 kB / 0.497 GB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/0.3319, allocations: 282.7 kB / 0.4973 GB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.3319, allocations: 161 kB / 0.4974 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.332, allocations: 96.55 kB / 0.4975 GB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.361e-05/0.3321, allocations: 336.4 kB / 0.4979 GB, free: 12.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.3323, allocations: 133.1 kB / 0.498 GB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.3325, allocations: 312.1 kB / 0.4983 GB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003361/0.3359, allocations: 1.146 MB / 0.4994 GB, free: 11.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3359, allocations: 1.25 kB / 0.4994 GB, free: 11.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006884/0.3366, allocations: 0.5215 MB / 0.4999 GB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3366, allocations: 6.875 kB / 0.4999 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3366, allocations: 9.438 kB / 0.4999 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3366, allocations: 9.625 kB / 0.4999 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.3371, allocations: 135.8 kB / 0.5001 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.3371, allocations: 24.7 kB / 0.5001 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.3373, allocations: 24 kB / 0.5001 GB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.3373, allocations: 27.72 kB / 0.5001 GB, free: 11.14 MB / 366.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 = 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.000338/0.3376, allocations: 195.6 kB / 0.5003 GB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.3377, allocations: 23.3 kB / 0.5003 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.2e-05/0.3378, allocations: 50.95 kB / 0.5004 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3378, allocations: 4.375 kB / 0.5004 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.3378, allocations: 0 / 0.5004 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3378, allocations: 4 kB / 0.5004 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.3389, allocations: 0.901 MB / 0.5013 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3389, allocations: 0 / 0.5013 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.3394, allocations: 91.25 kB / 0.5014 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3394, allocations: 1.375 kB / 0.5014 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.3394, allocations: 6.75 kB / 0.5014 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3394, allocations: 2.75 kB / 0.5014 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3394, allocations: 3.938 kB / 0.5014 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.3402, allocations: 0.6045 MB / 0.502 GB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.3402, allocations: 98.86 kB / 0.5021 GB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.3402, allocations: 7.031 kB / 0.5021 GB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.3404, allocations: 10.28 kB / 0.5021 GB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.3404, allocations: 19.97 kB / 0.5021 GB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3405, allocations: 15.61 kB / 0.5021 GB, free: 9.691 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.859e-05/0.3405, allocations: 125.8 kB / 0.5022 GB, free: 9.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3405, allocations: 5.438 kB / 0.5022 GB, free: 9.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004808/0.341, allocations: 101.8 kB / 0.5023 GB, free: 9.574 MB / 366.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.0009037/0.3419, allocations: 1.158 MB / 0.5035 GB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.3426, allocations: 366.3 kB / 0.5038 GB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.3426, allocations: 1.5 kB / 0.5038 GB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.3428, allocations: 159.5 kB / 0.504 GB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.3432, allocations: 58.92 kB / 0.504 GB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.347, allocations: 3.711 MB / 0.5077 GB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3473, allocations: 0.8132 MB / 0.5084 GB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.3475, allocations: 38.25 kB / 0.5085 GB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.3477, allocations: 144.7 kB / 0.5086 GB, free: 4.555 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3477, allocations: 0 / 0.5086 GB, free: 4.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3781, allocations: 6.472 MB / 0.5149 GB, free: 14.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/8.697, allocations: 7.5 kB / 0.515 GB, free: 14.26 MB / 382.1 MB " [Timeout remaining time 651] (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 --stepSize=100 --timeout=50 --tolerance=1e-06 BioChem_BioChem_Examples_CellDivison_cell.fmu > BioChem_BioChem.Examples.CellDivison.cell.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.222225397825241] Failed to read output from testmodel.py, exit status != 0: 8.76882991520688 8.784336227 8.458198827 Calling exit ...