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.001166/0.001166, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001797/0.002963, allocations: 443.8 kB / 10.3 MB, free: 400 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.001163/0.001163, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.002733, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9858/0.9858, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08951/1.075, allocations: 53.65 MB / 243.2 MB, free: 15.61 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.8474/0.8474, allocations: 291.1 MB / 0.5225 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03057/0.8779, allocations: 21.03 MB / 0.5431 GB, free: 31.98 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.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.538e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference): time 0.001962/0.001978, allocations: 2.512 MB / 0.5469 GB, free: 28.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007171/0.002695, allocations: 0.6193 MB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.002781, allocations: 7.938 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.002839, allocations: 19.78 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.002967, allocations: 91.25 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.003095, allocations: 55.81 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.003273, allocations: 266.6 kB / 0.5479 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.003371, allocations: 38.53 kB / 0.5479 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.003531, allocations: 176.2 kB / 0.5481 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.003667, allocations: 87.72 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.00369, allocations: 16 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.003714, allocations: 20 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.003741, allocations: 27.88 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.003796, allocations: 63.88 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.003946, allocations: 139.4 kB / 0.5484 GB, free: 26.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.003959, allocations: 0 / 0.5484 GB, free: 26.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00396, allocations: 4 kB / 0.5485 GB, free: 26.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.003972, allocations: 0 / 0.5485 GB, free: 26.46 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.0005341/0.004507, allocations: 0.4937 MB / 0.5489 GB, free: 25.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.004533, allocations: 8.031 kB / 0.5489 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.004577, allocations: 28.91 kB / 0.549 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.004715, allocations: 175.1 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.004734, allocations: 12.61 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.004757, allocations: 16.36 kB / 0.5492 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.004906, allocations: 155.5 kB / 0.5493 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.004917, allocations: 0 / 0.5493 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004927, allocations: 8 kB / 0.5493 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004932, allocations: 4 kB / 0.5493 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.005011, allocations: 76.64 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.005368, allocations: 372.9 kB / 0.5498 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.00553, allocations: 104.2 kB / 0.5499 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.005564, allocations: 58.69 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.005573, allocations: 7.938 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.0057, allocations: 191.7 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.005701, allocations: 0 / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005121/0.006213, allocations: 0.5258 MB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.006243, allocations: 136.5 kB / 0.5507 GB, free: 23.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/0.006326, allocations: 202.1 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.006339, allocations: 33.7 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.006373, allocations: 116.4 kB / 0.5511 GB, free: 23.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.006404, allocations: 75.39 kB / 0.5511 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.006449, allocations: 47.19 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.028e-05/0.00648, allocations: 338.8 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.006527, allocations: 101 kB / 0.5516 GB, free: 22.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.006586, allocations: 173.3 kB / 0.5518 GB, free: 22.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.006685, allocations: 211.8 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.006687, allocations: 3.984 kB / 0.552 GB, free: 22.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001532/0.00684, allocations: 262.1 kB / 0.5522 GB, free: 22.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.006871, allocations: 63.41 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006876, allocations: 4 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.006885, allocations: 4 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.007043, allocations: 65.86 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.007047, allocations: 4 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.007126, allocations: 19.92 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.007136, allocations: 12.19 kB / 0.5524 GB, free: 21.99 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 8.783e-05/0.007224, allocations: 167.7 kB / 0.5526 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.007244, allocations: 19.92 kB / 0.5526 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.007272, allocations: 25.95 kB / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007274, allocations: 4 kB / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.007276, allocations: 0 / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007279, allocations: 0 / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.007519, allocations: 378.2 kB / 0.553 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007521, allocations: 3.938 kB / 0.553 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.007637, allocations: 47.91 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.007658, allocations: 26.98 kB / 0.553 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.00766, allocations: 0 / 0.553 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.007671, allocations: 4 kB / 0.553 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.007672, allocations: 0 / 0.553 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.007674, allocations: 0 / 0.553 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.007841, allocations: 352.2 kB / 0.5534 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.007863, allocations: 4 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.007937, allocations: 15.98 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.007982, allocations: 23.91 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.007991, allocations: 11.92 kB / 0.5534 GB, free: 20.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.008031, allocations: 65.94 kB / 0.5535 GB, free: 20.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008032, allocations: 0 / 0.5535 GB, free: 20.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.008194, allocations: 56 kB / 0.5536 GB, free: 20.72 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.033e-05/0.008255, allocations: 88.42 kB / 0.5536 GB, free: 20.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.008416, allocations: 316 kB / 0.5539 GB, free: 20.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.008421, allocations: 4 kB / 0.5539 GB, free: 20.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.902e-05/0.00848, allocations: 137.9 kB / 0.5541 GB, free: 20.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.008708, allocations: 88.33 kB / 0.5542 GB, free: 20.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.01422, allocations: 0.5802 MB / 0.5547 GB, free: 19.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.756e-05/0.01428, allocations: 133.5 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.01443, allocations: 115.3 kB / 0.555 GB, free: 19.16 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01443, allocations: 0 / 0.555 GB, free: 19.16 MB / 410.7 MB Notification: Performance of Templates: time 0.002704/0.01714, allocations: 2.923 MB / 0.5578 GB, free: 16.27 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2169107953086495]