Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.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.0006715/0.0006715, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008985/0.00157, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007017/0.0007017, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008684/0.00157, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.013/1.013, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08526/1.099, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7365/0.7365, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03427/0.7708, allocations: 21.04 MB / 0.5431 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.482e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid): time 0.002359/0.002374, allocations: 2.528 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009385/0.003312, allocations: 0.631 MB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.003419, allocations: 7.938 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.091e-05/0.00349, allocations: 23.72 kB / 0.5477 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.00364, allocations: 79.34 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.003795, allocations: 51.81 kB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.004018, allocations: 270.6 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.004133, allocations: 42.47 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.004335, allocations: 176.3 kB / 0.5483 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.004506, allocations: 83.72 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.004534, allocations: 20 kB / 0.5484 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.26e-05/0.004557, allocations: 16 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.004587, allocations: 27.88 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.004647, allocations: 59.88 kB / 0.5485 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.004829, allocations: 147.5 kB / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.749e-05/0.004846, allocations: 0 / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004847, allocations: 0 / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.004867, allocations: 0 / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006446/0.005512, allocations: 0.4937 MB / 0.5491 GB, free: 25.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.005545, allocations: 12.03 kB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.005595, allocations: 24.91 kB / 0.5491 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.005774, allocations: 179.1 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.005795, allocations: 8.609 kB / 0.5493 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.005821, allocations: 16.38 kB / 0.5493 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.005987, allocations: 151.5 kB / 0.5495 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.006002, allocations: 11.92 kB / 0.5495 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.006015, allocations: 8 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.006024, allocations: 4 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.006106, allocations: 76.64 kB / 0.5495 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.006567, allocations: 372.9 kB / 0.5499 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.006763, allocations: 108.1 kB / 0.55 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.006801, allocations: 54.55 kB / 0.5501 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.006811, allocations: 4 kB / 0.5501 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.006968, allocations: 195.3 kB / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.00697, allocations: 0 / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005965/0.007567, allocations: 0.5055 MB / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.007608, allocations: 136.5 kB / 0.5509 GB, free: 23.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.007704, allocations: 206.1 kB / 0.5511 GB, free: 23.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.007718, allocations: 33.7 kB / 0.5511 GB, free: 23.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.007755, allocations: 112.5 kB / 0.5512 GB, free: 23.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.007788, allocations: 79.39 kB / 0.5513 GB, free: 23.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.007836, allocations: 55.17 kB / 0.5513 GB, free: 23.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.007874, allocations: 334.8 kB / 0.5517 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.007923, allocations: 93 kB / 0.5517 GB, free: 22.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.007985, allocations: 181.3 kB / 0.5519 GB, free: 22.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.008086, allocations: 215.8 kB / 0.5521 GB, free: 22.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.008088, allocations: 3.938 kB / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001558/0.008243, allocations: 258.7 kB / 0.5524 GB, free: 22.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.008274, allocations: 59.41 kB / 0.5524 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.008281, allocations: 6.672 kB / 0.5524 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.008291, allocations: 4 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.008449, allocations: 72.11 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.008454, allocations: 7.938 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.008532, allocations: 21.61 kB / 0.5525 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.008543, allocations: 8 kB / 0.5525 GB, free: 21.9 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001011/0.008644, allocations: 165.7 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.008664, allocations: 19.98 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.008695, allocations: 25.95 kB / 0.5527 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.008696, allocations: 8 kB / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.008699, allocations: 0 / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.008703, allocations: 0 / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.008956, allocations: 382.2 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.008957, allocations: 3.938 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.009092, allocations: 43.28 kB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.009112, allocations: 15.86 kB / 0.5532 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.009115, allocations: 0 / 0.5532 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.009126, allocations: 8 kB / 0.5532 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.009127, allocations: 4 kB / 0.5532 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.009129, allocations: 3.984 kB / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.009314, allocations: 351.8 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.009338, allocations: 7.984 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.009409, allocations: 8 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.00946, allocations: 23.95 kB / 0.5536 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.009468, allocations: 7.938 kB / 0.5536 GB, free: 20.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.405e-05/0.009512, allocations: 65.94 kB / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009512, allocations: 0 / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.009679, allocations: 56 kB / 0.5537 GB, free: 20.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 6.668e-05/0.009746, allocations: 92.42 kB / 0.5538 GB, free: 20.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.00991, allocations: 315.5 kB / 0.5541 GB, free: 20.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.009916, allocations: 3.938 kB / 0.5541 GB, free: 20.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.009978, allocations: 145.9 kB / 0.5542 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.01021, allocations: 90.25 kB / 0.5543 GB, free: 19.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.01549, allocations: 0.5744 MB / 0.5549 GB, free: 19.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.01553, allocations: 76.33 kB / 0.5549 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.0156, allocations: 21.95 kB / 0.555 GB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.01572, allocations: 119.3 kB / 0.5551 GB, free: 19.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01572, allocations: 0 / 0.5551 GB, free: 19.1 MB / 410.7 MB Notification: Performance of Templates: time 0.004555/0.02027, allocations: 3.786 MB / 0.5588 GB, free: 15.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4310921635478735]