Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_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.000927/0.000927, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.0008637/0.0008637, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.9363/0.9363, 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.7173/0.7173, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.SilveriSelenide.SilveriSelenide_Tang2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.372e-05, allocations: 9.172 kB / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference): time 0.002238/0.002262, allocations: 2.324 MB / 0.6996 GB, free: 8.039 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.002996, allocations: 0.5961 MB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.003087, allocations: 8 kB / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.0032, allocations: 23.72 kB / 0.7002 GB, free: 7.41 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.003369, allocations: 79.28 kB / 0.7003 GB, free: 7.332 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.003553, allocations: 55.88 kB / 0.7004 GB, free: 7.277 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.003754, allocations: 266.6 kB / 0.7006 GB, free: 7.016 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.003892, allocations: 36.5 kB / 0.7006 GB, free: 6.984 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.004019, allocations: 139.7 kB / 0.7008 GB, free: 6.848 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.004181, allocations: 83.72 kB / 0.7009 GB, free: 6.766 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.004206, allocations: 20 kB / 0.7009 GB, free: 6.746 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.995e-05/0.004226, allocations: 16 kB / 0.7009 GB, free: 6.73 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.004256, allocations: 47.77 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.004321, allocations: 71.78 kB / 0.701 GB, free: 6.613 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.004492, allocations: 195.4 kB / 0.7012 GB, free: 6.422 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004494, allocations: 0 / 0.7012 GB, free: 6.422 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.51e-07/0.004495, allocations: 0 / 0.7012 GB, free: 6.422 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004499, allocations: 0 / 0.7012 GB, free: 6.422 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.0006091/0.005108, allocations: 0.4891 MB / 0.7017 GB, free: 5.887 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.005146, allocations: 8.031 kB / 0.7017 GB, free: 5.879 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.005197, allocations: 24.8 kB / 0.7017 GB, free: 5.855 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.005369, allocations: 182.4 kB / 0.7019 GB, free: 5.648 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.005384, allocations: 12.61 kB / 0.7019 GB, free: 5.637 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.005413, allocations: 12.38 kB / 0.7019 GB, free: 5.625 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.00564, allocations: 198.5 kB / 0.7021 GB, free: 5.418 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.005654, allocations: 3.953 kB / 0.7021 GB, free: 5.414 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.005668, allocations: 4 kB / 0.7021 GB, free: 5.41 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005673, allocations: 8 kB / 0.7021 GB, free: 5.402 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.005864, allocations: 146.2 kB / 0.7022 GB, free: 5.254 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.006373, allocations: 485.5 kB / 0.7027 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.006678, allocations: 176 kB / 0.7029 GB, free: 4.559 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/0.006777, allocations: 102.5 kB / 0.703 GB, free: 4.449 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.006787, allocations: 0 / 0.703 GB, free: 4.449 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.006991, allocations: 228.5 kB / 0.7032 GB, free: 4.195 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.006993, allocations: 0 / 0.7032 GB, free: 4.195 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008465/0.007839, allocations: 0.7105 MB / 0.7039 GB, free: 3.422 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.007877, allocations: 136.5 kB / 0.704 GB, free: 3.258 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.007994, allocations: 219 kB / 0.7042 GB, free: 3.035 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.008006, allocations: 33.7 kB / 0.7043 GB, free: 2.996 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.008057, allocations: 132.5 kB / 0.7044 GB, free: 2.863 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.008086, allocations: 71.41 kB / 0.7044 GB, free: 2.793 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.008132, allocations: 49.7 kB / 0.7045 GB, free: 2.738 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.091e-05/0.008173, allocations: 342.8 kB / 0.7048 GB, free: 2.395 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.008294, allocations: 141 kB / 0.705 GB, free: 2.238 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.008422, allocations: 221.3 kB / 0.7052 GB, free: 1.977 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.008632, allocations: 286.2 kB / 0.7054 GB, free: 1.656 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008634, allocations: 0 / 0.7054 GB, free: 1.656 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003119/0.008946, allocations: 396 kB / 0.7058 GB, free: 1.238 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.008981, allocations: 65.73 kB / 0.7059 GB, free: 1.164 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008986, allocations: 0 / 0.7059 GB, free: 1.164 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.008999, allocations: 4 kB / 0.7059 GB, free: 1.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.009111, allocations: 55.84 kB / 0.7059 GB, free: 1.105 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.009118, allocations: 8.219 kB / 0.7059 GB, free: 1.098 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.664e-05/0.009204, allocations: 19.98 kB / 0.706 GB, free: 1.078 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.009218, allocations: 8 kB / 0.706 GB, free: 1.07 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.0001272/0.009346, allocations: 176.3 kB / 0.7061 GB, free: 0.8828 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.009362, allocations: 15.91 kB / 0.7062 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.009395, allocations: 29.95 kB / 0.7062 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.009396, allocations: 3.938 kB / 0.7062 GB, free: 0.832 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.009401, allocations: 3.938 kB / 0.7062 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.009405, allocations: 4 kB / 0.7062 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.009822, allocations: 0.5367 MB / 0.7067 GB, free: 244 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009824, allocations: 0 / 0.7067 GB, free: 244 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.009921, allocations: 35.97 kB / 0.7068 GB, free: 208 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009924, allocations: 0 / 0.7068 GB, free: 208 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.009936, allocations: 4 kB / 0.7068 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.009937, allocations: 0 / 0.7068 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009938, allocations: 0 / 0.7068 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.01038, allocations: 0.5066 MB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.0104, allocations: 19.89 kB / 0.7073 GB, free: 15.64 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.01043, allocations: 8 kB / 0.7073 GB, free: 15.64 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.01051, allocations: 15.98 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.01058, allocations: 19.97 kB / 0.7073 GB, free: 15.6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.01059, allocations: 7.984 kB / 0.7073 GB, free: 15.59 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001009/0.01069, allocations: 160.4 kB / 0.7075 GB, free: 15.44 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01069, allocations: 0 / 0.7075 GB, free: 15.44 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000188/0.01088, allocations: 60 kB / 0.7075 GB, free: 15.38 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 0.0001007/0.01098, allocations: 130.5 kB / 0.7077 GB, free: 15.25 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.01134, allocations: 375.6 kB / 0.708 GB, free: 14.84 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01134, allocations: 0 / 0.708 GB, free: 14.84 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.01148, allocations: 169.5 kB / 0.7082 GB, free: 14.65 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01177, allocations: 63.84 kB / 0.7082 GB, free: 14.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007647/0.01254, allocations: 0.6055 MB / 0.7088 GB, free: 13.95 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.652e-05/0.01262, allocations: 125.6 kB / 0.7089 GB, free: 13.8 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.01268, allocations: 24.5 kB / 0.709 GB, free: 13.78 MB / 426.8 MB Notification: Performance of SimCode: time 1.272e-06/0.01268, allocations: 0 / 0.709 GB, free: 13.78 MB / 426.8 MB Notification: Performance of Templates: time 0.003432/0.01611, allocations: 2.94 MB / 0.7118 GB, free: 10.87 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.600981282070279]