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.001899/0.001899, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002144/0.002144, allocations: 226.4 kB / 22.25 MB, free: 3.57 MB / 13.93 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.65/1.65, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.544/1.544, allocations: 316.8 MB / 0.6144 GB, free: 93.51 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004177/0.004177, allocations: 77.75 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1673, allocations: 73.99 MB / 0.8473 GB, free: 5.125 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole): time 0.004752/0.1721, allocations: 2.293 MB / 0.8495 GB, free: 2.832 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3291/0.5011, allocations: 6.528 MB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.5014, allocations: 5.531 kB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.5016, allocations: 22.7 kB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.5019, allocations: 86.39 kB / 0.856 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.5022, allocations: 52.55 kB / 0.856 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000311/0.5025, allocations: 254.5 kB / 0.8563 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.5027, allocations: 40.67 kB / 0.8563 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.5028, allocations: 98.38 kB / 0.8564 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.5031, allocations: 100.3 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.5031, allocations: 16.22 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.5032, allocations: 17.22 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.5032, allocations: 37.97 kB / 0.8566 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.5033, allocations: 92.39 kB / 0.8567 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.5035, allocations: 198.3 kB / 0.8569 GB, free: 21.51 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5036, allocations: 0.7969 kB / 0.8569 GB, free: 21.51 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5036, allocations: 0 / 0.8569 GB, free: 21.51 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.5036, allocations: 1.031 kB / 0.8569 GB, free: 21.51 MB / 490.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.0008488/0.5044, allocations: 0.4913 MB / 0.8573 GB, free: 21.11 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5044, allocations: 9.625 kB / 0.8573 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.5045, allocations: 24.77 kB / 0.8574 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.5047, allocations: 183.4 kB / 0.8575 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5047, allocations: 11.83 kB / 0.8576 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.5048, allocations: 21.14 kB / 0.8576 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.5051, allocations: 189.5 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.5052, allocations: 2.875 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.5052, allocations: 3.5 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5052, allocations: 4.219 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.5055, allocations: 148.3 kB / 0.8579 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.5063, allocations: 485.3 kB / 0.8584 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.5068, allocations: 171.9 kB / 0.8585 GB, free: 20.47 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.5069, allocations: 96.77 kB / 0.8586 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.507, allocations: 0.6562 kB / 0.8586 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003124/0.5073, allocations: 230.5 kB / 0.8588 GB, free: 20.28 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.5073, allocations: 0.5625 kB / 0.8588 GB, free: 20.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001336/0.5086, allocations: 0.7051 MB / 0.8595 GB, free: 19.92 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.5087, allocations: 133.5 kB / 0.8597 GB, free: 19.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.5088, allocations: 217.7 kB / 0.8599 GB, free: 19.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.5089, allocations: 35.2 kB / 0.8599 GB, free: 19.63 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.5089, allocations: 134.8 kB / 0.86 GB, free: 19.54 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.509, allocations: 72.19 kB / 0.8601 GB, free: 19.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.509, allocations: 53.41 kB / 0.8602 GB, free: 19.47 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.5091, allocations: 336.7 kB / 0.8605 GB, free: 19.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.5093, allocations: 142.4 kB / 0.8606 GB, free: 19.08 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.5095, allocations: 226.7 kB / 0.8608 GB, free: 18.91 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.5099, allocations: 283 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5099, allocations: 2.969 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005288/0.5104, allocations: 388.1 kB / 0.8615 GB, free: 18.57 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.5105, allocations: 66.78 kB / 0.8615 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.5105, allocations: 4.562 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.5105, allocations: 3.75 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.5107, allocations: 51.31 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5107, allocations: 1.969 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.5109, allocations: 19.84 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.5109, allocations: 13.19 kB / 0.8616 GB, free: 18.5 MB / 490.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.000172/0.5111, allocations: 179.6 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.5111, allocations: 21.89 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.5112, allocations: 27.73 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5112, allocations: 2.438 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5112, allocations: 1.438 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5112, allocations: 1.219 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006997/0.5119, allocations: 0.5392 MB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5119, allocations: 4.562 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.5121, allocations: 43.81 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5121, allocations: 3.625 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.5121, allocations: 7.781 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5121, allocations: 6 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5121, allocations: 0 / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.5128, allocations: 497.3 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.5128, allocations: 25.19 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.5129, allocations: 7.906 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.513, allocations: 15.08 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.5131, allocations: 28.31 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.5131, allocations: 5.359 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001391/0.5133, allocations: 158.9 kB / 0.8631 GB, free: 17.67 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5133, allocations: 0 / 0.8631 GB, free: 17.67 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003069/0.5136, allocations: 61.28 kB / 0.8632 GB, free: 17.67 MB / 490.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.0001178/0.5137, allocations: 114.9 kB / 0.8633 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.5143, allocations: 388.1 kB / 0.8637 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5143, allocations: 0 / 0.8637 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.5146, allocations: 174 kB / 0.8638 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.515, allocations: 66.31 kB / 0.8639 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.5165, allocations: 0.6796 MB / 0.8646 GB, free: 16.93 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.5166, allocations: 127.3 kB / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.5167, allocations: 29.81 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.5168, allocations: 20.69 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.5168, allocations: 0 / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of Templates: time 0.008656/0.5254, allocations: 3.637 MB / 0.8683 GB, free: 16.52 MB / 490.8 MB " [Timeout remaining time 659] 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: 8.124236279865727]