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.004062/0.004062, allocations: 92.42 kB / 19.94 MB, free: 4.594 MB / 18.57 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.00128/0.00128, allocations: 169.9 kB / 23.21 MB, free: 1.32 MB / 18.57 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.9328/0.9328, allocations: 177.1 MB / 203.5 MB, free: 5.773 MB / 186.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.7757/0.7757, allocations: 291.1 MB / 0.5382 GB, free: 51.84 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.142e-06/1.142e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.181e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference): time 0.002155/0.002177, allocations: 2.328 MB / 0.6996 GB, free: 8.031 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007356/0.002913, allocations: 0.5962 MB / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.003, allocations: 0 / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.631e-05/0.003096, allocations: 27.7 kB / 0.7002 GB, free: 7.406 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.003257, allocations: 87.27 kB / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.003431, allocations: 47.88 kB / 0.7003 GB, free: 7.273 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.003611, allocations: 266.6 kB / 0.7006 GB, free: 7.012 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.003723, allocations: 40.52 kB / 0.7006 GB, free: 6.977 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.003857, allocations: 139.6 kB / 0.7008 GB, free: 6.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.004017, allocations: 79.78 kB / 0.7008 GB, free: 6.762 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.004042, allocations: 16 kB / 0.7009 GB, free: 6.746 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.299e-05/0.004065, allocations: 20 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.004094, allocations: 39.78 kB / 0.7009 GB, free: 6.688 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.004168, allocations: 75.83 kB / 0.701 GB, free: 6.613 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.004359, allocations: 199.3 kB / 0.7012 GB, free: 6.418 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004361, allocations: 4 kB / 0.7012 GB, free: 6.414 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004362, allocations: 0 / 0.7012 GB, free: 6.414 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.004367, allocations: 0 / 0.7012 GB, free: 6.414 MB / 410.8 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.0004853/0.004852, allocations: 499 kB / 0.7017 GB, free: 5.883 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.004894, allocations: 15.89 kB / 0.7017 GB, free: 5.867 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.004953, allocations: 28.8 kB / 0.7017 GB, free: 5.84 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005108, allocations: 170.5 kB / 0.7019 GB, free: 5.645 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.00512, allocations: 12.55 kB / 0.7019 GB, free: 5.633 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.005144, allocations: 16.38 kB / 0.7019 GB, free: 5.617 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.005351, allocations: 206.4 kB / 0.7021 GB, free: 5.402 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.005362, allocations: 11.95 kB / 0.7021 GB, free: 5.391 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.005374, allocations: 4 kB / 0.7021 GB, free: 5.387 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.005378, allocations: 0 / 0.7021 GB, free: 5.387 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.005573, allocations: 150.3 kB / 0.7022 GB, free: 5.234 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.006052, allocations: 477.5 kB / 0.7027 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.006328, allocations: 184 kB / 0.7029 GB, free: 4.539 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.006418, allocations: 94.52 kB / 0.703 GB, free: 4.438 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.006427, allocations: 3.938 kB / 0.703 GB, free: 4.434 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.006604, allocations: 232.6 kB / 0.7032 GB, free: 4.176 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.006606, allocations: 3.938 kB / 0.7032 GB, free: 4.172 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0007892/0.007395, allocations: 0.7053 MB / 0.7039 GB, free: 3.406 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.007426, allocations: 132.5 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.007539, allocations: 223 kB / 0.7042 GB, free: 3.02 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.007551, allocations: 29.7 kB / 0.7042 GB, free: 2.984 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.007596, allocations: 132.5 kB / 0.7044 GB, free: 2.852 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.007623, allocations: 75.41 kB / 0.7044 GB, free: 2.777 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.007671, allocations: 49.7 kB / 0.7045 GB, free: 2.723 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.204e-05/0.007703, allocations: 334.8 kB / 0.7048 GB, free: 2.387 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.00782, allocations: 149 kB / 0.705 GB, free: 2.223 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.007941, allocations: 217.3 kB / 0.7052 GB, free: 1.965 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.008139, allocations: 286.2 kB / 0.7054 GB, free: 1.645 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.00814, allocations: 0 / 0.7054 GB, free: 1.645 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002893/0.008429, allocations: 387.9 kB / 0.7058 GB, free: 1.234 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.008452, allocations: 71.33 kB / 0.7059 GB, free: 1.152 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.008458, allocations: 4 kB / 0.7059 GB, free: 1.148 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.008468, allocations: 224 / 0.7059 GB, free: 1.148 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.008575, allocations: 59.84 kB / 0.7059 GB, free: 1.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.008582, allocations: 4 kB / 0.7059 GB, free: 1.086 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.544e-05/0.008678, allocations: 15.98 kB / 0.706 GB, free: 1.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.00869, allocations: 12 kB / 0.706 GB, free: 1.059 MB / 410.8 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.00012/0.00881, allocations: 172.3 kB / 0.7061 GB, free: 0.875 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.008828, allocations: 19.91 kB / 0.7061 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.008858, allocations: 25.95 kB / 0.7062 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.00886, allocations: 4 kB / 0.7062 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.008864, allocations: 7.938 kB / 0.7062 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.008868, allocations: 0 / 0.7062 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.009266, allocations: 0.5367 MB / 0.7067 GB, free: 236 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.009267, allocations: 0 / 0.7067 GB, free: 236 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.188e-05/0.009359, allocations: 31.97 kB / 0.7067 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.009361, allocations: 4 kB / 0.7067 GB, free: 200 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.009372, allocations: 8 kB / 0.7068 GB, free: 192 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009374, allocations: 8 kB / 0.7068 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009374, allocations: 0 / 0.7068 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.009797, allocations: 0.4949 MB / 0.7072 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.009823, allocations: 27.98 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.009849, allocations: 11.98 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.009929, allocations: 7.984 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.009985, allocations: 19.97 kB / 0.7073 GB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.009998, allocations: 19.92 kB / 0.7073 GB, free: 15.57 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.339e-05/0.01009, allocations: 156.4 kB / 0.7075 GB, free: 15.42 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01009, allocations: 0 / 0.7075 GB, free: 15.42 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001901/0.01028, allocations: 56 kB / 0.7075 GB, free: 15.36 MB / 426.8 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 8.782e-05/0.01037, allocations: 111.2 kB / 0.7076 GB, free: 15.25 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.01072, allocations: 382.3 kB / 0.708 GB, free: 14.83 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01072, allocations: 4.062 kB / 0.708 GB, free: 14.83 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.01086, allocations: 169 kB / 0.7082 GB, free: 14.64 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.01113, allocations: 67.45 kB / 0.7082 GB, free: 14.58 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.01187, allocations: 0.6041 MB / 0.7088 GB, free: 13.94 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.754e-05/0.01195, allocations: 133.5 kB / 0.7089 GB, free: 13.79 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.01201, allocations: 28.5 kB / 0.709 GB, free: 13.76 MB / 426.8 MB Notification: Performance of SimCode: time 6.01e-07/0.01201, allocations: 0 / 0.709 GB, free: 13.76 MB / 426.8 MB Notification: Performance of Templates: time 0.003319/0.01533, allocations: 2.924 MB / 0.7118 GB, free: 10.86 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.855905330739915]