Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.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.0009484/0.0009484, allocations: 104.3 kB / 19.71 MB, free: 440 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.001016/0.001016, allocations: 221.8 kB / 23.01 MB, free: 2.938 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.9836/0.9836, allocations: 230.6 MB / 256.8 MB, free: 9.625 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.6999/0.6999, allocations: 312.3 MB / 0.6108 GB, free: 97.56 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.N01BB09_Ropivacaine.Ropivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine") [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.001433/0.001433, allocations: 75.25 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 73.99 MB / 0.8422 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine): time 0.002949/0.1226, allocations: 3.022 MB / 0.8451 GB, free: 7.305 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005028/0.1276, allocations: 6.649 MB / 0.8516 GB, free: 0.6562 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1277, allocations: 3.938 kB / 0.8516 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1278, allocations: 36.27 kB / 0.8516 GB, free: 0.6172 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.128, allocations: 124.3 kB / 0.8518 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.1282, allocations: 80.53 kB / 0.8518 GB, free: 428 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.1285, allocations: 418.7 kB / 0.8522 GB, free: 8 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1286, allocations: 61.62 kB / 0.8523 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1287, allocations: 156 kB / 0.8524 GB, free: 15.79 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.1289, allocations: 144 kB / 0.8526 GB, free: 15.65 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1289, allocations: 32 kB / 0.8526 GB, free: 15.62 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.129, allocations: 36.94 kB / 0.8526 GB, free: 15.59 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.129, allocations: 59.83 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.178e-05/0.1291, allocations: 143.8 kB / 0.8528 GB, free: 15.39 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1294, allocations: 355.4 kB / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1294, allocations: 0 / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1294, allocations: 3.938 kB / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1294, allocations: 0.5938 kB / 0.8532 GB, free: 15.04 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.0006903/0.1301, allocations: 0.6175 MB / 0.8538 GB, free: 14.37 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.1301, allocations: 12.03 kB / 0.8538 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.1301, allocations: 37.36 kB / 0.8538 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1304, allocations: 221 kB / 0.854 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1304, allocations: 17.44 kB / 0.8541 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.1304, allocations: 32.73 kB / 0.8541 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.131, allocations: 301.1 kB / 0.8544 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.131, allocations: 0.5938 kB / 0.8544 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.131, allocations: 12.59 kB / 0.8544 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.131, allocations: 4 kB / 0.8544 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1313, allocations: 245.6 kB / 0.8546 GB, free: 13.45 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.132, allocations: 0.6554 MB / 0.8553 GB, free: 12.76 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.1324, allocations: 268.5 kB / 0.8555 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1325, allocations: 157 kB / 0.8557 GB, free: 12.31 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.1325, allocations: 4.688 kB / 0.8557 GB, free: 12.3 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2353/0.3678, allocations: 365 kB / 0.856 GB, free: 21.26 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/0.3678, allocations: 0.875 kB / 0.856 GB, free: 21.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001272/0.3691, allocations: 1.133 MB / 0.8571 GB, free: 20.76 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3691, allocations: 222.2 kB / 0.8573 GB, free: 20.51 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.3693, allocations: 253.6 kB / 0.8576 GB, free: 20.41 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3693, allocations: 36.77 kB / 0.8576 GB, free: 20.38 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.3694, allocations: 161.4 kB / 0.8578 GB, free: 20.28 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.3694, allocations: 115 kB / 0.8579 GB, free: 20.22 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.3695, allocations: 80.02 kB / 0.858 GB, free: 20.2 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.3695, allocations: 344 kB / 0.8583 GB, free: 19.89 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3697, allocations: 225.5 kB / 0.8585 GB, free: 19.78 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.3699, allocations: 325 kB / 0.8588 GB, free: 19.55 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.3702, allocations: 455.5 kB / 0.8593 GB, free: 19.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3702, allocations: 0 / 0.8593 GB, free: 19.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004342/0.3706, allocations: 0.5772 MB / 0.8598 GB, free: 19.05 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.3707, allocations: 86.16 kB / 0.8599 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3707, allocations: 3.672 kB / 0.8599 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3707, allocations: 8.906 kB / 0.8599 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.3709, allocations: 81.16 kB / 0.86 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3709, allocations: 8.344 kB / 0.86 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.371, allocations: 20.09 kB / 0.86 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.371, allocations: 22.7 kB / 0.86 GB, free: 18.95 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.0001705/0.3712, allocations: 239 kB / 0.8603 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3712, allocations: 30.72 kB / 0.8603 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.3712, allocations: 32.23 kB / 0.8603 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3712, allocations: 3.5 kB / 0.8603 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3712, allocations: 1.031 kB / 0.8603 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3712, allocations: 4.688 kB / 0.8603 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.3719, allocations: 0.8199 MB / 0.8611 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3719, allocations: 0 / 0.8611 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.372, allocations: 58.97 kB / 0.8612 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3721, allocations: 4.25 kB / 0.8612 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3721, allocations: 10.08 kB / 0.8612 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3721, allocations: 2.859 kB / 0.8612 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3721, allocations: 6.656 kB / 0.8612 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.3727, allocations: 0.7625 MB / 0.862 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.3727, allocations: 55.61 kB / 0.862 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.3728, allocations: 18.42 kB / 0.862 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.3729, allocations: 16.41 kB / 0.862 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.3729, allocations: 40.05 kB / 0.8621 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.373, allocations: 8.188 kB / 0.8621 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001016/0.3731, allocations: 185.6 kB / 0.8623 GB, free: 17.94 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3731, allocations: 0 / 0.8623 GB, free: 17.94 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000209/0.3733, allocations: 89.12 kB / 0.8624 GB, free: 17.94 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.766e-05/0.3734, allocations: 124.3 kB / 0.8625 GB, free: 17.85 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.3738, allocations: 0.5922 MB / 0.863 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3738, allocations: 0 / 0.863 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.374, allocations: 310.8 kB / 0.8633 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3743, allocations: 93.7 kB / 0.8634 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3754, allocations: 1.071 MB / 0.8645 GB, free: 16.78 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3755, allocations: 164.2 kB / 0.8646 GB, free: 16.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.3756, allocations: 28.48 kB / 0.8647 GB, free: 16.69 MB / 490.8 MB Notification: Performance of SimCode: time 6.01e-07/0.3756, allocations: 0 / 0.8647 GB, free: 16.69 MB / 490.8 MB Notification: Performance of Templates: time 0.004654/0.3802, allocations: 4.343 MB / 0.8689 GB, free: 16.31 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB09_Ropivacaine.Ropivacaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.270172795280814]