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.0006867/0.0006867, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009545/0.001641, allocations: 440 kB / 10.41 MB, free: 280 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.000698/0.000698, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002143, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9854/0.9854, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0889/1.074, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7396/0.7396, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05901/0.7986, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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 2.004e-06/2.004e-06, allocations: 0 / 0.5447 GB, free: 30.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.564e-05, allocations: 10.19 kB / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference): time 0.003523/0.003549, allocations: 2.524 MB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009761/0.004525, allocations: 0.627 MB / 0.5478 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.004624, allocations: 7.938 kB / 0.5478 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.13e-05/0.004705, allocations: 23.78 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.004874, allocations: 87.25 kB / 0.5479 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.005029, allocations: 47.88 kB / 0.5479 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.005285, allocations: 270.6 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.005402, allocations: 38.47 kB / 0.5482 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.005619, allocations: 184.1 kB / 0.5484 GB, free: 26.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.005817, allocations: 87.78 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.00585, allocations: 16 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.408e-05/0.005884, allocations: 16 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.005917, allocations: 27.88 kB / 0.5485 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.005992, allocations: 63.88 kB / 0.5486 GB, free: 26.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.006187, allocations: 131.5 kB / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.006199, allocations: 0 / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006199, allocations: 0 / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.00621, allocations: 3.938 kB / 0.5487 GB, free: 25.9 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.0006456/0.006855, allocations: 0.5054 MB / 0.5492 GB, free: 25.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.006887, allocations: 8.031 kB / 0.5492 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.006945, allocations: 24.92 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.007133, allocations: 175.1 kB / 0.5494 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.007156, allocations: 11.98 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.007187, allocations: 16.38 kB / 0.5495 GB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.007388, allocations: 163.4 kB / 0.5496 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.007401, allocations: 0 / 0.5496 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.007414, allocations: 4 kB / 0.5496 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.007422, allocations: 8 kB / 0.5496 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.007524, allocations: 74.11 kB / 0.5497 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.008003, allocations: 368.9 kB / 0.55 GB, free: 24.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.00821, allocations: 112.2 kB / 0.5502 GB, free: 24.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.008258, allocations: 58.55 kB / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.008268, allocations: 4 kB / 0.5502 GB, free: 24.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.008444, allocations: 188.4 kB / 0.5504 GB, free: 24.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.008445, allocations: 0 / 0.5504 GB, free: 24.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007167/0.009162, allocations: 0.5136 MB / 0.5509 GB, free: 23.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.00921, allocations: 166.2 kB / 0.5511 GB, free: 23.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.009336, allocations: 202.1 kB / 0.5512 GB, free: 23.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.009353, allocations: 37.64 kB / 0.5513 GB, free: 23.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.009393, allocations: 116.4 kB / 0.5514 GB, free: 22.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.009434, allocations: 71.39 kB / 0.5515 GB, free: 22.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.009499, allocations: 59.12 kB / 0.5515 GB, free: 22.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.009544, allocations: 334.8 kB / 0.5518 GB, free: 22.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.009626, allocations: 105 kB / 0.5519 GB, free: 22.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.803e-05/0.009714, allocations: 165.4 kB / 0.5521 GB, free: 22.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.009874, allocations: 227.6 kB / 0.5523 GB, free: 21.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009876, allocations: 4.031 kB / 0.5523 GB, free: 21.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002188/0.01009, allocations: 258.7 kB / 0.5526 GB, free: 21.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.01014, allocations: 70.2 kB / 0.5526 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01015, allocations: 6.656 kB / 0.5526 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.01016, allocations: 4 kB / 0.5526 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.01039, allocations: 60.12 kB / 0.5527 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.0104, allocations: 8 kB / 0.5527 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01053, allocations: 19.92 kB / 0.5527 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.01055, allocations: 12 kB / 0.5527 GB, free: 21.37 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.0001613/0.01071, allocations: 169.6 kB / 0.5529 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.01074, allocations: 23.03 kB / 0.5529 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.01078, allocations: 21.97 kB / 0.5529 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.01079, allocations: 4 kB / 0.5529 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01079, allocations: 4 kB / 0.5529 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.0108, allocations: 3.984 kB / 0.553 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.01118, allocations: 377.2 kB / 0.5533 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01119, allocations: 3.938 kB / 0.5533 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.01137, allocations: 43.97 kB / 0.5534 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.0114, allocations: 15.86 kB / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.01141, allocations: 0 / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.01143, allocations: 11.98 kB / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01143, allocations: 0 / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01143, allocations: 0 / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.01174, allocations: 353 kB / 0.5537 GB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.01177, allocations: 8 kB / 0.5537 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.01189, allocations: 15.92 kB / 0.5537 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.01196, allocations: 19.97 kB / 0.5538 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.01197, allocations: 7.938 kB / 0.5538 GB, free: 20.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.828e-05/0.01204, allocations: 65.94 kB / 0.5538 GB, free: 20.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01204, allocations: 0 / 0.5538 GB, free: 20.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002812/0.01232, allocations: 56 kB / 0.5539 GB, free: 20.11 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.0001354/0.01245, allocations: 92.36 kB / 0.554 GB, free: 20.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.01268, allocations: 308.6 kB / 0.5543 GB, free: 19.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.01269, allocations: 4 kB / 0.5543 GB, free: 19.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.0128, allocations: 156.7 kB / 0.5544 GB, free: 19.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.01323, allocations: 0.5016 MB / 0.5549 GB, free: 18.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/0.01893, allocations: 0.5549 MB / 0.5555 GB, free: 18.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.01897, allocations: 80.33 kB / 0.5555 GB, free: 18.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.01908, allocations: 29.97 kB / 0.5556 GB, free: 18.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.01922, allocations: 119.3 kB / 0.5557 GB, free: 18.06 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01922, allocations: 3.938 kB / 0.5557 GB, free: 18.05 MB / 410.7 MB Notification: Performance of Templates: time 0.2777/0.2969, allocations: 3.771 MB / 0.5594 GB, free: 84.05 MB / 410.8 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.6276740496978164]