Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.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.0009668/0.0009668, allocations: 96.52 kB / 19.94 MB, free: 4.598 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.001355/0.001355, 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.9436/0.9436, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.7115/0.7115, allocations: 291.2 MB / 0.5382 GB, free: 51.89 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.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.141e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone): time 0.006161/0.006192, allocations: 2.715 MB / 0.7 GB, free: 7.602 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.01833, allocations: 6.611 MB / 0.7065 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.01863, allocations: 0 / 0.7065 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.0188, allocations: 39.58 kB / 0.7065 GB, free: 0.9414 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.0191, allocations: 123 kB / 0.7066 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.02243, allocations: 75.84 kB / 0.7067 GB, free: 0.7461 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.02279, allocations: 393.8 kB / 0.7071 GB, free: 368 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.02298, allocations: 56.83 kB / 0.7072 GB, free: 316 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.02317, allocations: 203.5 kB / 0.7073 GB, free: 112 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.02344, allocations: 115.7 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.02348, allocations: 28 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.265e-05/0.02352, allocations: 24 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.02357, allocations: 59.69 kB / 0.7076 GB, free: 15.89 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.0237, allocations: 111.7 kB / 0.7077 GB, free: 15.78 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.02405, allocations: 303.1 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.02406, allocations: 0 / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.884e-06/0.02406, allocations: 4 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.02407, allocations: 0 / 0.708 GB, free: 15.48 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.0009477/0.02502, allocations: 0.595 MB / 0.7085 GB, free: 14.83 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.02507, allocations: 11.89 kB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.02515, allocations: 40.75 kB / 0.7086 GB, free: 14.78 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.02849, allocations: 216.7 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.02851, allocations: 16.75 kB / 0.7088 GB, free: 14.53 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.02856, allocations: 20.38 kB / 0.7088 GB, free: 14.51 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.02899, allocations: 296.4 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.02901, allocations: 7.953 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.02904, allocations: 4 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.02904, allocations: 4 kB / 0.7091 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.02941, allocations: 244.4 kB / 0.7094 GB, free: 13.93 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.03048, allocations: 0.6718 MB / 0.71 GB, free: 13.22 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.03096, allocations: 238.6 kB / 0.7103 GB, free: 12.96 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/0.03417, allocations: 152.5 kB / 0.7104 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.03419, allocations: 4 kB / 0.7104 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.03461, allocations: 359.9 kB / 0.7107 GB, free: 12.39 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.565e-06/0.03461, allocations: 0 / 0.7107 GB, free: 12.39 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001696/0.03631, allocations: 1.089 MB / 0.7118 GB, free: 11.21 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.03641, allocations: 221.6 kB / 0.712 GB, free: 10.95 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.03666, allocations: 245.9 kB / 0.7123 GB, free: 10.7 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.03669, allocations: 33.7 kB / 0.7123 GB, free: 10.66 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.03679, allocations: 156.8 kB / 0.7124 GB, free: 10.5 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.03687, allocations: 123 kB / 0.7126 GB, free: 10.38 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.83e-05/0.03697, allocations: 66.2 kB / 0.7126 GB, free: 10.31 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.003134/0.0401, allocations: 346.7 kB / 0.7129 GB, free: 9.961 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.04038, allocations: 207.9 kB / 0.7131 GB, free: 9.738 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.04066, allocations: 315.2 kB / 0.7134 GB, free: 9.371 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.04114, allocations: 435.3 kB / 0.7139 GB, free: 8.879 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.04114, allocations: 0 / 0.7139 GB, free: 8.879 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006845/0.04182, allocations: 0.546 MB / 0.7144 GB, free: 8.289 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.0419, allocations: 93.09 kB / 0.7145 GB, free: 8.18 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.04191, allocations: 4 kB / 0.7145 GB, free: 8.176 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.04193, allocations: 4 kB / 0.7145 GB, free: 8.172 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.04217, allocations: 83.83 kB / 0.7146 GB, free: 8.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.04218, allocations: 4 kB / 0.7146 GB, free: 8.086 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.04236, allocations: 19.98 kB / 0.7146 GB, free: 8.066 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.04238, allocations: 16 kB / 0.7146 GB, free: 8.051 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.0002805/0.04267, allocations: 219.2 kB / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.0427, allocations: 35.8 kB / 0.7148 GB, free: 7.777 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.04275, allocations: 30.97 kB / 0.7149 GB, free: 7.746 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.04275, allocations: 0 / 0.7149 GB, free: 7.746 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.04276, allocations: 3.938 kB / 0.7149 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.04277, allocations: 7.984 kB / 0.7149 GB, free: 7.734 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.04357, allocations: 0.7601 MB / 0.7156 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.04358, allocations: 4 kB / 0.7156 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.04373, allocations: 59.89 kB / 0.7157 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.04374, allocations: 0 / 0.7157 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.04376, allocations: 12 kB / 0.7157 GB, free: 6.84 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.04376, allocations: 7.875 kB / 0.7157 GB, free: 6.832 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.04376, allocations: 3.938 kB / 0.7157 GB, free: 6.828 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.04444, allocations: 0.7269 MB / 0.7164 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.04448, allocations: 27.8 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.04451, allocations: 12.06 kB / 0.7165 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.04462, allocations: 15.98 kB / 0.7165 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.04471, allocations: 39.88 kB / 0.7165 GB, free: 5.949 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.04473, allocations: 8 kB / 0.7165 GB, free: 5.941 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001364/0.04486, allocations: 177.2 kB / 0.7167 GB, free: 5.77 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.04486, allocations: 0 / 0.7167 GB, free: 5.77 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002637/0.04513, allocations: 88 kB / 0.7168 GB, free: 5.684 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.0001475/0.04527, allocations: 130.4 kB / 0.7169 GB, free: 5.551 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005039/0.04578, allocations: 0.557 MB / 0.7174 GB, free: 4.926 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.04578, allocations: 0 / 0.7174 GB, free: 4.926 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.04602, allocations: 305.5 kB / 0.7177 GB, free: 4.594 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.04642, allocations: 93.17 kB / 0.7178 GB, free: 4.504 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.04757, allocations: 0.8125 MB / 0.7186 GB, free: 3.648 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.04769, allocations: 156.3 kB / 0.7188 GB, free: 3.473 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.04776, allocations: 36.42 kB / 0.7188 GB, free: 3.438 MB / 426.8 MB Notification: Performance of SimCode: time 7.72e-07/0.04776, allocations: 0 / 0.7188 GB, free: 3.438 MB / 426.8 MB Notification: Performance of Templates: time 0.2014/0.2491, allocations: 4.011 MB / 0.7227 GB, free: 36.89 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.805868558585644]