Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.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.001332/0.001332, 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.001737/0.001737, allocations: 220.4 kB / 23 MB, free: 2.965 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.9411/0.9411, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7136/0.7136, allocations: 312.3 MB / 0.6108 GB, free: 97.09 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.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide") [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.001361/0.001361, allocations: 76.03 kB / 0.7699 GB, free: 19.65 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, allocations: 74 MB / 0.8422 GB, free: 9.793 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide): time 0.003118/0.1084, allocations: 3.013 MB / 0.8451 GB, free: 6.781 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005216/0.1136, allocations: 6.641 MB / 0.8516 GB, free: 144 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.1138, allocations: 0.5 kB / 0.8516 GB, free: 144 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1139, allocations: 40.14 kB / 0.8516 GB, free: 104 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1142, allocations: 128.2 kB / 0.8518 GB, free: 15.97 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1145, allocations: 84.56 kB / 0.8518 GB, free: 15.89 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.1148, allocations: 414.7 kB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.115, allocations: 57.62 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.1151, allocations: 159.9 kB / 0.8525 GB, free: 15.27 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.1154, allocations: 140.2 kB / 0.8526 GB, free: 15.14 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.1154, allocations: 32 kB / 0.8526 GB, free: 15.11 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.06e-05/0.1154, allocations: 40.59 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.1155, allocations: 63.77 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1156, allocations: 143.9 kB / 0.8529 GB, free: 14.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.1159, allocations: 359.2 kB / 0.8532 GB, free: 14.51 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1159, allocations: 3.984 kB / 0.8532 GB, free: 14.51 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1159, allocations: 0.5 kB / 0.8532 GB, free: 14.51 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1159, allocations: 0.5938 kB / 0.8532 GB, free: 14.51 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.0008337/0.1167, allocations: 0.6094 MB / 0.8538 GB, free: 13.85 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1168, allocations: 12.03 kB / 0.8538 GB, free: 13.84 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.1168, allocations: 37.33 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1171, allocations: 229 kB / 0.8541 GB, free: 13.55 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1171, allocations: 13.41 kB / 0.8541 GB, free: 13.54 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.1172, allocations: 36.5 kB / 0.8541 GB, free: 13.51 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.1175, allocations: 297.7 kB / 0.8544 GB, free: 13.19 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1175, allocations: 0 / 0.8544 GB, free: 13.19 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1176, allocations: 12.5 kB / 0.8544 GB, free: 13.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1176, allocations: 4.594 kB / 0.8544 GB, free: 13.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.1179, allocations: 245.4 kB / 0.8546 GB, free: 12.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/0.1186, allocations: 0.6515 MB / 0.8553 GB, free: 12.24 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2379/0.3565, allocations: 273.3 kB / 0.8555 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.3568, allocations: 156.5 kB / 0.8557 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3568, allocations: 3.5 kB / 0.8557 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.3572, allocations: 369.1 kB / 0.856 GB, free: 20.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 4.018e-06/0.3572, allocations: 0 / 0.856 GB, free: 20.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001424/0.3586, allocations: 1.138 MB / 0.8572 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3586, allocations: 219 kB / 0.8574 GB, free: 20.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3588, allocations: 251.8 kB / 0.8576 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3588, allocations: 36.64 kB / 0.8576 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.3589, allocations: 154 kB / 0.8578 GB, free: 19.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.359, allocations: 117.9 kB / 0.8579 GB, free: 19.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.359, allocations: 78.11 kB / 0.858 GB, free: 19.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.3591, allocations: 344.9 kB / 0.8583 GB, free: 19.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.3593, allocations: 223.2 kB / 0.8585 GB, free: 19.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.3596, allocations: 325.2 kB / 0.8588 GB, free: 19.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.36, allocations: 458.2 kB / 0.8593 GB, free: 18.84 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.36, allocations: 0 / 0.8593 GB, free: 18.84 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006141/0.3606, allocations: 0.573 MB / 0.8598 GB, free: 18.59 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.3606, allocations: 92.38 kB / 0.8599 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3606, allocations: 3.406 kB / 0.8599 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3607, allocations: 10.72 kB / 0.8599 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3609, allocations: 79.61 kB / 0.86 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3609, allocations: 9.734 kB / 0.86 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3611, allocations: 28.56 kB / 0.86 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.3611, allocations: 15.59 kB / 0.8601 GB, free: 18.5 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.0001986/0.3613, allocations: 234.9 kB / 0.8603 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.3613, allocations: 31.28 kB / 0.8603 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.3614, allocations: 31.39 kB / 0.8603 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3614, allocations: 7.406 kB / 0.8603 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3614, allocations: 0 / 0.8603 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3614, allocations: 0.8438 kB / 0.8603 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008543/0.3622, allocations: 0.8166 MB / 0.8611 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3622, allocations: 0.5938 kB / 0.8611 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.3625, allocations: 62.33 kB / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3625, allocations: 3.656 kB / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.3625, allocations: 11.89 kB / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3625, allocations: 5.688 kB / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3625, allocations: 0.5 kB / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.3633, allocations: 0.7614 MB / 0.862 GB, free: 17.59 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3634, allocations: 57.69 kB / 0.862 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.3634, allocations: 15.97 kB / 0.862 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3636, allocations: 16.31 kB / 0.8621 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/0.3636, allocations: 29.69 kB / 0.8621 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3637, allocations: 14.25 kB / 0.8621 GB, free: 17.57 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3638, allocations: 184.4 kB / 0.8623 GB, free: 17.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.3638, allocations: 0.625 kB / 0.8623 GB, free: 17.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003501/0.3641, allocations: 87.61 kB / 0.8624 GB, free: 17.48 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 0.0001105/0.3643, allocations: 127.8 kB / 0.8625 GB, free: 17.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005629/0.3648, allocations: 0.5897 MB / 0.8631 GB, free: 17.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3648, allocations: 1.375 kB / 0.8631 GB, free: 17.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.3651, allocations: 318.5 kB / 0.8634 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.3656, allocations: 92.91 kB / 0.8634 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.367, allocations: 1.066 MB / 0.8645 GB, free: 16.34 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.3671, allocations: 163.9 kB / 0.8646 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.3672, allocations: 29.16 kB / 0.8647 GB, free: 16.25 MB / 490.8 MB Notification: Performance of SimCode: time 5.81e-07/0.3672, allocations: 0 / 0.8647 GB, free: 16.25 MB / 490.8 MB Notification: Performance of Templates: time 0.007383/0.3746, allocations: 4.358 MB / 0.8689 GB, free: 15.86 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.984703407622874]