Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_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.001401/0.001401, 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.0009683/0.0009683, 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.924/0.924, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.7535/0.7535, allocations: 291.2 MB / 0.5382 GB, free: 51.8 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.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.879e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference): time 0.002874/0.002893, allocations: 2.287 MB / 0.6996 GB, free: 8.121 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005631/0.008523, allocations: 6.533 MB / 0.7059 GB, free: 1.578 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.008643, allocations: 0 / 0.7059 GB, free: 1.578 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.00876, allocations: 27.72 kB / 0.706 GB, free: 1.551 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.00898, allocations: 91.25 kB / 0.7061 GB, free: 1.461 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.009208, allocations: 51.88 kB / 0.7061 GB, free: 1.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.009456, allocations: 266.6 kB / 0.7064 GB, free: 1.148 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.009595, allocations: 44.48 kB / 0.7064 GB, free: 1.109 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.009748, allocations: 135.7 kB / 0.7065 GB, free: 0.9766 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.009932, allocations: 83.72 kB / 0.7066 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.009962, allocations: 16 kB / 0.7066 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.922e-05/0.009992, allocations: 19.94 kB / 0.7066 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.01003, allocations: 43.78 kB / 0.7067 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.01011, allocations: 75.84 kB / 0.7068 GB, free: 0.7422 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.01033, allocations: 203.4 kB / 0.7069 GB, free: 0.543 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.01033, allocations: 0 / 0.7069 GB, free: 0.543 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01033, allocations: 0 / 0.7069 GB, free: 0.543 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.01033, allocations: 0 / 0.7069 GB, free: 0.543 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.0006547/0.01099, allocations: 496.8 kB / 0.7074 GB, free: 12 kB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.01103, allocations: 8.031 kB / 0.7074 GB, free: 4 kB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.0111, allocations: 28.84 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.01134, allocations: 178.3 kB / 0.7076 GB, free: 15.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.01136, allocations: 12.61 kB / 0.7076 GB, free: 15.76 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.01139, allocations: 12.38 kB / 0.7077 GB, free: 15.75 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.01172, allocations: 198.5 kB / 0.7078 GB, free: 15.54 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01173, allocations: 7.938 kB / 0.7078 GB, free: 15.54 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.01175, allocations: 0 / 0.7078 GB, free: 15.54 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.01176, allocations: 4 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.01205, allocations: 150.2 kB / 0.708 GB, free: 15.38 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.01276, allocations: 489.4 kB / 0.7085 GB, free: 14.87 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.01531, allocations: 178.7 kB / 0.7086 GB, free: 14.68 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.01553, allocations: 94.53 kB / 0.7087 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.01554, allocations: 0 / 0.7087 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.01592, allocations: 240.3 kB / 0.709 GB, free: 14.31 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 2.184e-06/0.01592, allocations: 4 kB / 0.709 GB, free: 14.31 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001543/0.01747, allocations: 0.696 MB / 0.7096 GB, free: 13.55 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.01754, allocations: 140.5 kB / 0.7098 GB, free: 13.38 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.01778, allocations: 219 kB / 0.71 GB, free: 13.16 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.0178, allocations: 33.7 kB / 0.71 GB, free: 13.12 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.0179, allocations: 132.5 kB / 0.7101 GB, free: 12.99 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.237e-05/0.01796, allocations: 71.44 kB / 0.7102 GB, free: 12.92 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/0.01805, allocations: 49.69 kB / 0.7103 GB, free: 12.86 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01816, allocations: 334.8 kB / 0.7106 GB, free: 12.53 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.0184, allocations: 141 kB / 0.7107 GB, free: 12.37 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.019, allocations: 225.3 kB / 0.7109 GB, free: 12.11 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.01938, allocations: 287 kB / 0.7112 GB, free: 11.79 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01938, allocations: 0 / 0.7112 GB, free: 11.79 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006083/0.01999, allocations: 391.9 kB / 0.7116 GB, free: 11.37 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.02004, allocations: 63.41 kB / 0.7116 GB, free: 11.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.02005, allocations: 0 / 0.7116 GB, free: 11.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.02007, allocations: 4 kB / 0.7116 GB, free: 11.29 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.02026, allocations: 51.84 kB / 0.7117 GB, free: 11.24 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.02027, allocations: 11.92 kB / 0.7117 GB, free: 11.23 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.02045, allocations: 19.98 kB / 0.7117 GB, free: 11.21 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.02047, allocations: 16.22 kB / 0.7117 GB, free: 11.2 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.0002261/0.0207, allocations: 172.3 kB / 0.7119 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.02073, allocations: 15.91 kB / 0.7119 GB, free: 11 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.02078, allocations: 25.97 kB / 0.7119 GB, free: 10.97 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02079, allocations: 0 / 0.7119 GB, free: 10.97 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.0208, allocations: 7.922 kB / 0.7119 GB, free: 10.96 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.0208, allocations: 0 / 0.7119 GB, free: 10.96 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000873/0.02168, allocations: 0.5508 MB / 0.7125 GB, free: 10.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.02168, allocations: 0 / 0.7125 GB, free: 10.36 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.02184, allocations: 31.97 kB / 0.7125 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.02185, allocations: 0 / 0.7125 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.02187, allocations: 8 kB / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.02187, allocations: 0 / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.02187, allocations: 4 kB / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.02261, allocations: 0.4967 MB / 0.713 GB, free: 9.789 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.02266, allocations: 23.86 kB / 0.713 GB, free: 9.766 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.0227, allocations: 12.03 kB / 0.713 GB, free: 9.754 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.02286, allocations: 11.98 kB / 0.7131 GB, free: 9.742 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.02295, allocations: 19.97 kB / 0.7131 GB, free: 9.723 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.02296, allocations: 8 kB / 0.7131 GB, free: 9.715 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001577/0.02312, allocations: 164.4 kB / 0.7132 GB, free: 9.555 MB / 426.8 MB Notification: Performance of sort global known variables: time 1e-07/0.02312, allocations: 0 / 0.7132 GB, free: 9.555 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003395/0.02346, allocations: 52 kB / 0.7133 GB, free: 9.504 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.0001564/0.02362, allocations: 125.8 kB / 0.7134 GB, free: 9.375 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006387/0.02426, allocations: 378.2 kB / 0.7138 GB, free: 8.965 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.02426, allocations: 0 / 0.7138 GB, free: 8.965 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.02453, allocations: 173 kB / 0.7139 GB, free: 8.777 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/0.02507, allocations: 69.66 kB / 0.714 GB, free: 8.711 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.0266, allocations: 0.607 MB / 0.7146 GB, free: 8.066 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.02675, allocations: 121.6 kB / 0.7147 GB, free: 7.926 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.832e-05/0.02685, allocations: 28.5 kB / 0.7147 GB, free: 7.898 MB / 426.8 MB Notification: Performance of SimCode: time 1.963e-06/0.02685, allocations: 0 / 0.7147 GB, free: 7.898 MB / 426.8 MB Notification: Performance of Templates: time 0.006092/0.03294, allocations: 2.942 MB / 0.7176 GB, free: 4.992 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.669340120628476]