Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_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.0007671/0.0007671, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00114/0.001907, allocations: 435.8 kB / 10.31 MB, free: 384 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.0006955/0.0006955, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009517/0.001647, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.955/0.955, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08956/1.045, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7349/0.7349, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02629/0.7612, allocations: 21.05 MB / 0.5431 GB, free: 31.97 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.LArginine.LArginine_Wang2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.521e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference): time 0.004777/0.004792, allocations: 2.516 MB / 0.5469 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008791/0.005671, allocations: 0.6194 MB / 0.5475 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.005749, allocations: 0 / 0.5475 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.466e-05/0.005824, allocations: 35.64 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.005978, allocations: 83.27 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.006118, allocations: 59.81 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.006345, allocations: 270.6 kB / 0.548 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.006462, allocations: 30.55 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.006672, allocations: 176.2 kB / 0.5482 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.006845, allocations: 87.72 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.006876, allocations: 16 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-05/0.006908, allocations: 16 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.006937, allocations: 27.88 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.007008, allocations: 59.88 kB / 0.5484 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.007188, allocations: 147.5 kB / 0.5485 GB, free: 26.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.007202, allocations: 4 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.007203, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.007214, allocations: 0 / 0.5485 GB, free: 26.44 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.004668/0.01188, allocations: 0.4898 MB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.01191, allocations: 12.03 kB / 0.549 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.01196, allocations: 28.91 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.01213, allocations: 175.1 kB / 0.5492 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.01215, allocations: 8.609 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.01218, allocations: 20.38 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.01237, allocations: 155.5 kB / 0.5494 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.01239, allocations: 7.969 kB / 0.5494 GB, free: 25.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.0124, allocations: 4 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.0124, allocations: 7.938 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.336e-05/0.0125, allocations: 76.64 kB / 0.5495 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.01292, allocations: 364.9 kB / 0.5498 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.01311, allocations: 112.2 kB / 0.5499 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.01316, allocations: 62.53 kB / 0.55 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.01317, allocations: 4 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.01332, allocations: 188.3 kB / 0.5502 GB, free: 24.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.01332, allocations: 0 / 0.5502 GB, free: 24.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006185/0.01394, allocations: 0.511 MB / 0.5507 GB, free: 24.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.01397, allocations: 136.5 kB / 0.5508 GB, free: 23.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.01409, allocations: 210.1 kB / 0.551 GB, free: 23.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.0141, allocations: 29.7 kB / 0.551 GB, free: 23.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.01414, allocations: 116.4 kB / 0.5511 GB, free: 23.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.01418, allocations: 71.41 kB / 0.5512 GB, free: 23.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.01424, allocations: 55.17 kB / 0.5512 GB, free: 23.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.01428, allocations: 334.8 kB / 0.5516 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/0.01737, allocations: 93 kB / 0.5517 GB, free: 22.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.01746, allocations: 185.3 kB / 0.5518 GB, free: 22.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.0176, allocations: 211.8 kB / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0176, allocations: 0 / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002041/0.0178, allocations: 263.5 kB / 0.5523 GB, free: 22.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.01784, allocations: 63.62 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01784, allocations: 2.656 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.01785, allocations: 7.984 kB / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.01807, allocations: 70.97 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01808, allocations: 7.938 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.01819, allocations: 19.92 kB / 0.5524 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.01821, allocations: 8 kB / 0.5525 GB, free: 21.96 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.0001134/0.01832, allocations: 173.7 kB / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.01835, allocations: 23.97 kB / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.01839, allocations: 25.95 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01839, allocations: 0 / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01839, allocations: 0 / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.0184, allocations: 0 / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.01871, allocations: 374.3 kB / 0.553 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01871, allocations: 3.938 kB / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.01887, allocations: 47.91 kB / 0.5531 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.01889, allocations: 19.86 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.0189, allocations: 4 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01891, allocations: 0 / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01891, allocations: 3.984 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01891, allocations: 0 / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.01913, allocations: 353 kB / 0.5534 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.01917, allocations: 11.98 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.01928, allocations: 8 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.01934, allocations: 23.39 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.01935, allocations: 11.94 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.0194, allocations: 65.95 kB / 0.5536 GB, free: 20.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0194, allocations: 0 / 0.5536 GB, free: 20.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.01967, allocations: 56 kB / 0.5536 GB, free: 20.7 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 7.932e-05/0.01975, allocations: 92.36 kB / 0.5537 GB, free: 20.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.01995, allocations: 315.7 kB / 0.554 GB, free: 20.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.01995, allocations: 0 / 0.554 GB, free: 20.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.02004, allocations: 153.4 kB / 0.5541 GB, free: 20.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/0.0234, allocations: 82.41 kB / 0.5542 GB, free: 20 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009254/0.03265, allocations: 0.5815 MB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.545e-05/0.03269, allocations: 76.33 kB / 0.5549 GB, free: 19.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.004e-05/0.03277, allocations: 25.98 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.03291, allocations: 115.3 kB / 0.555 GB, free: 19.16 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.03291, allocations: 0 / 0.555 GB, free: 19.16 MB / 410.7 MB Notification: Performance of Templates: time 0.005305/0.03822, allocations: 3.778 MB / 0.5587 GB, free: 15.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2674345513805747]