Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.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.0008945/0.0008945, allocations: 77.86 kB / 20.66 MB, free: 3.848 MB / 18.57 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.0009448/0.0009448, allocations: 169 kB / 24.06 MB, free: 460 kB / 18.57 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.963/0.963, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.0522/0.0522, allocations: 12.76 MB / 273.8 MB, free: 148 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Chemical.Examples.MichaelisMenten,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.MichaelisMenten") translateModel(Bodylight.Chemical.Examples.MichaelisMenten,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.MichaelisMenten") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 348 MB, free: 2.016 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.706e-05, allocations: 4.281 kB / 348 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.MichaelisMenten): time 0.004151/0.004168, allocations: 3.325 MB / 351.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.008116, allocations: 2.878 MB / 354.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.008245, allocations: 19.81 kB / 354.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.008389, allocations: 75.28 kB / 354.3 MB, free: 11.68 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.0007342/0.009123, allocations: 465.2 kB / 354.7 MB, free: 11.23 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.ES.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.MichaelisMenten.E.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.009815, allocations: 470.6 kB / 355.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.01018, allocations: 0.5091 MB / 355.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.0103, allocations: 65.17 kB / 355.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.01046, allocations: 243.3 kB / 356 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.01068, allocations: 203.4 kB / 356.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.01071, allocations: 24 kB / 356.2 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.489e-05/0.01076, allocations: 35.97 kB / 356.2 MB, free: 9.691 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.01083, allocations: 87.66 kB / 356.3 MB, free: 9.605 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.716e-05/0.01092, allocations: 127.6 kB / 356.4 MB, free: 9.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.01118, allocations: 322.8 kB / 356.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.01118, allocations: 0 / 356.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01118, allocations: 0 / 356.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.01118, allocations: 4 kB / 356.8 MB, free: 9.16 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005863/0.01177, allocations: 0.7174 MB / 357.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.07e-05/0.01179, allocations: 11.98 kB / 357.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.01193, allocations: 80.64 kB / 357.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.0122, allocations: 329.3 kB / 357.9 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.01221, allocations: 16.88 kB / 357.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.01224, allocations: 24.38 kB / 357.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.01241, allocations: 165 kB / 358.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.01242, allocations: 7.875 kB / 358.1 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.01243, allocations: 4 kB / 358.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.01244, allocations: 8 kB / 358.1 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.012e-05/0.01253, allocations: 63.42 kB / 358.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/0.01326, allocations: 0.6034 MB / 358.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.01344, allocations: 130.1 kB / 358.9 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.01349, allocations: 47.42 kB / 359 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.01351, allocations: 0 / 359 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.01352, allocations: 41.39 kB / 359 MB, free: 6.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.01352, allocations: 0 / 359 MB, free: 6.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001933/0.01546, allocations: 0.6822 MB / 359.7 MB, free: 6.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.01548, allocations: 77.11 kB / 359.7 MB, free: 5.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.01568, allocations: 394.4 kB / 360.1 MB, free: 5.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.0157, allocations: 33.73 kB / 360.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.01579, allocations: 259.3 kB / 360.4 MB, free: 5.281 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.01584, allocations: 91.2 kB / 360.5 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.01591, allocations: 71.28 kB / 360.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01602, allocations: 0.5235 MB / 361.1 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.01607, allocations: 31.72 kB / 361.1 MB, free: 4.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.697e-05/0.01616, allocations: 145.3 kB / 361.3 MB, free: 4.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.01633, allocations: 214.5 kB / 361.5 MB, free: 4.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01634, allocations: 0 / 361.5 MB, free: 4.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009954/0.01733, allocations: 442.4 kB / 361.9 MB, free: 3.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.01734, allocations: 12 kB / 361.9 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.01735, allocations: 0 / 361.9 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.01871, allocations: 358.6 kB / 362.3 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.0188, allocations: 43.92 kB / 362.3 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.02146, allocations: 4.603 MB / 366.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.02157, allocations: 15.95 kB / 366.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.02159, allocations: 8 kB / 366.9 MB, free: 14.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 9.318e-05/0.02168, allocations: 176.5 kB / 367.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.02173, allocations: 43.7 kB / 367.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.02178, allocations: 59.59 kB / 367.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.02178, allocations: 0 / 367.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02178, allocations: 128 / 367.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.02185, allocations: 55.73 kB / 367.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.02188, allocations: 12.03 kB / 367.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.02198, allocations: 11.98 kB / 367.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.02201, allocations: 23.89 kB / 367.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006349/0.02265, allocations: 0.5107 MB / 367.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003382/0.02299, allocations: 0.606 MB / 368.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.926e-05/0.02305, allocations: 43.62 kB / 368.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.02316, allocations: 255 kB / 368.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of Backend: time 2.3e-07/0.02316, allocations: 0 / 368.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006931/0.02385, allocations: 0.5782 MB / 369.3 MB, free: 11.94 MB / 346.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Notification: Performance of SimCode: time 0.001469/0.02532, allocations: 1.564 MB / 370.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Templates: time 0.0088/0.03412, allocations: 8.877 MB / 379.8 MB, free: 1.512 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe ; mkfifo Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe ; head -c 1048576 < Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe >> ../files/Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.sim & ./Bodylight_Bodylight.Chemical.Examples.MichaelisMenten -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Chemical.Examples.MichaelisMenten.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7636683830060065]