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.0008721/0.0008721, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001205/0.002077, 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.0007067/0.0007067, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009078/0.001615, 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.085/1.085, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1373/1.222, 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.8326/0.8326, allocations: 291.2 MB / 0.5227 GB, free: 52.73 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04875/0.8814, allocations: 21.05 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.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.282e-06/1.282e-06, allocations: 0 / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.39e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference): time 0.002808/0.002832, allocations: 2.531 MB / 0.5471 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.003825, allocations: 0.6271 MB / 0.5477 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.003945, allocations: 0 / 0.5477 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.988e-05/0.004015, allocations: 27.72 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.004175, allocations: 79.28 kB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.004353, allocations: 59.84 kB / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.004737, allocations: 266.6 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.004869, allocations: 46.47 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.005074, allocations: 172.2 kB / 0.5483 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.005247, allocations: 87.72 kB / 0.5484 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.005276, allocations: 16 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.515e-05/0.005301, allocations: 16 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.005338, allocations: 27.88 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.005396, allocations: 63.88 kB / 0.5485 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.005561, allocations: 143.5 kB / 0.5487 GB, free: 26.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.005575, allocations: 0 / 0.5487 GB, free: 26.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005576, allocations: 0 / 0.5487 GB, free: 26.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.005588, allocations: 4 kB / 0.5487 GB, free: 26.18 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.0005636/0.006151, allocations: 0.4937 MB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.006185, allocations: 8.031 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.006229, allocations: 28.91 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.006418, allocations: 175.1 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.006443, allocations: 15.36 kB / 0.5494 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.00647, allocations: 12.38 kB / 0.5494 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.006639, allocations: 167.4 kB / 0.5495 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.006651, allocations: 0 / 0.5495 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.006663, allocations: 8 kB / 0.5496 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006669, allocations: 0 / 0.5496 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.006745, allocations: 76.7 kB / 0.5496 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.00716, allocations: 368.8 kB / 0.55 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.007327, allocations: 108.2 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.962e-05/0.007366, allocations: 62.55 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.007376, allocations: 4 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.007513, allocations: 184.4 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.007514, allocations: 0 / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006126/0.008127, allocations: 0.516 MB / 0.5508 GB, free: 23.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.008166, allocations: 166.2 kB / 0.551 GB, free: 23.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.008271, allocations: 206.1 kB / 0.5512 GB, free: 23.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.008287, allocations: 37.7 kB / 0.5512 GB, free: 23.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.008323, allocations: 112.4 kB / 0.5513 GB, free: 23.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.008355, allocations: 79.33 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.008409, allocations: 55.17 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.00845, allocations: 338.8 kB / 0.5518 GB, free: 22.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.008501, allocations: 93 kB / 0.5519 GB, free: 22.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.008569, allocations: 173.4 kB / 0.552 GB, free: 22.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.008682, allocations: 215.7 kB / 0.5522 GB, free: 22.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008684, allocations: 0 / 0.5522 GB, free: 22.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001729/0.008857, allocations: 263.5 kB / 0.5525 GB, free: 21.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.008899, allocations: 63.39 kB / 0.5525 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.008906, allocations: 4 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.008916, allocations: 4.219 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.009073, allocations: 71.89 kB / 0.5526 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.009078, allocations: 0 / 0.5526 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.009172, allocations: 27.86 kB / 0.5527 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.009184, allocations: 7.625 kB / 0.5527 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 0.0001216/0.009305, allocations: 165.7 kB / 0.5528 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.009328, allocations: 23.98 kB / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.009359, allocations: 33.94 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.009363, allocations: 4 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.009366, allocations: 0 / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.00937, allocations: 0 / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.009646, allocations: 378.2 kB / 0.5532 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.00965, allocations: 3.938 kB / 0.5532 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.009775, allocations: 35.97 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.009805, allocations: 23.84 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.009808, allocations: 0 / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.009821, allocations: 8 kB / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.009823, allocations: 4 kB / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.009825, allocations: 0 / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.01003, allocations: 351.6 kB / 0.5536 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.01006, allocations: 8 kB / 0.5537 GB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.01014, allocations: 11.98 kB / 0.5537 GB, free: 20.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.0102, allocations: 19.97 kB / 0.5537 GB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.01021, allocations: 7.922 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.066e-05/0.01026, allocations: 65.95 kB / 0.5538 GB, free: 20.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01026, allocations: 0 / 0.5538 GB, free: 20.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.01045, allocations: 60 kB / 0.5538 GB, free: 20.4 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 0.0001014/0.01055, allocations: 96.34 kB / 0.5539 GB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.01075, allocations: 312.5 kB / 0.5542 GB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.01075, allocations: 0 / 0.5542 GB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.01084, allocations: 148.7 kB / 0.5543 GB, free: 19.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.01109, allocations: 93.14 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.005543/0.01664, allocations: 0.5502 MB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.743e-05/0.01668, allocations: 92.25 kB / 0.5551 GB, free: 19.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.01681, allocations: 21.98 kB / 0.5551 GB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.01695, allocations: 119.3 kB / 0.5552 GB, free: 18.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.01696, allocations: 4 kB / 0.5552 GB, free: 18.86 MB / 410.7 MB Notification: Performance of Templates: time 0.005748/0.0227, allocations: 3.781 MB / 0.5589 GB, free: 15.18 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.717656617052853]