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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, 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.001533/0.001533, allocations: 197.1 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 1.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.2183/0.2183, allocations: 12.26 MB / 302.7 MB, free: 1.367 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 365.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 52.09 MB / 417.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CellDivison.cell): time 0.2109/0.3127, allocations: 5.788 MB / 423.7 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3138, allocations: 457.5 kB / 424.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.314, allocations: 24.94 kB / 424.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.3142, allocations: 84.5 kB / 424.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.3146, allocations: 116.7 kB / 424.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3149, allocations: 102.8 kB / 424.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.3153, allocations: 452.2 kB / 424.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.3157, allocations: 244.4 kB / 425.2 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.3159, allocations: 190.9 kB / 425.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.3161, allocations: 231 kB / 425.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.3162, allocations: 48.81 kB / 425.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.71e-05/0.3163, allocations: 49.28 kB / 425.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.3164, allocations: 110.9 kB / 425.8 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.3166, allocations: 245 kB / 426 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.3169, allocations: 0.5181 MB / 426.6 MB, free: 36.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.317, allocations: 2.812 kB / 426.6 MB, free: 36.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.317, allocations: 0 / 426.6 MB, free: 36.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.317, allocations: 0 / 426.6 MB, free: 36.22 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0008089/0.3178, allocations: 0.7396 MB / 427.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3179, allocations: 8.719 kB / 427.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.318, allocations: 102.9 kB / 427.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.318, allocations: 49.59 kB / 427.5 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3182, allocations: 212.3 kB / 427.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.3182, allocations: 47.25 kB / 427.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.3183, allocations: 57.25 kB / 427.8 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.319, allocations: 0.5191 MB / 428.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.319, allocations: 3.938 kB / 428.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.3191, allocations: 27.03 kB / 428.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3191, allocations: 13.16 kB / 428.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.3196, allocations: 362.2 kB / 428.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.3217, allocations: 1.596 MB / 430.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.3221, allocations: 282.6 kB / 430.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.3224, allocations: 186.5 kB / 430.7 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3224, allocations: 5.188 kB / 430.7 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3225, allocations: 37.16 kB / 430.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.883e-06/0.3225, allocations: 3.938 kB / 430.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002918/0.3254, allocations: 1.419 MB / 432.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.3254, allocations: 54.5 kB / 432.3 MB, free: 34.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3255, allocations: 192.8 kB / 432.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3256, allocations: 31.42 kB / 432.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.3257, allocations: 275 kB / 432.7 MB, free: 33.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.3257, allocations: 155.9 kB / 432.9 MB, free: 33.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3258, allocations: 96.42 kB / 433 MB, free: 33.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.3259, allocations: 338.9 kB / 433.3 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3261, allocations: 133 kB / 433.4 MB, free: 33.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.3263, allocations: 309 kB / 433.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.3296, allocations: 1.161 MB / 434.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3296, allocations: 3.031 kB / 434.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005962/0.3302, allocations: 0.5153 MB / 435.4 MB, free: 32.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3302, allocations: 6.188 kB / 435.4 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3302, allocations: 10.78 kB / 435.4 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3303, allocations: 10.22 kB / 435.5 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.3307, allocations: 138.1 kB / 435.6 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3307, allocations: 12.84 kB / 435.6 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.3309, allocations: 26.31 kB / 435.6 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3309, allocations: 23.84 kB / 435.6 MB, free: 32.18 MB / 350.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.000291/0.3312, allocations: 202.4 kB / 435.8 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.3313, allocations: 23.62 kB / 435.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.288e-05/0.3314, allocations: 49.42 kB / 435.9 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3314, allocations: 6.5 kB / 435.9 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3314, allocations: 0.75 kB / 435.9 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3314, allocations: 3.938 kB / 435.9 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3324, allocations: 0.9025 MB / 436.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3325, allocations: 3.25 kB / 436.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.3329, allocations: 88.27 kB / 436.9 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3329, allocations: 3.75 kB / 436.9 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.3329, allocations: 11.28 kB / 436.9 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3329, allocations: 3.188 kB / 436.9 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3329, allocations: 0 / 436.9 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.3335, allocations: 0.6028 MB / 437.5 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.3335, allocations: 99.17 kB / 437.6 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.3336, allocations: 11.72 kB / 437.7 MB, free: 30.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3337, allocations: 7.25 kB / 437.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.3338, allocations: 27.73 kB / 437.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3338, allocations: 6.688 kB / 437.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.984e-05/0.3339, allocations: 123.5 kB / 437.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3339, allocations: 0 / 437.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003897/0.3343, allocations: 109.9 kB / 437.9 MB, free: 30.86 MB / 350.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.0007307/0.335, allocations: 1.144 MB / 439.1 MB, free: 29.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005486/0.3356, allocations: 422.8 kB / 439.5 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3356, allocations: 0 / 439.5 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3358, allocations: 175 kB / 439.6 MB, free: 29.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3361, allocations: 50.3 kB / 439.7 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.3395, allocations: 3.676 MB / 443.4 MB, free: 27.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.3398, allocations: 0.8145 MB / 444.2 MB, free: 26.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.3399, allocations: 42.75 kB / 444.2 MB, free: 26.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.3401, allocations: 150 kB / 444.4 MB, free: 26.31 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3401, allocations: 0 / 444.4 MB, free: 26.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.3637, allocations: 6.276 MB / 450.7 MB, free: 25.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.552, allocations: 17.64 kB / 450.7 MB, free: 25.75 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file BioChem_BioChem.Examples.CellDivison.cell_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 BioChem_BioChem_Examples_CellDivison_cell.fmu > BioChem_BioChem.Examples.CellDivison.cell.pipe 2>&1)