Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BioChem_BioChem.Examples.GMO.cell.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BioChem 1.1.2/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BioChem with version 1.1.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BioChem 1.1.2/package.mo) Running command: translateModel(BioChem.Examples.GMO.cell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=-2,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.GMO.cell") translateModel(BioChem.Examples.GMO.cell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=-2,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.GMO.cell") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BioChem 1.1.2/package.mo): time 0.09811/0.09811, allocations: 12.66 MB / 27.92 MB, free: 0.8672 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00092/0.0009199, allocations: 177.2 kB / 31.47 MB, free: 3.586 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.7 MB / 260.6 MB, free: 8.816 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008326/0.0008326, allocations: 107.1 kB / 314.5 MB, free: 9.797 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 10.69 kB / 378.3 MB, free: 52.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07964/0.07995, allocations: 53.1 MB / 431.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.GMO.cell): time 0.003807/0.0838, allocations: 3.861 MB / 435.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002467/0.08407, allocations: 315.1 kB / 435.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.08417, allocations: 16 kB / 435.5 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.653e-05/0.08424, allocations: 39.8 kB / 435.6 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.08438, allocations: 55.48 kB / 435.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.08455, allocations: 59.94 kB / 435.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.08474, allocations: 283.2 kB / 436 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.08497, allocations: 141.1 kB / 436.1 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.08504, allocations: 103.6 kB / 436.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.08518, allocations: 127.3 kB / 436.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.08522, allocations: 23.88 kB / 436.3 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-05/0.08526, allocations: 12 kB / 436.4 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.0853, allocations: 51.77 kB / 436.4 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.0854, allocations: 160.9 kB / 436.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.08562, allocations: 330.7 kB / 436.9 MB, free: 4.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.08563, allocations: 0 / 436.9 MB, free: 4.285 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08564, allocations: 0 / 436.9 MB, free: 4.285 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.08565, allocations: 0 / 436.9 MB, free: 4.285 MB / 298.7 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.0006834/0.08633, allocations: 0.5463 MB / 437.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.08637, allocations: 8.031 kB / 437.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.08643, allocations: 36.56 kB / 437.5 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.08657, allocations: 203.9 kB / 437.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.08661, allocations: 29.38 kB / 437.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.08666, allocations: 40.36 kB / 437.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.08708, allocations: 303.1 kB / 438 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.0871, allocations: 8.094 kB / 438 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.08714, allocations: 15.94 kB / 438.1 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.08715, allocations: 12 kB / 438.1 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.08747, allocations: 239.8 kB / 438.3 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.08892, allocations: 1.035 MB / 439.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.0892, allocations: 178.5 kB / 439.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.08935, allocations: 132.8 kB / 439.7 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.08937, allocations: 4 kB / 439.7 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.0894, allocations: 30.94 kB / 439.7 MB, free: 1.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.0894, allocations: 0 / 439.7 MB, free: 1.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001678/0.09109, allocations: 0.8931 MB / 440.6 MB, free: 392 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.09112, allocations: 51.41 kB / 440.6 MB, free: 328 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.09124, allocations: 169.3 kB / 440.8 MB, free: 144 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.09126, allocations: 25.7 kB / 440.8 MB, free: 112 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.0914, allocations: 215.6 kB / 441 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/0.09148, allocations: 102.5 kB / 441.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.0915, allocations: 8 kB / 441.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.09164, allocations: 326.8 kB / 441.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.09179, allocations: 84.33 kB / 441.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.09203, allocations: 190.4 kB / 441.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.09526, allocations: 0.8573 MB / 442.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.09528, allocations: 4 kB / 442.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004403/0.09572, allocations: 337.1 kB / 442.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.09575, allocations: 8 kB / 442.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.09576, allocations: 4.469 kB / 442.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.09579, allocations: 8 kB / 442.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.09609, allocations: 83.83 kB / 443 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.09611, allocations: 4 kB / 443 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.09626, allocations: 19.94 kB / 443 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.09629, allocations: 16 kB / 443.1 MB, free: 13.75 MB / 314.7 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 C.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 X.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" 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 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.000226/0.09653, allocations: 186 kB / 443.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.09657, allocations: 19.81 kB / 443.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.09664, allocations: 33.86 kB / 443.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.09665, allocations: 4 kB / 443.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.09666, allocations: 0 / 443.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.09667, allocations: 0 / 443.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.09709, allocations: 369.4 kB / 443.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.0971, allocations: 0 / 443.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.09736, allocations: 47.91 kB / 443.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.09737, allocations: 3.984 kB / 443.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.09739, allocations: 8 kB / 443.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.0974, allocations: 0 / 443.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.09741, allocations: 0 / 443.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.0979, allocations: 433.1 kB / 444.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.09796, allocations: 96.83 kB / 444.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.09799, allocations: 8.062 kB / 444.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.09814, allocations: 7.984 kB / 444.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.09819, allocations: 15.98 kB / 444.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.09821, allocations: 7.984 kB / 444.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.623e-05/0.09829, allocations: 119 kB / 444.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.483e-06/0.0983, allocations: 0 / 444.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.09859, allocations: 67.94 kB / 444.5 MB, free: 12.26 MB / 314.7 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 9.572e-05/0.09869, allocations: 103.2 kB / 444.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.09904, allocations: 239.7 kB / 444.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.09906, allocations: 4 kB / 444.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.0992, allocations: 119.1 kB / 444.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.09948, allocations: 31.91 kB / 444.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1007, allocations: 0.9467 MB / 445.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.101, allocations: 0.7677 MB / 446.7 MB, free: 9.996 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.1011, allocations: 33.86 kB / 446.7 MB, free: 9.965 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.1012, allocations: 19.44 kB / 446.7 MB, free: 9.945 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1012, allocations: 0 / 446.7 MB, free: 9.945 MB / 314.7 MB Notification: Performance of Templates: time 0.004485/0.1057, allocations: 1.906 MB / 448.6 MB, free: 8.043 MB / 314.7 MB make -j1 -f BioChem_BioChem.Examples.GMO.cell.makefile (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 & ./BioChem_BioChem.Examples.GMO.cell -abortSlowSimulation -alarm=480 -lv LOG_STATS > BioChem_BioChem.Examples.GMO.cell.pipe 2>&1)