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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000988/0.000988, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002326, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.00235, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9376/0.9376, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08603/1.024, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.3/package.mo): time 0.09381/0.09381, allocations: 9.539 MB / 253.7 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004737/0.09855, allocations: 3.216 MB / 256.9 MB, free: 2.406 MB / 250.7 MB " [Timeout remaining time 180] Using package BioChem with version 1.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BioChem.Examples.GMO.cell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.GMO.cell") translateModel(BioChem.Examples.GMO.cell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.GMO.cell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 259.2 MB, free: 80 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.296e-05, allocations: 2.312 kB / 259.2 MB, free: 76 kB / 250.7 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.GMO.cell): time 0.006034/0.006047, allocations: 4.707 MB / 263.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004031/0.00645, allocations: 327 kB / 264.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.742e-05/0.006547, allocations: 16 kB / 264.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.966e-05/0.006647, allocations: 51.59 kB / 264.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.006822, allocations: 95.06 kB / 264.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.006965, allocations: 71.83 kB / 264.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.007259, allocations: 330.9 kB / 264.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.007465, allocations: 115.5 kB / 264.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.00791, allocations: 207.6 kB / 265.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.008081, allocations: 119.6 kB / 265.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.008132, allocations: 32 kB / 265.3 MB, free: 10 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.094e-05/0.008183, allocations: 32 kB / 265.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.008237, allocations: 67.75 kB / 265.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.852e-05/0.008335, allocations: 95.81 kB / 265.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.008596, allocations: 215.2 kB / 265.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.008606, allocations: 0 / 265.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.008607, allocations: 4 kB / 265.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.016e-06/0.008616, allocations: 0 / 265.7 MB, free: 9.598 MB / 266.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.0007526/0.009369, allocations: 0.5937 MB / 266.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.009398, allocations: 15.84 kB / 266.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.009477, allocations: 52.91 kB / 266.3 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.009585, allocations: 145.4 kB / 266.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.009615, allocations: 29.38 kB / 266.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.009669, allocations: 36.38 kB / 266.5 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.00995, allocations: 227 kB / 266.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.009966, allocations: 8.141 kB / 266.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.00999, allocations: 16.38 kB / 266.8 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.01, allocations: 8.375 kB / 266.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.01016, allocations: 102.8 kB / 266.9 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.01144, allocations: 0.7246 MB / 267.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.01166, allocations: 141.4 kB / 267.8 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.01176, allocations: 64.84 kB / 267.8 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.01178, allocations: 4 kB / 267.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.0118, allocations: 38.56 kB / 267.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.0118, allocations: 0 / 267.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001188/0.01299, allocations: 0.6111 MB / 268.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.01302, allocations: 59.41 kB / 268.5 MB, free: 6.602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.01313, allocations: 167.2 kB / 268.7 MB, free: 6.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.01315, allocations: 29.7 kB / 268.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.01325, allocations: 216 kB / 268.9 MB, free: 6.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.01331, allocations: 103.1 kB / 269 MB, free: 6.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.01339, allocations: 69.61 kB / 269.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.01348, allocations: 330.7 kB / 269.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.01354, allocations: 36.36 kB / 269.5 MB, free: 5.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.01367, allocations: 150.4 kB / 269.6 MB, free: 5.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.01396, allocations: 283.1 kB / 269.9 MB, free: 5.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.01396, allocations: 11.92 kB / 269.9 MB, free: 5.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002785/0.01424, allocations: 213.6 kB / 270.1 MB, free: 4.879 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.01425, allocations: 12.09 kB / 270.1 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01426, allocations: 0 / 270.1 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01427, allocations: 11.94 kB / 270.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.01454, allocations: 91.84 kB / 270.2 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.01456, allocations: 11.98 kB / 270.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01467, allocations: 11.94 kB / 270.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.01469, allocations: 12 kB / 270.2 MB, free: 4.73 MB / 266.7 MB Warning: Assuming fixed start value for the following 5 variables: V:VARIABLE(start = 1.0 unit = \"l\" 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.0001597/0.01484, allocations: 155.6 kB / 270.4 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.01489, allocations: 19.98 kB / 270.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.01495, allocations: 29.97 kB / 270.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01495, allocations: 0 / 270.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.01495, allocations: 4 kB / 270.5 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.01496, allocations: 11.97 kB / 270.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.01524, allocations: 177.7 kB / 270.6 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01525, allocations: 3.984 kB / 270.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.01546, allocations: 55.91 kB / 270.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.01547, allocations: 15.86 kB / 270.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01547, allocations: 0 / 270.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.01549, allocations: 11.98 kB / 270.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01549, allocations: 4 kB / 270.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.01549, allocations: 0 / 270.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.01571, allocations: 291.5 kB / 271 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.01572, allocations: 12 kB / 271 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.01578, allocations: 4 kB / 271 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.01581, allocations: 19.91 kB / 271 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.01581, allocations: 7.984 kB / 271.1 MB, free: 3.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.325e-05/0.01584, allocations: 33.53 kB / 271.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01584, allocations: 0 / 271.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.01601, allocations: 67.94 kB / 271.2 MB, free: 3.777 MB / 266.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 5.879e-05/0.01607, allocations: 80.41 kB / 271.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01623, allocations: 169 kB / 271.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.01624, allocations: 7.938 kB / 271.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.0163, allocations: 84.75 kB / 271.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.01648, allocations: 57.12 kB / 271.5 MB, free: 3.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.01775, allocations: 0.608 MB / 272.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.01779, allocations: 96.16 kB / 272.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.975e-05/0.01785, allocations: 25.95 kB / 272.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.01795, allocations: 91.28 kB / 272.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01795, allocations: 0 / 272.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of Templates: time 0.003444/0.0214, allocations: 2.054 MB / 274.4 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f BioChem_BioChem.Examples.GMO.cell.makefile [Timeout 660] (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=240 -lv LOG_STATS > BioChem_BioChem.Examples.GMO.cell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.412655067630112]