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.002391/0.00239, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 191.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.645/2.645, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.5233/0.5233, allocations: 12.27 MB / 302.7 MB, free: 1.324 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 63.91 kB / 365.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2411, allocations: 52.08 MB / 418 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.GMO.cell): time 0.01785/0.259, allocations: 4.307 MB / 422.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.261, allocations: 295.3 kB / 422.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009855/0.2621, allocations: 16 kB / 422.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.2625, allocations: 55.53 kB / 422.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004218/0.2631, allocations: 71.3 kB / 422.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.2637, allocations: 71.84 kB / 422.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009863/0.2648, allocations: 295.2 kB / 423 MB, free: 464 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.2655, allocations: 164.4 kB / 423.2 MB, free: 300 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.2657, allocations: 127.6 kB / 423.3 MB, free: 172 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.266, allocations: 159.3 kB / 423.5 MB, free: 12 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.5411/0.8071, allocations: 34.36 kB / 423.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.8076, allocations: 30.78 kB / 423.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.8079, allocations: 73.95 kB / 423.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005939/0.8085, allocations: 161.5 kB / 423.8 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.8095, allocations: 346.6 kB / 424.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.8096, allocations: 1.516 kB / 424.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8096, allocations: 0 / 424.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.8096, allocations: 0 / 424.1 MB, free: 36.89 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.002077/0.8117, allocations: 0.6092 MB / 424.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.8118, allocations: 11.72 kB / 424.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.8119, allocations: 77.27 kB / 424.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.812, allocations: 35.59 kB / 424.8 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.8123, allocations: 202.6 kB / 425 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.8125, allocations: 32.22 kB / 425.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/0.8128, allocations: 35.41 kB / 425.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.8142, allocations: 313.8 kB / 425.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.8143, allocations: 8.906 kB / 425.4 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.8143, allocations: 12.28 kB / 425.4 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.8143, allocations: 11.23 kB / 425.5 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.815, allocations: 242.3 kB / 425.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004264/0.8193, allocations: 1.039 MB / 426.7 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.8201, allocations: 179.8 kB / 426.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.8203, allocations: 128.8 kB / 427 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.8204, allocations: 3.281 kB / 427 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.8204, allocations: 37.5 kB / 427.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 4.478e-06/0.8204, allocations: 0.625 kB / 427.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.003195/0.8236, allocations: 0.8882 MB / 428 MB, free: 35.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.8238, allocations: 53.97 kB / 428 MB, free: 35.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.8241, allocations: 172.1 kB / 428.2 MB, free: 35.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.8242, allocations: 29.14 kB / 428.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.8245, allocations: 213.3 kB / 428.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.8247, allocations: 91.44 kB / 428.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.825, allocations: 70.62 kB / 428.6 MB, free: 34.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8252, allocations: 342.7 kB / 428.9 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.8254, allocations: 80.22 kB / 429 MB, free: 34.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.8256, allocations: 191.1 kB / 429.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/0.8293, allocations: 0.8252 MB / 430 MB, free: 34.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.8294, allocations: 0 / 430 MB, free: 34.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001092/0.8305, allocations: 352.1 kB / 430.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.8305, allocations: 9.125 kB / 430.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.8305, allocations: 3.625 kB / 430.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.8306, allocations: 4.656 kB / 430.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.8309, allocations: 76.8 kB / 430.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.8309, allocations: 9.375 kB / 430.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.8311, allocations: 12.22 kB / 430.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.348e-05/0.8312, allocations: 19.94 kB / 430.5 MB, free: 34.34 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.0009366/0.8322, allocations: 176.3 kB / 430.6 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.8323, allocations: 20.09 kB / 430.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.8325, allocations: 28.62 kB / 430.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.8326, allocations: 0.7969 kB / 430.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/0.8326, allocations: 2.719 kB / 430.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.8326, allocations: 4.109 kB / 430.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008225/0.8335, allocations: 360.2 kB / 431.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.8335, allocations: 0.5 kB / 431.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.8337, allocations: 51.91 kB / 431.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.8338, allocations: 3.312 kB / 431.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.8338, allocations: 7.766 kB / 431.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.8338, allocations: 2.844 kB / 431.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8338, allocations: 3.5 kB / 431.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.8347, allocations: 422.2 kB / 431.5 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.8349, allocations: 97.41 kB / 431.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/0.835, allocations: 3.812 kB / 431.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.8352, allocations: 11.38 kB / 431.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8354, allocations: 21.34 kB / 431.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.8354, allocations: 5.969 kB / 431.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.8356, allocations: 122.9 kB / 431.8 MB, free: 33.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8357, allocations: 2.906 kB / 431.8 MB, free: 33.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000558/0.8362, allocations: 62.56 kB / 431.9 MB, free: 33.69 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.001487/0.8377, allocations: 0.9641 MB / 432.8 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.8388, allocations: 255.2 kB / 433.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.8388, allocations: 4.906 kB / 433.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.839, allocations: 109 kB / 433.2 MB, free: 33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.8394, allocations: 27.08 kB / 433.2 MB, free: 33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.8449, allocations: 2.744 MB / 435.9 MB, free: 31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.8451, allocations: 0.777 MB / 436.7 MB, free: 30.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.8453, allocations: 25.03 kB / 436.7 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.8455, allocations: 95.05 kB / 436.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of SimCode: time 9.71e-07/0.8456, allocations: 0 / 436.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04946/0.8951, allocations: 4.238 MB / 441.1 MB, free: 29.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.03, allocations: 11.95 kB / 441.1 MB, free: 29.78 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)