Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.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.001907/0.001907, 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.002052/0.002052, 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.607/1.607, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.383/1.383, allocations: 292.9 MB / 0.5392 GB, free: 49.85 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.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.041e-05, allocations: 9.031 kB / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii): time 0.002792/0.002823, allocations: 2.299 MB / 0.7021 GB, free: 6.258 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.003758, allocations: 0.5961 MB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.003863, allocations: 4 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003982, allocations: 27.7 kB / 0.7027 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.004189, allocations: 87.27 kB / 0.7028 GB, free: 5.543 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.004394, allocations: 51.88 kB / 0.7029 GB, free: 5.492 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.004627, allocations: 266.6 kB / 0.7031 GB, free: 5.23 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.004746, allocations: 32.58 kB / 0.7032 GB, free: 5.203 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.004893, allocations: 143.6 kB / 0.7033 GB, free: 5.062 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.005075, allocations: 83.78 kB / 0.7034 GB, free: 4.98 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/0.005114, allocations: 16 kB / 0.7034 GB, free: 4.965 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.048e-05/0.005145, allocations: 20 kB / 0.7034 GB, free: 4.945 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.005177, allocations: 35.78 kB / 0.7034 GB, free: 4.91 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.005254, allocations: 75.83 kB / 0.7035 GB, free: 4.836 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.005454, allocations: 207.2 kB / 0.7037 GB, free: 4.633 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005457, allocations: 8 kB / 0.7037 GB, free: 4.625 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005458, allocations: 0 / 0.7037 GB, free: 4.625 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005463, allocations: 3.938 kB / 0.7037 GB, free: 4.621 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.0007558/0.006218, allocations: 492.8 kB / 0.7042 GB, free: 4.094 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.006252, allocations: 12.03 kB / 0.7042 GB, free: 4.082 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.006309, allocations: 20.8 kB / 0.7042 GB, free: 4.062 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.006503, allocations: 186.4 kB / 0.7044 GB, free: 3.852 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.006519, allocations: 4.609 kB / 0.7044 GB, free: 3.848 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.006557, allocations: 24.38 kB / 0.7044 GB, free: 3.824 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.006918, allocations: 194.5 kB / 0.7046 GB, free: 3.621 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.006936, allocations: 3.953 kB / 0.7046 GB, free: 3.617 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.006953, allocations: 4 kB / 0.7046 GB, free: 3.613 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.006958, allocations: 4 kB / 0.7046 GB, free: 3.609 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.007307, allocations: 150.2 kB / 0.7048 GB, free: 3.457 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.008038, allocations: 477.5 kB / 0.7052 GB, free: 2.957 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.008506, allocations: 176.2 kB / 0.7054 GB, free: 2.77 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.008677, allocations: 98.52 kB / 0.7055 GB, free: 2.664 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.00869, allocations: 0 / 0.7055 GB, free: 2.664 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.009019, allocations: 232.4 kB / 0.7057 GB, free: 2.406 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.009021, allocations: 0 / 0.7057 GB, free: 2.406 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001376/0.0104, allocations: 0.7024 MB / 0.7064 GB, free: 1.641 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.01044, allocations: 136.5 kB / 0.7065 GB, free: 1.477 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.01061, allocations: 215 kB / 0.7067 GB, free: 1.258 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.01063, allocations: 33.7 kB / 0.7068 GB, free: 1.219 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.01068, allocations: 132.5 kB / 0.7069 GB, free: 1.086 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.01073, allocations: 75.47 kB / 0.707 GB, free: 1.012 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.0108, allocations: 53.64 kB / 0.707 GB, free: 0.9531 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.01085, allocations: 334.8 kB / 0.7073 GB, free: 0.6172 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.0111, allocations: 148.9 kB / 0.7075 GB, free: 464 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.01133, allocations: 225.3 kB / 0.7077 GB, free: 192 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.01176, allocations: 280.9 kB / 0.708 GB, free: 15.87 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01176, allocations: 0 / 0.708 GB, free: 15.87 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007565/0.01252, allocations: 390.4 kB / 0.7083 GB, free: 15.46 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.01259, allocations: 67.42 kB / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.0126, allocations: 4 kB / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.01262, allocations: 0 / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.01289, allocations: 59.84 kB / 0.7085 GB, free: 15.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.01289, allocations: 0 / 0.7085 GB, free: 15.32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.01309, allocations: 19.98 kB / 0.7085 GB, free: 15.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.01312, allocations: 11.94 kB / 0.7085 GB, free: 15.29 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.0002454/0.01336, allocations: 175.7 kB / 0.7087 GB, free: 15.1 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.01341, allocations: 27.89 kB / 0.7087 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.318e-05/0.01347, allocations: 21.95 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01348, allocations: 0 / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.01349, allocations: 3.938 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01349, allocations: 4 kB / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009836/0.01447, allocations: 0.5391 MB / 0.7092 GB, free: 14.46 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01448, allocations: 0 / 0.7092 GB, free: 14.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.01471, allocations: 39.91 kB / 0.7093 GB, free: 14.42 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.01472, allocations: 4 kB / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.01475, allocations: 4 kB / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.01475, allocations: 4 kB / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01475, allocations: 0 / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.01566, allocations: 0.4935 MB / 0.7098 GB, free: 13.88 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.01572, allocations: 23.89 kB / 0.7098 GB, free: 13.86 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.01577, allocations: 8 kB / 0.7098 GB, free: 13.85 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.01595, allocations: 19.92 kB / 0.7098 GB, free: 13.83 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.821e-05/0.01605, allocations: 23.97 kB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.01607, allocations: 7.984 kB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000205/0.01628, allocations: 160.4 kB / 0.71 GB, free: 13.64 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01628, allocations: 0 / 0.71 GB, free: 13.64 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003157/0.01659, allocations: 52 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.0001697/0.01676, allocations: 111.2 kB / 0.7102 GB, free: 13.47 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007324/0.01749, allocations: 393 kB / 0.7105 GB, free: 13.05 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.0175, allocations: 0 / 0.7105 GB, free: 13.05 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.01782, allocations: 169 kB / 0.7107 GB, free: 12.87 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.01834, allocations: 68.27 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.001314/0.01965, allocations: 0.5742 MB / 0.7113 GB, free: 12.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.0198, allocations: 125.6 kB / 0.7114 GB, free: 12.05 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.01991, allocations: 29.94 kB / 0.7115 GB, free: 12.02 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.01998, allocations: 24.48 kB / 0.7115 GB, free: 12 MB / 426.8 MB Notification: Performance of SimCode: time 7.51e-07/0.01998, allocations: 0 / 0.7115 GB, free: 12 MB / 426.8 MB Notification: Performance of Templates: time 0.008531/0.02851, allocations: 3.337 MB / 0.7148 GB, free: 8.824 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.242602134123445]