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.006436/0.006436, allocations: 102.9 kB / 15.73 MB, free: 6.449 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.001224/0.001224, allocations: 198.1 kB / 16.67 MB, free: 6.355 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.2855/0.2855, allocations: 12.26 MB / 302.8 MB, free: 1.199 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 59.91 kB / 419.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2605, allocations: 52.09 MB / 471.6 MB, free: 16.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.GMO.cell): time 0.006167/0.2667, allocations: 4.308 MB / 475.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005861/0.2673, allocations: 297.9 kB / 476.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2675, allocations: 18.62 kB / 476.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.2676, allocations: 49.17 kB / 476.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.2679, allocations: 71.36 kB / 476.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.2682, allocations: 70.64 kB / 476.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.2685, allocations: 301.5 kB / 476.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.2688, allocations: 170.5 kB / 476.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2689, allocations: 126.2 kB / 477 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.2691, allocations: 158.4 kB / 477.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.2692, allocations: 32.62 kB / 477.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-05/0.2692, allocations: 33 kB / 477.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.2693, allocations: 72.8 kB / 477.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.2694, allocations: 161 kB / 477.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.2697, allocations: 362.1 kB / 477.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2698, allocations: 0 / 477.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2698, allocations: 0 / 477.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.2698, allocations: 5.531 kB / 477.8 MB, free: 12.08 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.00084/0.2706, allocations: 0.5966 MB / 478.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2707, allocations: 16.8 kB / 478.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.167e-05/0.2707, allocations: 75.41 kB / 478.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.2708, allocations: 37.78 kB / 478.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2709, allocations: 200.6 kB / 478.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.271, allocations: 29.41 kB / 478.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.271, allocations: 37.25 kB / 478.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.2715, allocations: 314.3 kB / 479.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2715, allocations: 5.344 kB / 479.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.2715, allocations: 14.69 kB / 479.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.2716, allocations: 14.28 kB / 479.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.2719, allocations: 238.9 kB / 479.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.2736, allocations: 1.025 MB / 480.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.2739, allocations: 187 kB / 480.6 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.2741, allocations: 132.1 kB / 480.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.2741, allocations: 1.5 kB / 480.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.2741, allocations: 36.5 kB / 480.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.2741, allocations: 1.062 kB / 480.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001889/0.276, allocations: 0.8981 MB / 481.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.2761, allocations: 57.47 kB / 481.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.2762, allocations: 163.8 kB / 481.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2762, allocations: 30.77 kB / 481.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2764, allocations: 217.6 kB / 482.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.2764, allocations: 93.73 kB / 482.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/0.2765, allocations: 66.33 kB / 482.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2766, allocations: 335 kB / 482.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.2768, allocations: 83.53 kB / 482.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.277, allocations: 194.3 kB / 482.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/0.28, allocations: 0.8172 MB / 483.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.28, allocations: 1.469 kB / 483.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000533/0.2805, allocations: 344.2 kB / 484 MB, free: 7.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2806, allocations: 14.67 kB / 484 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2806, allocations: 3.5 kB / 484 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2806, allocations: 6.719 kB / 484 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.281, allocations: 74.38 kB / 484.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.281, allocations: 4.688 kB / 484.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.2811, allocations: 17.03 kB / 484.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.2812, allocations: 16.84 kB / 484.2 MB, free: 7.469 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.0002576/0.2814, allocations: 184.4 kB / 484.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.2815, allocations: 15.94 kB / 484.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.2816, allocations: 37.47 kB / 484.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.2816, allocations: 2.219 kB / 484.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2816, allocations: 1.219 kB / 484.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2816, allocations: 0 / 484.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.282, allocations: 365.2 kB / 484.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.282, allocations: 0 / 484.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.2823, allocations: 47.62 kB / 484.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2823, allocations: 1.156 kB / 484.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.2823, allocations: 10.81 kB / 484.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.2823, allocations: 0.8125 kB / 484.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2823, allocations: 0 / 484.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.2829, allocations: 434.5 kB / 485.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.2829, allocations: 90.61 kB / 485.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.2829, allocations: 5.219 kB / 485.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2831, allocations: 5.25 kB / 485.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.2831, allocations: 24.19 kB / 485.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2832, allocations: 8.469 kB / 485.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.198e-05/0.2832, allocations: 117.3 kB / 485.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2832, allocations: 0 / 485.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.2836, allocations: 63.06 kB / 485.5 MB, free: 6.402 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.0007239/0.2843, allocations: 0.9599 MB / 486.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.2848, allocations: 245.3 kB / 486.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2848, allocations: 0 / 486.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.2849, allocations: 107.5 kB / 486.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2852, allocations: 29.05 kB / 486.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.288, allocations: 2.741 MB / 489.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.2882, allocations: 0.7689 MB / 490.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.2883, allocations: 26.28 kB / 490.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.2884, allocations: 95.05 kB / 490.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2884, allocations: 1.031 kB / 490.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.3122, allocations: 4.278 MB / 494.8 MB, free: 216 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.212, allocations: 2.797 kB / 494.8 MB, free: 216 kB / 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)