Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.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.0007569/0.0007569, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002353/0.00311, allocations: 455.9 kB / 10.35 MB, free: 348 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.001354/0.001354, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001746/0.0031, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.071/1.071, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.174, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.7597/0.7597, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03404/0.7938, allocations: 21.04 MB / 0.5432 GB, free: 31.74 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.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.337e-05, allocations: 14.19 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference): time 0.002342/0.002365, allocations: 2.528 MB / 0.5471 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.003066, allocations: 0.6233 MB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.00314, allocations: 3.938 kB / 0.5477 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.668e-05/0.003206, allocations: 31.66 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.003332, allocations: 75.39 kB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.003458, allocations: 59.8 kB / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.003656, allocations: 266.6 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.003765, allocations: 38.48 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.003929, allocations: 172.2 kB / 0.5483 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.004076, allocations: 91.72 kB / 0.5484 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.004101, allocations: 16 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.338e-05/0.004125, allocations: 16 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.004152, allocations: 31.86 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.004209, allocations: 63.88 kB / 0.5485 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.004366, allocations: 135.5 kB / 0.5486 GB, free: 26.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.004378, allocations: 0 / 0.5486 GB, free: 26.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004379, allocations: 0 / 0.5486 GB, free: 26.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.004392, allocations: 0 / 0.5486 GB, free: 26.19 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.0005545/0.004947, allocations: 0.4976 MB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.004974, allocations: 11.89 kB / 0.5491 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.005013, allocations: 28.91 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.005154, allocations: 175.1 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.005171, allocations: 12.61 kB / 0.5494 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.005194, allocations: 12.38 kB / 0.5494 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.005347, allocations: 167.4 kB / 0.5495 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.005359, allocations: 0 / 0.5495 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.005369, allocations: 12 kB / 0.5495 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.005374, allocations: 3.938 kB / 0.5495 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.005447, allocations: 72.7 kB / 0.5496 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.005804, allocations: 364.9 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.005966, allocations: 112.2 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.005999, allocations: 62.53 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.006008, allocations: 4 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.006146, allocations: 195.3 kB / 0.5503 GB, free: 24.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.006148, allocations: 0 / 0.5503 GB, free: 24.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000606/0.006754, allocations: 0.5093 MB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.006789, allocations: 170.1 kB / 0.551 GB, free: 23.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.006872, allocations: 202.1 kB / 0.5512 GB, free: 23.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.006884, allocations: 33.69 kB / 0.5512 GB, free: 23.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.006916, allocations: 116.4 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.006947, allocations: 75.41 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.006993, allocations: 55.17 kB / 0.5514 GB, free: 23.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.34e-05/0.007027, allocations: 338.8 kB / 0.5518 GB, free: 22.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.352e-05/0.00708, allocations: 93 kB / 0.5518 GB, free: 22.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.007147, allocations: 179.7 kB / 0.552 GB, free: 22.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.007247, allocations: 211.8 kB / 0.5522 GB, free: 22.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.00725, allocations: 1.688 kB / 0.5522 GB, free: 22.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001566/0.007406, allocations: 262.7 kB / 0.5525 GB, free: 21.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.007442, allocations: 63.39 kB / 0.5525 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.00745, allocations: 6.734 kB / 0.5525 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.007461, allocations: 0 / 0.5525 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.007627, allocations: 80.05 kB / 0.5526 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.00763, allocations: 4 kB / 0.5526 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.007706, allocations: 15.92 kB / 0.5526 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.007717, allocations: 11.98 kB / 0.5526 GB, free: 21.66 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 9.872e-05/0.007815, allocations: 165.7 kB / 0.5528 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.007835, allocations: 23.98 kB / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.007861, allocations: 21.95 kB / 0.5528 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007863, allocations: 8 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.007866, allocations: 3.312 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007869, allocations: 0 / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.008106, allocations: 386.2 kB / 0.5532 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008107, allocations: 3.938 kB / 0.5532 GB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.008229, allocations: 35.97 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.008249, allocations: 23.84 kB / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.008251, allocations: 0 / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.008262, allocations: 4 kB / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.008263, allocations: 7.938 kB / 0.5533 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008264, allocations: 4 kB / 0.5533 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.00844, allocations: 343.8 kB / 0.5536 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.008461, allocations: 8 kB / 0.5536 GB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.008534, allocations: 15.98 kB / 0.5537 GB, free: 20.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.00858, allocations: 19.97 kB / 0.5537 GB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.008588, allocations: 7.922 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.008629, allocations: 61.97 kB / 0.5537 GB, free: 20.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008629, allocations: 0 / 0.5537 GB, free: 20.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.008784, allocations: 52 kB / 0.5538 GB, free: 20.41 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 9.061e-05/0.008875, allocations: 100.3 kB / 0.5539 GB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.009049, allocations: 319.5 kB / 0.5542 GB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.009056, allocations: 4 kB / 0.5542 GB, free: 19.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.009128, allocations: 149.9 kB / 0.5543 GB, free: 19.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.009378, allocations: 86.42 kB / 0.5544 GB, free: 19.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.01471, allocations: 0.5627 MB / 0.555 GB, free: 19.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.296e-05/0.01474, allocations: 76.33 kB / 0.555 GB, free: 19.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.889e-05/0.01483, allocations: 25.98 kB / 0.5551 GB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.01496, allocations: 111.3 kB / 0.5552 GB, free: 18.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.01496, allocations: 0 / 0.5552 GB, free: 18.87 MB / 410.7 MB Notification: Performance of Templates: time 0.004871/0.01983, allocations: 3.79 MB / 0.5589 GB, free: 15.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4932241598144174]