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.001408/0.001408, allocations: 104.4 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.001577/0.001577, allocations: 215.5 kB / 23 MB, free: 2.961 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 0.9912/0.9912, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.7014/0.7014, allocations: 312.3 MB / 0.6108 GB, free: 97.55 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.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: 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.001329/0.001329, allocations: 77.56 kB / 0.7699 GB, free: 20.17 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 73.99 MB / 0.8422 GB, free: 10.31 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine): time 0.002883/0.1159, allocations: 3.022 MB / 0.8451 GB, free: 7.285 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005095/0.121, allocations: 6.633 MB / 0.8516 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1211, allocations: 4.531 kB / 0.8516 GB, free: 0.6484 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.1212, allocations: 44.16 kB / 0.8516 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1214, allocations: 124.2 kB / 0.8518 GB, free: 496 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1216, allocations: 84.56 kB / 0.8518 GB, free: 412 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.122, allocations: 422.9 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1221, allocations: 53.64 kB / 0.8523 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1222, allocations: 148.1 kB / 0.8524 GB, free: 15.79 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.1224, allocations: 151.8 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.1225, allocations: 32 kB / 0.8526 GB, free: 15.61 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.852e-05/0.1225, allocations: 32.5 kB / 0.8526 GB, free: 15.57 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.1226, allocations: 64.33 kB / 0.8527 GB, free: 15.51 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1227, allocations: 147.4 kB / 0.8528 GB, free: 15.37 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.123, allocations: 359.1 kB / 0.8532 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.123, allocations: 0.5938 kB / 0.8532 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.754e-06/0.123, allocations: 0 / 0.8532 GB, free: 15.02 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.123, allocations: 0.5 kB / 0.8532 GB, free: 15.02 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007493/0.1237, allocations: 0.6094 MB / 0.8538 GB, free: 14.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1238, allocations: 12.64 kB / 0.8538 GB, free: 14.35 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.1238, allocations: 36.7 kB / 0.8538 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.124, allocations: 225.7 kB / 0.854 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1241, allocations: 16.75 kB / 0.8541 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.1241, allocations: 32.61 kB / 0.8541 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.1244, allocations: 301.6 kB / 0.8544 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1244, allocations: 4.656 kB / 0.8544 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1245, allocations: 4 kB / 0.8544 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1245, allocations: 4.656 kB / 0.8544 GB, free: 13.69 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1247, allocations: 253.1 kB / 0.8546 GB, free: 13.43 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.1257, allocations: 0.6483 MB / 0.8553 GB, free: 12.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.1261, allocations: 271.9 kB / 0.8555 GB, free: 12.46 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1263, allocations: 165 kB / 0.8557 GB, free: 12.29 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.1263, allocations: 0.5938 kB / 0.8557 GB, free: 12.29 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2395/0.3658, allocations: 368.2 kB / 0.856 GB, free: 30.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.457e-06/0.3658, allocations: 0 / 0.856 GB, free: 30.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001332/0.3671, allocations: 1.139 MB / 0.8571 GB, free: 30.14 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3672, allocations: 221.4 kB / 0.8574 GB, free: 29.89 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3674, allocations: 246.9 kB / 0.8576 GB, free: 29.79 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3674, allocations: 37.59 kB / 0.8576 GB, free: 29.75 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.3674, allocations: 156.8 kB / 0.8578 GB, free: 29.66 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.3675, allocations: 120 kB / 0.8579 GB, free: 29.59 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.3676, allocations: 72.59 kB / 0.858 GB, free: 29.58 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.3676, allocations: 349 kB / 0.8583 GB, free: 29.27 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3678, allocations: 223.3 kB / 0.8585 GB, free: 29.16 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.368, allocations: 327 kB / 0.8588 GB, free: 28.93 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.3683, allocations: 451.2 kB / 0.8592 GB, free: 28.67 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3683, allocations: 3.594 kB / 0.8592 GB, free: 28.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004489/0.3688, allocations: 0.5729 MB / 0.8598 GB, free: 28.41 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.3688, allocations: 88.39 kB / 0.8599 GB, free: 28.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3688, allocations: 5.906 kB / 0.8599 GB, free: 28.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3688, allocations: 7.703 kB / 0.8599 GB, free: 28.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.369, allocations: 80.42 kB / 0.86 GB, free: 28.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.369, allocations: 6.859 kB / 0.86 GB, free: 28.31 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3691, allocations: 24 kB / 0.86 GB, free: 28.31 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3691, allocations: 17.66 kB / 0.86 GB, free: 28.31 MB / 490.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.0001664/0.3693, allocations: 235.8 kB / 0.8603 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3693, allocations: 34.3 kB / 0.8603 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.3694, allocations: 32.92 kB / 0.8603 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3694, allocations: 3.531 kB / 0.8603 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3694, allocations: 1.125 kB / 0.8603 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3694, allocations: 5.406 kB / 0.8603 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.37, allocations: 0.8181 MB / 0.8611 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.37, allocations: 7.219 kB / 0.8611 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.3702, allocations: 62.17 kB / 0.8612 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3702, allocations: 0 / 0.8612 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.3702, allocations: 14.44 kB / 0.8612 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3702, allocations: 0 / 0.8612 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3702, allocations: 0.5 kB / 0.8612 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.3708, allocations: 0.765 MB / 0.862 GB, free: 27.37 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.3709, allocations: 56.2 kB / 0.862 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.3709, allocations: 15.45 kB / 0.862 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.371, allocations: 18.02 kB / 0.862 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.3711, allocations: 31.52 kB / 0.8621 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3711, allocations: 13.72 kB / 0.8621 GB, free: 27.35 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001016/0.3712, allocations: 184.7 kB / 0.8623 GB, free: 27.27 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3712, allocations: 0.5938 kB / 0.8623 GB, free: 27.27 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002154/0.3714, allocations: 88.69 kB / 0.8623 GB, free: 27.27 MB / 490.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 8.515e-05/0.3715, allocations: 128.6 kB / 0.8625 GB, free: 27.18 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.372, allocations: 0.5903 MB / 0.863 GB, free: 26.82 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.372, allocations: 3.469 kB / 0.863 GB, free: 26.82 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.3722, allocations: 313.5 kB / 0.8633 GB, free: 26.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3725, allocations: 101.7 kB / 0.8634 GB, free: 26.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3737, allocations: 1.06 MB / 0.8645 GB, free: 26.09 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.3738, allocations: 162.6 kB / 0.8646 GB, free: 26 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.3738, allocations: 29.06 kB / 0.8647 GB, free: 26 MB / 490.8 MB Notification: Performance of SimCode: time 6.01e-07/0.3738, allocations: 0.6875 kB / 0.8647 GB, free: 26 MB / 490.8 MB Notification: Performance of Templates: time 0.00517/0.379, allocations: 4.341 MB / 0.8689 GB, free: 25.6 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.007287031970918]