Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.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.001072/0.001072, 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.001522/0.001522, allocations: 166.3 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.9764/0.9764, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7102/0.7102, allocations: 291.2 MB / 0.5382 GB, free: 51.5 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.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.679e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline): time 0.00583/0.005856, allocations: 2.718 MB / 0.7 GB, free: 7.625 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007444/0.0133, allocations: 6.611 MB / 0.7065 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003131/0.01643, allocations: 0 / 0.7065 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.01656, allocations: 39.58 kB / 0.7065 GB, free: 0.9648 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.01678, allocations: 123 kB / 0.7066 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.01698, allocations: 67.91 kB / 0.7067 GB, free: 0.7773 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.01724, allocations: 401.8 kB / 0.7071 GB, free: 392 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.01738, allocations: 60.81 kB / 0.7072 GB, free: 336 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.01754, allocations: 207.5 kB / 0.7074 GB, free: 128 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.01773, allocations: 119.6 kB / 0.7075 GB, free: 8 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.978e-05/0.01778, allocations: 24.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.01782, allocations: 28 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.01786, allocations: 51.72 kB / 0.7076 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.01797, allocations: 115.7 kB / 0.7077 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.01825, allocations: 295.1 kB / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01825, allocations: 0 / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01825, allocations: 0 / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.01826, allocations: 0 / 0.708 GB, free: 15.5 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008069/0.01907, allocations: 0.5964 MB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.0191, allocations: 8.031 kB / 0.7085 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.01916, allocations: 32.75 kB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/0.02241, allocations: 220.6 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.02244, allocations: 20.75 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.02248, allocations: 20.38 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.02288, allocations: 292.5 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.0229, allocations: 3.953 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.02292, allocations: 8 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.02293, allocations: 12 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.02327, allocations: 236.4 kB / 0.7094 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.02415, allocations: 0.664 MB / 0.71 GB, free: 13.26 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.02457, allocations: 246.9 kB / 0.7102 GB, free: 12.99 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.02474, allocations: 144.5 kB / 0.7104 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.02475, allocations: 7.938 kB / 0.7104 GB, free: 12.83 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.02509, allocations: 362.2 kB / 0.7107 GB, free: 12.43 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.764e-06/0.0251, allocations: 0 / 0.7107 GB, free: 12.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.004517/0.02961, allocations: 1.084 MB / 0.7118 GB, free: 11.25 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.0297, allocations: 217.6 kB / 0.712 GB, free: 10.99 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.0299, allocations: 245.8 kB / 0.7122 GB, free: 10.74 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.02993, allocations: 37.7 kB / 0.7123 GB, free: 10.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.03001, allocations: 156.8 kB / 0.7124 GB, free: 10.54 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.03008, allocations: 119 kB / 0.7125 GB, free: 10.42 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.03017, allocations: 70.2 kB / 0.7126 GB, free: 10.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.03027, allocations: 350.7 kB / 0.7129 GB, free: 9.992 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.0305, allocations: 207.9 kB / 0.7131 GB, free: 9.77 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.03077, allocations: 315.2 kB / 0.7134 GB, free: 9.402 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.03119, allocations: 435 kB / 0.7138 GB, free: 8.91 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.03119, allocations: 0 / 0.7138 GB, free: 8.91 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.003664/0.03486, allocations: 0.5536 MB / 0.7144 GB, free: 8.312 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.03491, allocations: 89.09 kB / 0.7145 GB, free: 8.207 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.03491, allocations: 0 / 0.7145 GB, free: 8.207 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.03493, allocations: 8 kB / 0.7145 GB, free: 8.199 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.03514, allocations: 79.83 kB / 0.7146 GB, free: 8.121 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.03515, allocations: 4 kB / 0.7146 GB, free: 8.117 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.03534, allocations: 24.3 kB / 0.7146 GB, free: 8.094 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.03536, allocations: 20 kB / 0.7146 GB, free: 8.074 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001866/0.03554, allocations: 220.6 kB / 0.7148 GB, free: 7.84 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.03558, allocations: 35.8 kB / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.03563, allocations: 30.97 kB / 0.7149 GB, free: 7.773 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.03563, allocations: 4 kB / 0.7149 GB, free: 7.77 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.03564, allocations: 3.984 kB / 0.7149 GB, free: 7.766 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.03564, allocations: 3.984 kB / 0.7149 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008313/0.03647, allocations: 0.7639 MB / 0.7156 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.03647, allocations: 0 / 0.7156 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.03666, allocations: 55.89 kB / 0.7157 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.03667, allocations: 4 kB / 0.7157 GB, free: 6.879 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.03669, allocations: 12 kB / 0.7157 GB, free: 6.867 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.03669, allocations: 0 / 0.7157 GB, free: 6.867 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.03669, allocations: 7.875 kB / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.04049, allocations: 0.723 MB / 0.7164 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.04053, allocations: 31.86 kB / 0.7164 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.04057, allocations: 8 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.04072, allocations: 19.98 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.0408, allocations: 31.88 kB / 0.7165 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.04082, allocations: 16.12 kB / 0.7165 GB, free: 5.973 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001327/0.04095, allocations: 181.2 kB / 0.7167 GB, free: 5.797 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.04095, allocations: 0 / 0.7167 GB, free: 5.797 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003194/0.04127, allocations: 84 kB / 0.7168 GB, free: 5.715 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001135/0.04138, allocations: 133.9 kB / 0.7169 GB, free: 5.582 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005594/0.04194, allocations: 0.557 MB / 0.7174 GB, free: 4.957 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.04194, allocations: 0.6875 kB / 0.7174 GB, free: 4.957 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.0422, allocations: 309.8 kB / 0.7177 GB, free: 4.621 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.04264, allocations: 88.36 kB / 0.7178 GB, free: 4.535 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.04676, allocations: 0.8164 MB / 0.7186 GB, free: 3.676 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.04687, allocations: 156.3 kB / 0.7188 GB, free: 3.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.04695, allocations: 36.48 kB / 0.7188 GB, free: 3.465 MB / 426.8 MB Notification: Performance of SimCode: time 5.21e-07/0.04695, allocations: 0 / 0.7188 GB, free: 3.465 MB / 426.8 MB Notification: Performance of Templates: time 0.1566/0.2036, allocations: 4.014 MB / 0.7227 GB, free: 37.06 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.525731612928212]