Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.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.002139/0.002139, 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.002448/0.002448, 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.685/1.685, 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.394/1.394, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6999 GB, free: 8.523 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.074e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.52 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine): time 0.01351/0.01354, allocations: 3.017 MB / 0.7029 GB, free: 5.48 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.02779, allocations: 6.647 MB / 0.7094 GB, free: 14.82 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.02811, allocations: 0 / 0.7094 GB, free: 14.82 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.03041, allocations: 39.58 kB / 0.7094 GB, free: 14.79 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.03088, allocations: 130.9 kB / 0.7095 GB, free: 14.66 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.03127, allocations: 87.83 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007481/0.03201, allocations: 429.9 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.0323, allocations: 70 kB / 0.7101 GB, free: 14.08 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.03273, allocations: 227.4 kB / 0.7103 GB, free: 13.86 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.03311, allocations: 123.6 kB / 0.7104 GB, free: 13.74 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-05/0.0332, allocations: 32 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-05/0.03328, allocations: 36 kB / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/0.03338, allocations: 67.69 kB / 0.7105 GB, free: 13.61 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.03362, allocations: 127.6 kB / 0.7107 GB, free: 13.48 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006768/0.0343, allocations: 363 kB / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.0343, allocations: 0 / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.734e-06/0.0343, allocations: 0 / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.03431, allocations: 0 / 0.711 GB, free: 13.12 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0015/0.03581, allocations: 0.6076 MB / 0.7116 GB, free: 12.47 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.03585, allocations: 8.031 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.966e-05/0.03595, allocations: 36.7 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.03634, allocations: 224.7 kB / 0.7119 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.03637, allocations: 12.88 kB / 0.7119 GB, free: 12.17 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.03643, allocations: 28.33 kB / 0.7119 GB, free: 12.14 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.03707, allocations: 314.1 kB / 0.7122 GB, free: 11.81 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.0371, allocations: 4 kB / 0.7122 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.03713, allocations: 8 kB / 0.7122 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.03714, allocations: 8 kB / 0.7122 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.03772, allocations: 252.2 kB / 0.7125 GB, free: 11.53 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.03901, allocations: 0.6504 MB / 0.7131 GB, free: 10.84 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.03973, allocations: 266 kB / 0.7133 GB, free: 10.56 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.04005, allocations: 164.4 kB / 0.7135 GB, free: 10.39 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.04007, allocations: 3.938 kB / 0.7135 GB, free: 10.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005969/0.04067, allocations: 367.5 kB / 0.7139 GB, free: 9.973 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.04067, allocations: 0 / 0.7139 GB, free: 9.973 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002426/0.04309, allocations: 1.135 MB / 0.715 GB, free: 8.742 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.04327, allocations: 221.6 kB / 0.7152 GB, free: 8.477 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.04358, allocations: 249.9 kB / 0.7154 GB, free: 8.227 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.04362, allocations: 41.69 kB / 0.7155 GB, free: 8.18 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.04377, allocations: 152.9 kB / 0.7156 GB, free: 8.023 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.04388, allocations: 115.1 kB / 0.7157 GB, free: 7.91 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.04403, allocations: 74.19 kB / 0.7158 GB, free: 7.832 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.04424, allocations: 346.7 kB / 0.7161 GB, free: 7.484 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.04463, allocations: 223.8 kB / 0.7163 GB, free: 7.246 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.04523, allocations: 326.9 kB / 0.7166 GB, free: 6.859 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/0.04599, allocations: 458.1 kB / 0.7171 GB, free: 6.344 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.04599, allocations: 0 / 0.7171 GB, free: 6.344 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001005/0.04699, allocations: 0.5809 MB / 0.7176 GB, free: 5.719 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.821e-05/0.04708, allocations: 96.38 kB / 0.7177 GB, free: 5.609 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.04709, allocations: 0 / 0.7177 GB, free: 5.609 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.04711, allocations: 8 kB / 0.7177 GB, free: 5.602 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.04744, allocations: 79.89 kB / 0.7178 GB, free: 5.523 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.04745, allocations: 4 kB / 0.7178 GB, free: 5.52 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.04769, allocations: 23.92 kB / 0.7178 GB, free: 5.496 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.04772, allocations: 16 kB / 0.7179 GB, free: 5.48 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0003367/0.04806, allocations: 251.7 kB / 0.7181 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.04812, allocations: 31.81 kB / 0.7181 GB, free: 5.184 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.947e-05/0.0482, allocations: 34.95 kB / 0.7182 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.0482, allocations: 0 / 0.7182 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.04821, allocations: 4 kB / 0.7182 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.04821, allocations: 3.984 kB / 0.7182 GB, free: 5.141 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.04961, allocations: 0.8211 MB / 0.719 GB, free: 4.262 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.04961, allocations: 0 / 0.719 GB, free: 4.262 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.04994, allocations: 63.89 kB / 0.719 GB, free: 4.199 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.04994, allocations: 0 / 0.719 GB, free: 4.199 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.04998, allocations: 15.98 kB / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.04998, allocations: 0 / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.04998, allocations: 0 / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.0513, allocations: 0.7679 MB / 0.7198 GB, free: 3.363 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.05143, allocations: 55.77 kB / 0.7199 GB, free: 3.309 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.05149, allocations: 12 kB / 0.7199 GB, free: 3.297 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.05172, allocations: 19.98 kB / 0.7199 GB, free: 3.277 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.05183, allocations: 27.95 kB / 0.7199 GB, free: 3.25 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.05186, allocations: 15.92 kB / 0.7199 GB, free: 3.234 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002281/0.05209, allocations: 185.2 kB / 0.7201 GB, free: 3.055 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.05209, allocations: 0 / 0.7201 GB, free: 3.055 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2498/0.3019, allocations: 85.38 kB / 0.7202 GB, free: 37.12 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0002017/0.3021, allocations: 126.1 kB / 0.7203 GB, free: 37.03 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009686/0.3031, allocations: 0.5885 MB / 0.7209 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3031, allocations: 0 / 0.7209 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.3034, allocations: 316.1 kB / 0.7212 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.3042, allocations: 89.58 kB / 0.7213 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3059, allocations: 0.8612 MB / 0.7221 GB, free: 36.06 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.3061, allocations: 167.4 kB / 0.7223 GB, free: 35.98 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.000178/0.3063, allocations: 36.78 kB / 0.7223 GB, free: 35.97 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.3064, allocations: 28.95 kB / 0.7223 GB, free: 35.96 MB / 426.8 MB Notification: Performance of SimCode: time 1.353e-06/0.3064, allocations: 0 / 0.7223 GB, free: 35.96 MB / 426.8 MB Notification: Performance of Templates: time 0.0124/0.3188, allocations: 4.83 MB / 0.727 GB, free: 35.5 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.026569661917165]