Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.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.001817/0.001817, allocations: 88.44 kB / 19.18 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.001919/0.001919, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.747/1.747, allocations: 177.1 MB / 202.8 MB, free: 5.574 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.316/1.316, allocations: 293 MB / 0.5392 GB, free: 49.72 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.N01BB10_Levobupivacaine.Levobupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7 GB, free: 8.613 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.581e-05, allocations: 2.281 kB / 0.7 GB, free: 8.609 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine): time 0.003262/0.003288, allocations: 3.029 MB / 0.7029 GB, free: 5.559 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.00887, allocations: 6.643 MB / 0.7094 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.009049, allocations: 0 / 0.7094 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.009216, allocations: 43.56 kB / 0.7094 GB, free: 14.86 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.009555, allocations: 130.9 kB / 0.7096 GB, free: 14.73 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.009838, allocations: 79.84 kB / 0.7096 GB, free: 14.66 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.01035, allocations: 433.8 kB / 0.7101 GB, free: 14.23 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.01053, allocations: 73.94 kB / 0.7101 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.01084, allocations: 215.6 kB / 0.7103 GB, free: 13.95 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.01112, allocations: 123.6 kB / 0.7105 GB, free: 13.83 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.084e-05/0.01118, allocations: 32 kB / 0.7105 GB, free: 13.8 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.984e-05/0.01124, allocations: 32 kB / 0.7105 GB, free: 13.77 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.077e-05/0.01132, allocations: 71.69 kB / 0.7106 GB, free: 13.7 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.01148, allocations: 123.7 kB / 0.7107 GB, free: 13.57 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.01196, allocations: 362.9 kB / 0.711 GB, free: 13.22 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01197, allocations: 0 / 0.711 GB, free: 13.22 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01197, allocations: 0 / 0.711 GB, free: 13.22 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.01197, allocations: 0 / 0.711 GB, free: 13.22 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.001183/0.01316, allocations: 0.6115 MB / 0.7116 GB, free: 12.56 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.0132, allocations: 11.97 kB / 0.7117 GB, free: 12.55 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/0.01328, allocations: 36.7 kB / 0.7117 GB, free: 12.51 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.01362, allocations: 224.7 kB / 0.7119 GB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.01365, allocations: 12.88 kB / 0.7119 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.01372, allocations: 32.31 kB / 0.7119 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.01432, allocations: 306.2 kB / 0.7122 GB, free: 11.9 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.01434, allocations: 4 kB / 0.7122 GB, free: 11.89 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.01437, allocations: 8 kB / 0.7123 GB, free: 11.89 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.01437, allocations: 8 kB / 0.7123 GB, free: 11.88 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.01493, allocations: 248.2 kB / 0.7125 GB, free: 11.62 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.01612, allocations: 0.6427 MB / 0.7131 GB, free: 10.95 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.01681, allocations: 282 kB / 0.7134 GB, free: 10.65 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.01718, allocations: 156.5 kB / 0.7135 GB, free: 10.48 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.0172, allocations: 7.984 kB / 0.7135 GB, free: 10.47 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005722/0.01777, allocations: 367.4 kB / 0.7139 GB, free: 10.06 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.01778, allocations: 0 / 0.7139 GB, free: 10.06 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002314/0.02009, allocations: 1.135 MB / 0.715 GB, free: 8.832 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.02025, allocations: 221.6 kB / 0.7152 GB, free: 8.566 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.02056, allocations: 257.8 kB / 0.7155 GB, free: 8.309 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.02061, allocations: 37.7 kB / 0.7155 GB, free: 8.266 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.02074, allocations: 152.9 kB / 0.7156 GB, free: 8.109 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.02086, allocations: 123 kB / 0.7158 GB, free: 7.988 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.02099, allocations: 70.2 kB / 0.7158 GB, free: 7.914 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.02118, allocations: 346.7 kB / 0.7162 GB, free: 7.566 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.02156, allocations: 215.9 kB / 0.7164 GB, free: 7.336 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.02203, allocations: 330.8 kB / 0.7167 GB, free: 6.945 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000723/0.02275, allocations: 454.2 kB / 0.7171 GB, free: 6.434 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.02276, allocations: 0 / 0.7171 GB, free: 6.434 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009868/0.02374, allocations: 0.5807 MB / 0.7177 GB, free: 5.809 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.02383, allocations: 93.09 kB / 0.7178 GB, free: 5.699 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.02384, allocations: 4 kB / 0.7178 GB, free: 5.695 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.02387, allocations: 4 kB / 0.7178 GB, free: 5.691 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.0242, allocations: 84.17 kB / 0.7179 GB, free: 5.609 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.02421, allocations: 8 kB / 0.7179 GB, free: 5.602 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.02444, allocations: 19.98 kB / 0.7179 GB, free: 5.582 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.02449, allocations: 23.92 kB / 0.7179 GB, free: 5.559 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.0003223/0.02481, allocations: 239.6 kB / 0.7181 GB, free: 5.305 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.02487, allocations: 31.81 kB / 0.7182 GB, free: 5.273 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.02495, allocations: 38.95 kB / 0.7182 GB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.02496, allocations: 8 kB / 0.7182 GB, free: 5.227 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.02496, allocations: 0 / 0.7182 GB, free: 5.227 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.02497, allocations: 0 / 0.7182 GB, free: 5.227 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.02635, allocations: 0.8212 MB / 0.719 GB, free: 4.348 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.02636, allocations: 0 / 0.719 GB, free: 4.348 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.02668, allocations: 55.91 kB / 0.7191 GB, free: 4.293 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.02668, allocations: 4 kB / 0.7191 GB, free: 4.289 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.02671, allocations: 11.98 kB / 0.7191 GB, free: 4.277 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.02672, allocations: 4 kB / 0.7191 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02672, allocations: 0 / 0.7191 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.02798, allocations: 0.7678 MB / 0.7198 GB, free: 3.453 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.0281, allocations: 55.77 kB / 0.7199 GB, free: 3.398 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.02817, allocations: 12 kB / 0.7199 GB, free: 3.387 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.0284, allocations: 19.98 kB / 0.7199 GB, free: 3.367 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.02851, allocations: 27.94 kB / 0.7199 GB, free: 3.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.02855, allocations: 15.94 kB / 0.72 GB, free: 3.324 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.2669/0.2954, allocations: 187 kB / 0.7201 GB, free: 37.21 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2954, allocations: 0 / 0.7201 GB, free: 37.21 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0006481/0.2961, allocations: 86.53 kB / 0.7202 GB, free: 37.21 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.0001972/0.2962, allocations: 126.8 kB / 0.7203 GB, free: 37.13 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008685/0.2971, allocations: 0.5861 MB / 0.7209 GB, free: 36.79 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2971, allocations: 0 / 0.7209 GB, free: 36.79 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.2975, allocations: 315 kB / 0.7212 GB, free: 36.6 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/0.2981, allocations: 87.84 kB / 0.7213 GB, free: 36.6 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.2998, allocations: 0.8691 MB / 0.7221 GB, free: 36.17 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.3, allocations: 168.3 kB / 0.7223 GB, free: 36.09 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.3001, allocations: 35.02 kB / 0.7223 GB, free: 36.08 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.3002, allocations: 28.64 kB / 0.7224 GB, free: 36.07 MB / 426.8 MB Notification: Performance of SimCode: time 6.31e-07/0.3002, allocations: 0 / 0.7224 GB, free: 36.07 MB / 426.8 MB Notification: Performance of Templates: time 0.01143/0.3117, allocations: 4.827 MB / 0.7271 GB, free: 35.64 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.91522697894834]