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.00123/0.00123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001051/0.001051, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.2202/0.2202, allocations: 12.25 MB / 302.2 MB, free: 1.359 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 365.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08149/0.08274, allocations: 52.08 MB / 417.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.GMO.cell): time 0.006198/0.08897, allocations: 4.391 MB / 421.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005725/0.08957, allocations: 311.1 kB / 422 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.0898, allocations: 20 kB / 422 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.08997, allocations: 39.73 kB / 422 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.09025, allocations: 55.53 kB / 422.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.09048, allocations: 63.88 kB / 422.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.09081, allocations: 287.2 kB / 422.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.09108, allocations: 152.8 kB / 422.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.09122, allocations: 119.6 kB / 422.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.09139, allocations: 155.3 kB / 422.8 MB, free: 372 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.09145, allocations: 24 kB / 422.9 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.877e-05/0.0915, allocations: 31.94 kB / 422.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.09157, allocations: 63.75 kB / 423 MB, free: 252 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.09169, allocations: 159.2 kB / 423.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1432/0.2349, allocations: 336.1 kB / 423.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2349, allocations: 0 / 423.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2349, allocations: 0.9062 kB / 423.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2349, allocations: 0 / 423.4 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.000771/0.2357, allocations: 0.6019 MB / 424 MB, free: 36.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2357, allocations: 10.28 kB / 424.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.2358, allocations: 77.33 kB / 424.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.2359, allocations: 36.69 kB / 424.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.2359, allocations: 211.2 kB / 424.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.236, allocations: 28.25 kB / 424.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.236, allocations: 40.34 kB / 424.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.2365, allocations: 305.9 kB / 424.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2365, allocations: 5.578 kB / 424.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.2365, allocations: 15.22 kB / 424.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2366, allocations: 8.344 kB / 424.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.2369, allocations: 242.8 kB / 425 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.2385, allocations: 1.04 MB / 426 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.2388, allocations: 178 kB / 426.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.2389, allocations: 126.7 kB / 426.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.239, allocations: 3.031 kB / 426.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.239, allocations: 39.41 kB / 426.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.776e-06/0.239, allocations: 1.984 kB / 426.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001883/0.2409, allocations: 0.8908 MB / 427.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.2409, allocations: 57.19 kB / 427.3 MB, free: 35.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.241, allocations: 165.2 kB / 427.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.241, allocations: 29.02 kB / 427.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2411, allocations: 215.2 kB / 427.7 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.2412, allocations: 94.58 kB / 427.8 MB, free: 35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.2412, allocations: 71.16 kB / 427.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.2413, allocations: 330.4 kB / 428.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.2414, allocations: 84.64 kB / 428.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.2416, allocations: 189 kB / 428.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.2447, allocations: 0.8251 MB / 429.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2447, allocations: 0 / 429.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004214/0.2452, allocations: 341.7 kB / 429.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2452, allocations: 11.62 kB / 429.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2452, allocations: 3.828 kB / 429.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2452, allocations: 6.578 kB / 429.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.2455, allocations: 83.23 kB / 429.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.2455, allocations: 2.844 kB / 429.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.2457, allocations: 22.75 kB / 429.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2457, allocations: 12.72 kB / 429.8 MB, free: 34.36 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.0002488/0.246, allocations: 179.2 kB / 430 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.246, allocations: 16.75 kB / 430 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/0.2461, allocations: 31.78 kB / 430 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2461, allocations: 3.812 kB / 430 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2461, allocations: 1.688 kB / 430 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2461, allocations: 0 / 430 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.2465, allocations: 364.1 kB / 430.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2465, allocations: 1.531 kB / 430.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.2468, allocations: 48 kB / 430.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2468, allocations: 0 / 430.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2468, allocations: 7.438 kB / 430.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2468, allocations: 10.45 kB / 430.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2468, allocations: 0 / 430.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.2473, allocations: 434.8 kB / 430.9 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.2473, allocations: 96.77 kB / 431 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.2473, allocations: 7.875 kB / 431 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.2475, allocations: 2.844 kB / 431 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.2475, allocations: 19.02 kB / 431 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.2476, allocations: 14.27 kB / 431 MB, free: 33.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.2476, allocations: 114.2 kB / 431.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2476, allocations: 6.156 kB / 431.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.2479, allocations: 65.22 kB / 431.2 MB, free: 33.71 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.0005461/0.2485, allocations: 0.9618 MB / 432.1 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.2488, allocations: 246.4 kB / 432.4 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2488, allocations: 0 / 432.4 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.249, allocations: 111.9 kB / 432.5 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.2493, allocations: 27.66 kB / 432.5 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.2516, allocations: 2.88 MB / 435.4 MB, free: 30.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.2518, allocations: 0.7702 MB / 436.2 MB, free: 30.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.2519, allocations: 25.34 kB / 436.2 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.252, allocations: 90.33 kB / 436.3 MB, free: 30.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.252, allocations: 0 / 436.3 MB, free: 30.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.2768, allocations: 4.051 MB / 440.3 MB, free: 29.89 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/0.277, allocations: 168.2 kB / 440.5 MB, free: 29.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.923, allocations: 0 / 440.5 MB, free: 29.64 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)