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.0009769/0.0009769, allocations: 104.3 kB / 19.71 MB, free: 436 kB / 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.0009157/0.0009157, allocations: 221.3 kB / 23.01 MB, free: 2.953 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.02/1.02, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.8008/0.8008, allocations: 312.3 MB / 0.6108 GB, free: 97 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: 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.001597/0.001597, allocations: 82.06 kB / 0.7699 GB, free: 19.65 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1471, allocations: 73.99 MB / 0.8421 GB, free: 9.797 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference): time 0.002895/0.15, allocations: 2.293 MB / 0.8444 GB, free: 7.508 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005927/0.1559, allocations: 6.525 MB / 0.8507 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.156, allocations: 0 / 0.8507 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.1562, allocations: 28.45 kB / 0.8508 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1564, allocations: 84.48 kB / 0.8508 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1566, allocations: 44.39 kB / 0.8509 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.1569, allocations: 263.3 kB / 0.8511 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1571, allocations: 40.58 kB / 0.8512 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1572, allocations: 96.36 kB / 0.8513 GB, free: 448 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1574, allocations: 99.48 kB / 0.8514 GB, free: 348 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.1574, allocations: 16.62 kB / 0.8514 GB, free: 332 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.882e-05/0.1574, allocations: 16.5 kB / 0.8514 GB, free: 316 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.1575, allocations: 39.83 kB / 0.8514 GB, free: 276 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.173e-05/0.1576, allocations: 96.22 kB / 0.8515 GB, free: 180 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1578, allocations: 199.6 kB / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.1578, allocations: 0 / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1578, allocations: 0.625 kB / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1578, allocations: 0.625 kB / 0.8517 GB, free: 15.98 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.0008066/0.1586, allocations: 498 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1587, allocations: 8.719 kB / 0.8522 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.1588, allocations: 24.8 kB / 0.8522 GB, free: 15.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1591, allocations: 183.9 kB / 0.8524 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1591, allocations: 8.609 kB / 0.8524 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.1591, allocations: 28.41 kB / 0.8524 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.1595, allocations: 195.1 kB / 0.8526 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1595, allocations: 0.625 kB / 0.8526 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1595, allocations: 8 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.1595, allocations: 4.75 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.1599, allocations: 146.8 kB / 0.8528 GB, free: 14.81 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/0.1607, allocations: 482.8 kB / 0.8532 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.1611, allocations: 169.3 kB / 0.8534 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1613, allocations: 103.1 kB / 0.8535 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1613, allocations: 0.7188 kB / 0.8535 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.1617, allocations: 225.2 kB / 0.8537 GB, free: 13.77 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.384e-06/0.1617, allocations: 0.5625 kB / 0.8537 GB, free: 13.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001497/0.1632, allocations: 0.7012 MB / 0.8544 GB, free: 13 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.1633, allocations: 136.5 kB / 0.8545 GB, free: 12.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.1635, allocations: 219.5 kB / 0.8547 GB, free: 12.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1635, allocations: 37.64 kB / 0.8548 GB, free: 12.57 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.1636, allocations: 133 kB / 0.8549 GB, free: 12.44 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.1637, allocations: 64.12 kB / 0.855 GB, free: 12.38 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.1638, allocations: 57.66 kB / 0.855 GB, free: 12.32 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1639, allocations: 343.3 kB / 0.8553 GB, free: 11.97 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3692/0.5331, allocations: 137.3 kB / 0.8555 GB, free: 30.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.5333, allocations: 223.5 kB / 0.8557 GB, free: 30.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.5336, allocations: 283.2 kB / 0.856 GB, free: 29.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5336, allocations: 0 / 0.856 GB, free: 29.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004501/0.5341, allocations: 393.5 kB / 0.8563 GB, free: 29.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.5341, allocations: 67.41 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5341, allocations: 4.906 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.5341, allocations: 4.156 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.5343, allocations: 46.38 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.5343, allocations: 6.969 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.5344, allocations: 23.38 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.5344, allocations: 9.688 kB / 0.8565 GB, free: 29.73 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.0002103/0.5347, allocations: 178.2 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.5347, allocations: 21.55 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.5347, allocations: 27.23 kB / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5347, allocations: 5.656 kB / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5347, allocations: 0 / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.5348, allocations: 2.578 kB / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.5353, allocations: 0.5352 MB / 0.8572 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5353, allocations: 0 / 0.8572 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.5354, allocations: 37.86 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.5355, allocations: 1.031 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5355, allocations: 14.75 kB / 0.8573 GB, free: 29.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5355, allocations: 5.938 kB / 0.8573 GB, free: 29.28 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5355, allocations: 2.109 kB / 0.8573 GB, free: 29.28 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.536, allocations: 0.4892 MB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.536, allocations: 20.64 kB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.536, allocations: 8.875 kB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.5361, allocations: 14.61 kB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.5362, allocations: 20.05 kB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.5362, allocations: 14 kB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001103/0.5364, allocations: 151.3 kB / 0.858 GB, free: 28.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5364, allocations: 0.9844 kB / 0.858 GB, free: 28.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002212/0.5366, allocations: 54.56 kB / 0.858 GB, free: 28.98 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.0001258/0.5367, allocations: 125.4 kB / 0.8582 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.5371, allocations: 376.5 kB / 0.8585 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5371, allocations: 0.6562 kB / 0.8585 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.5373, allocations: 174.7 kB / 0.8587 GB, free: 28.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.5376, allocations: 66.17 kB / 0.8587 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5386, allocations: 0.6968 MB / 0.8594 GB, free: 28.25 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.534e-05/0.5387, allocations: 129.6 kB / 0.8595 GB, free: 28.17 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.5387, allocations: 25.23 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of SimCode: time 1.654e-06/0.5387, allocations: 0 / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of Templates: time 0.004981/0.5437, allocations: 2.958 MB / 0.8625 GB, free: 27.94 MB / 490.8 MB " [Timeout remaining time 659] 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: 6.404138466343284]