Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BioChem_BioChem.Examples.GMO.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.GMO.cell,fileNamePrefix="BioChem_BioChem_Examples_GMO_cell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BioChem.Examples.GMO.cell,fileNamePrefix="BioChem_BioChem_Examples_GMO_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.001063/0.001063, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001113/0.001113, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 3.258/3.258, allocations: 12.26 MB / 302.3 MB, free: 1.309 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.84 kB / 365.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1127, allocations: 52.07 MB / 417.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.GMO.cell): time 0.008396/0.1211, allocations: 4.411 MB / 421.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003599/0.1215, allocations: 311.1 kB / 422.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1216, allocations: 16 kB / 422.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.1218, allocations: 35.8 kB / 422.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.122, allocations: 59.47 kB / 422.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.1222, allocations: 67.94 kB / 422.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.1225, allocations: 303.1 kB / 422.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.1228, allocations: 156.4 kB / 422.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1229, allocations: 131.5 kB / 422.9 MB, free: 392 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1231, allocations: 159.3 kB / 423.1 MB, free: 232 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.1232, allocations: 32 kB / 423.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.1232, allocations: 36 kB / 423.1 MB, free: 164 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.1233, allocations: 75.75 kB / 423.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.234/0.3573, allocations: 154.9 kB / 423.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.3578, allocations: 352.8 kB / 423.7 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3578, allocations: 0.5156 kB / 423.7 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3578, allocations: 0 / 423.7 MB, free: 36.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3578, allocations: 0 / 423.7 MB, free: 36.7 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008801/0.3587, allocations: 0.6067 MB / 424.3 MB, free: 36.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.3588, allocations: 12.25 kB / 424.3 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.811e-05/0.3589, allocations: 72.44 kB / 424.4 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.3589, allocations: 37.06 kB / 424.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3591, allocations: 205.7 kB / 424.6 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3591, allocations: 28.47 kB / 424.7 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.3592, allocations: 40 kB / 424.7 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.3597, allocations: 306.1 kB / 425 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3598, allocations: 4.656 kB / 425 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.3598, allocations: 16.34 kB / 425 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3598, allocations: 9.094 kB / 425 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.3603, allocations: 246.8 kB / 425.3 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.362, allocations: 1.036 MB / 426.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3623, allocations: 185.7 kB / 426.5 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.3625, allocations: 119.2 kB / 426.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3625, allocations: 3.062 kB / 426.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3626, allocations: 40.62 kB / 426.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.3626, allocations: 0 / 426.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001833/0.3644, allocations: 0.8873 MB / 427.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.3645, allocations: 55.28 kB / 427.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3646, allocations: 168.4 kB / 427.8 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3646, allocations: 29.14 kB / 427.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.3647, allocations: 219.1 kB / 428 MB, free: 34.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.3647, allocations: 97.44 kB / 428.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.3648, allocations: 67.86 kB / 428.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.3649, allocations: 333.8 kB / 428.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.365, allocations: 81.2 kB / 428.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.3652, allocations: 197.3 kB / 428.8 MB, free: 34.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.3681, allocations: 0.8171 MB / 429.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3681, allocations: 4.219 kB / 429.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004995/0.3686, allocations: 341.8 kB / 429.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3687, allocations: 6.375 kB / 429.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3687, allocations: 6.562 kB / 429.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3687, allocations: 7.344 kB / 429.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.369, allocations: 80.17 kB / 430 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.369, allocations: 8.281 kB / 430 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.3692, allocations: 15.72 kB / 430 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.3692, allocations: 16.69 kB / 430.1 MB, free: 34.18 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: V:VARIABLE(start = 1.0 fixed = true stateSelect=StateSelect.prefer ) "Compartment volume" type: Real ambientSubstance.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real X.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 C.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: 16 * 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 (46): * Single equations (assignments): 46 * 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.0003169/0.3696, allocations: 178.2 kB / 430.2 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.3696, allocations: 16.81 kB / 430.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.3697, allocations: 31.88 kB / 430.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3697, allocations: 3.156 kB / 430.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3697, allocations: 1.844 kB / 430.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3697, allocations: 1.219 kB / 430.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.3701, allocations: 366.5 kB / 430.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3701, allocations: 2.656 kB / 430.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.3704, allocations: 48.86 kB / 430.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3704, allocations: 0 / 430.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3704, allocations: 10.38 kB / 430.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3704, allocations: 0 / 430.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3705, allocations: 2.25 kB / 430.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.3709, allocations: 432.9 kB / 431.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.371, allocations: 92.89 kB / 431.2 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.371, allocations: 5.469 kB / 431.2 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.3712, allocations: 11.88 kB / 431.2 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3712, allocations: 18.53 kB / 431.2 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.3712, allocations: 9.047 kB / 431.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.3713, allocations: 118.6 kB / 431.4 MB, free: 33.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3713, allocations: 0 / 431.4 MB, free: 33.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.3716, allocations: 62.81 kB / 431.4 MB, free: 33.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (V,C.n,M.n,X.n,ambientSubstance.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 (26): * Single equations (assignments): 26 * 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.0006027/0.3722, allocations: 0.9751 MB / 432.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.3726, allocations: 255.6 kB / 432.7 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3726, allocations: 1.031 kB / 432.7 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3728, allocations: 116.6 kB / 432.8 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3731, allocations: 22.41 kB / 432.8 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.3758, allocations: 2.872 MB / 435.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3761, allocations: 0.7766 MB / 436.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.3762, allocations: 27.7 kB / 436.5 MB, free: 30.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3763, allocations: 91.41 kB / 436.6 MB, free: 29.96 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3763, allocations: 0 / 436.6 MB, free: 29.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.3941, allocations: 4.18 MB / 440.7 MB, free: 29.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.3943, allocations: 158.8 kB / 440.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.186, allocations: 0 / 440.9 MB, free: 29.38 MB / 350.1 MB (rm -f BioChem_BioChem.Examples.GMO.cell.pipe ; mkfifo BioChem_BioChem.Examples.GMO.cell.pipe ; head -c 1048576 < BioChem_BioChem.Examples.GMO.cell.pipe >> ../files/BioChem_BioChem.Examples.GMO.cell.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BioChem_BioChem_Examples_GMO_cell_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BioChem_BioChem_Examples_GMO_cell.fmu > BioChem_BioChem.Examples.GMO.cell.pipe 2>&1)