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.002565/0.002565, allocations: 84.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.002416/0.002416, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.618/1.618, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] 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 1.335/1.335, allocations: 292.9 MB / 0.5392 GB, free: 49.83 MB / 410.7 MB " [Timeout remaining time 178] 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.423e-06/1.423e-06, allocations: 0 / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.664e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.594 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference): time 0.002716/0.002743, allocations: 2.322 MB / 0.7021 GB, free: 6.254 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.003623, allocations: 0.5923 MB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.00372, allocations: 3.938 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.003841, allocations: 27.72 kB / 0.7027 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.004032, allocations: 79.33 kB / 0.7028 GB, free: 5.551 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.004233, allocations: 59.8 kB / 0.7029 GB, free: 5.492 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.004449, allocations: 266.6 kB / 0.7031 GB, free: 5.23 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.00457, allocations: 28.58 kB / 0.7032 GB, free: 5.207 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.004716, allocations: 151.5 kB / 0.7033 GB, free: 5.059 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.004898, allocations: 79.8 kB / 0.7034 GB, free: 4.98 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.004928, allocations: 16 kB / 0.7034 GB, free: 4.965 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.945e-05/0.004958, allocations: 16 kB / 0.7034 GB, free: 4.949 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.004995, allocations: 43.77 kB / 0.7035 GB, free: 4.906 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.005071, allocations: 75.83 kB / 0.7035 GB, free: 4.832 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.005287, allocations: 203.3 kB / 0.7037 GB, free: 4.633 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.00529, allocations: 0 / 0.7037 GB, free: 4.633 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005291, allocations: 0 / 0.7037 GB, free: 4.633 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.005295, allocations: 3.938 kB / 0.7037 GB, free: 4.629 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.0007955/0.006091, allocations: 492.9 kB / 0.7042 GB, free: 4.102 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.006142, allocations: 12.02 kB / 0.7042 GB, free: 4.09 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.006206, allocations: 24.8 kB / 0.7042 GB, free: 4.066 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.006415, allocations: 178.4 kB / 0.7044 GB, free: 3.863 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.006437, allocations: 16.59 kB / 0.7044 GB, free: 3.848 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.006473, allocations: 12.38 kB / 0.7044 GB, free: 3.836 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.0068, allocations: 198.4 kB / 0.7046 GB, free: 3.629 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.006816, allocations: 7.953 kB / 0.7046 GB, free: 3.621 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.006834, allocations: 8 kB / 0.7046 GB, free: 3.613 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.00684, allocations: 7.984 kB / 0.7046 GB, free: 3.605 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.007168, allocations: 146.2 kB / 0.7048 GB, free: 3.457 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.007854, allocations: 485.5 kB / 0.7052 GB, free: 2.949 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.008343, allocations: 172.1 kB / 0.7054 GB, free: 2.766 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.008519, allocations: 94.52 kB / 0.7055 GB, free: 2.664 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.008534, allocations: 4 kB / 0.7055 GB, free: 2.66 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.008859, allocations: 228.4 kB / 0.7057 GB, free: 2.406 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.008861, allocations: 0 / 0.7057 GB, free: 2.406 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001431/0.01029, allocations: 0.7065 MB / 0.7064 GB, free: 1.637 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.01035, allocations: 132.5 kB / 0.7065 GB, free: 1.477 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.01053, allocations: 223 kB / 0.7067 GB, free: 1.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.01055, allocations: 33.7 kB / 0.7068 GB, free: 1.211 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.01062, allocations: 132.5 kB / 0.7069 GB, free: 1.078 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.01066, allocations: 63.48 kB / 0.707 GB, free: 1.016 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.01074, allocations: 53.7 kB / 0.707 GB, free: 0.957 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.01082, allocations: 334.8 kB / 0.7073 GB, free: 0.6211 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.01103, allocations: 149 kB / 0.7075 GB, free: 468 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.01125, allocations: 221.3 kB / 0.7077 GB, free: 200 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.01168, allocations: 286.3 kB / 0.708 GB, free: 15.88 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01169, allocations: 0 / 0.708 GB, free: 15.88 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006894/0.01237, allocations: 391.9 kB / 0.7083 GB, free: 15.46 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/0.01244, allocations: 67.34 kB / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.01245, allocations: 0 / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.01247, allocations: 4 kB / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.01269, allocations: 60.05 kB / 0.7085 GB, free: 15.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.0127, allocations: 4 kB / 0.7085 GB, free: 15.32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.01288, allocations: 19.97 kB / 0.7085 GB, free: 15.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.01291, allocations: 16 kB / 0.7085 GB, free: 15.28 MB / 426.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.0002312/0.01314, allocations: 177.1 kB / 0.7087 GB, free: 15.09 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.01318, allocations: 15.91 kB / 0.7087 GB, free: 15.08 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.01324, allocations: 25.91 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.01324, allocations: 8 kB / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.01325, allocations: 3.938 kB / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.01326, allocations: 3.984 kB / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.01442, allocations: 0.5367 MB / 0.7092 GB, free: 14.45 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01442, allocations: 0 / 0.7092 GB, free: 14.45 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.01462, allocations: 31.98 kB / 0.7093 GB, free: 14.42 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01462, allocations: 0 / 0.7093 GB, free: 14.42 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.01465, allocations: 19.92 kB / 0.7093 GB, free: 14.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01465, allocations: 4 kB / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01465, allocations: 0 / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.01552, allocations: 0.495 MB / 0.7098 GB, free: 13.87 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.01556, allocations: 15.86 kB / 0.7098 GB, free: 13.86 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.0156, allocations: 8 kB / 0.7098 GB, free: 13.85 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.01579, allocations: 20.02 kB / 0.7098 GB, free: 13.83 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.01587, allocations: 19.97 kB / 0.7098 GB, free: 13.81 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.01589, allocations: 4 kB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001792/0.01607, allocations: 164.4 kB / 0.71 GB, free: 13.64 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01607, allocations: 0 / 0.71 GB, free: 13.64 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003056/0.01637, allocations: 60 kB / 0.7101 GB, free: 13.59 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.0001745/0.01655, allocations: 115.3 kB / 0.7102 GB, free: 13.47 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.01723, allocations: 383.6 kB / 0.7105 GB, free: 13.05 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01724, allocations: 448 / 0.7105 GB, free: 13.05 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.01753, allocations: 177 kB / 0.7107 GB, free: 12.86 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.01801, allocations: 64.81 kB / 0.7108 GB, free: 12.8 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.01924, allocations: 0.5781 MB / 0.7113 GB, free: 12.19 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.01938, allocations: 121.6 kB / 0.7114 GB, free: 12.05 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.558e-05/0.01948, allocations: 25.94 kB / 0.7115 GB, free: 12.02 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.01955, allocations: 24.5 kB / 0.7115 GB, free: 12 MB / 426.8 MB Notification: Performance of SimCode: time 6.01e-07/0.01955, allocations: 4 kB / 0.7115 GB, free: 11.99 MB / 426.8 MB Notification: Performance of Templates: time 0.008512/0.02806, allocations: 3.329 MB / 0.7148 GB, free: 8.812 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.704164202790707]