Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole.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.002462/0.002462, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.00263/0.00263, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.682/1.682, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.377/1.377, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.6999 GB, free: 8.512 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.212e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.504 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole): time 0.002667/0.002689, allocations: 2.308 MB / 0.7021 GB, free: 6.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005191/0.00788, allocations: 6.526 MB / 0.7085 GB, free: 15.64 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.007995, allocations: 7.938 kB / 0.7085 GB, free: 15.64 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.008123, allocations: 27.77 kB / 0.7085 GB, free: 15.61 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.008385, allocations: 91.2 kB / 0.7086 GB, free: 15.52 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.008616, allocations: 47.88 kB / 0.7087 GB, free: 15.47 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.008981, allocations: 270.6 kB / 0.7089 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.009116, allocations: 32.58 kB / 0.709 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.009343, allocations: 143.6 kB / 0.7091 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.009556, allocations: 79.78 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.009597, allocations: 23.98 kB / 0.7092 GB, free: 14.94 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.824e-05/0.009635, allocations: 16 kB / 0.7092 GB, free: 14.92 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.009684, allocations: 35.8 kB / 0.7093 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.009798, allocations: 79.83 kB / 0.7093 GB, free: 14.81 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.0101, allocations: 211.2 kB / 0.7095 GB, free: 14.6 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.0101, allocations: 0 / 0.7095 GB, free: 14.6 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.0101, allocations: 3.938 kB / 0.7095 GB, free: 14.6 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.0101, allocations: 0 / 0.7095 GB, free: 14.6 MB / 426.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.001006/0.01111, allocations: 0.4891 MB / 0.71 GB, free: 14.06 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.01114, allocations: 8.031 kB / 0.71 GB, free: 14.05 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.01122, allocations: 24.8 kB / 0.71 GB, free: 14.03 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.01151, allocations: 182.4 kB / 0.7102 GB, free: 13.82 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.01153, allocations: 8.609 kB / 0.7102 GB, free: 13.82 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.01157, allocations: 12.38 kB / 0.7102 GB, free: 13.8 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.01224, allocations: 198.5 kB / 0.7104 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.01226, allocations: 7.953 kB / 0.7104 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.01228, allocations: 4 kB / 0.7104 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.01229, allocations: 8 kB / 0.7104 GB, free: 13.58 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.0127, allocations: 146.2 kB / 0.7106 GB, free: 13.43 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008901/0.01359, allocations: 477.5 kB / 0.711 GB, free: 12.93 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.01415, allocations: 172.2 kB / 0.7112 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.01437, allocations: 98.52 kB / 0.7113 GB, free: 12.64 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.01438, allocations: 4 kB / 0.7113 GB, free: 12.64 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.01479, allocations: 230.6 kB / 0.7115 GB, free: 12.38 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.01479, allocations: 0 / 0.7115 GB, free: 12.38 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.002066/0.01686, allocations: 0.6964 MB / 0.7122 GB, free: 11.62 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.01697, allocations: 136.5 kB / 0.7123 GB, free: 11.46 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.01726, allocations: 219 kB / 0.7125 GB, free: 11.23 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.01729, allocations: 33.7 kB / 0.7126 GB, free: 11.2 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.01741, allocations: 132.5 kB / 0.7127 GB, free: 11.06 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.443e-05/0.01748, allocations: 71.42 kB / 0.7128 GB, free: 10.99 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.01758, allocations: 49.7 kB / 0.7128 GB, free: 10.94 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.01777, allocations: 334.8 kB / 0.7131 GB, free: 10.6 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.01808, allocations: 148.9 kB / 0.7133 GB, free: 10.44 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.01843, allocations: 229.3 kB / 0.7135 GB, free: 10.17 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.01896, allocations: 282.2 kB / 0.7138 GB, free: 9.852 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01896, allocations: 0 / 0.7138 GB, free: 9.852 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007501/0.01971, allocations: 396.8 kB / 0.7141 GB, free: 9.434 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/0.01977, allocations: 64.17 kB / 0.7142 GB, free: 9.359 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01978, allocations: 0 / 0.7142 GB, free: 9.359 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.0198, allocations: 4 kB / 0.7142 GB, free: 9.355 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.02004, allocations: 51.84 kB / 0.7143 GB, free: 9.305 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.02005, allocations: 8.219 kB / 0.7143 GB, free: 9.297 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.02025, allocations: 15.98 kB / 0.7143 GB, free: 9.281 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.02028, allocations: 19.94 kB / 0.7143 GB, free: 9.262 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.000243/0.02052, allocations: 179.4 kB / 0.7145 GB, free: 9.074 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.02056, allocations: 15.91 kB / 0.7145 GB, free: 9.059 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.02062, allocations: 25.95 kB / 0.7145 GB, free: 9.031 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.02063, allocations: 4 kB / 0.7145 GB, free: 9.027 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.02064, allocations: 3.938 kB / 0.7145 GB, free: 9.023 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02064, allocations: 4 kB / 0.7145 GB, free: 9.02 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.0216, allocations: 0.5367 MB / 0.715 GB, free: 8.434 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.02161, allocations: 3.984 kB / 0.7151 GB, free: 8.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.02182, allocations: 39.91 kB / 0.7151 GB, free: 8.391 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.02182, allocations: 0 / 0.7151 GB, free: 8.391 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.02184, allocations: 8 kB / 0.7151 GB, free: 8.383 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.02184, allocations: 0 / 0.7151 GB, free: 8.383 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02184, allocations: 0 / 0.7151 GB, free: 8.383 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/0.02277, allocations: 0.5057 MB / 0.7156 GB, free: 7.852 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.02282, allocations: 19.89 kB / 0.7156 GB, free: 7.832 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.02287, allocations: 11.94 kB / 0.7156 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.02306, allocations: 11.98 kB / 0.7156 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.02315, allocations: 23.97 kB / 0.7157 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.02317, allocations: 7.984 kB / 0.7157 GB, free: 7.777 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001789/0.02335, allocations: 156.4 kB / 0.7158 GB, free: 7.625 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02335, allocations: 0 / 0.7158 GB, free: 7.625 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003072/0.02365, allocations: 60 kB / 0.7159 GB, free: 7.566 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.0001617/0.02381, allocations: 111.2 kB / 0.716 GB, free: 7.449 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006822/0.0245, allocations: 383.6 kB / 0.7163 GB, free: 7.031 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0245, allocations: 0 / 0.7163 GB, free: 7.031 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.02482, allocations: 173.4 kB / 0.7165 GB, free: 6.844 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.02528, allocations: 67.84 kB / 0.7166 GB, free: 6.777 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.02674, allocations: 0.5742 MB / 0.7171 GB, free: 6.172 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.0269, allocations: 121.6 kB / 0.7172 GB, free: 6.031 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.02701, allocations: 25.94 kB / 0.7173 GB, free: 6.004 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.02708, allocations: 24.48 kB / 0.7173 GB, free: 5.98 MB / 426.8 MB Notification: Performance of SimCode: time 5.11e-07/0.02708, allocations: 4 kB / 0.7173 GB, free: 5.977 MB / 426.8 MB Notification: Performance of Templates: time 0.211/0.2381, allocations: 3.34 MB / 0.7206 GB, free: 36.32 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.160555460024625]