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.002074/0.002074, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.00212/0.00212, allocations: 219.6 kB / 22.25 MB, free: 3.559 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 1.75/1.75, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.389/1.389, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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.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.009237/0.009237, allocations: 73.55 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1459, allocations: 74 MB / 0.8473 GB, free: 4.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide): time 0.004745/0.1507, allocations: 3.017 MB / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2508/0.4015, allocations: 6.634 MB / 0.8567 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.4017, allocations: 6.109 kB / 0.8567 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.4018, allocations: 35.11 kB / 0.8567 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.4021, allocations: 130.9 kB / 0.8569 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.4024, allocations: 82.22 kB / 0.8569 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.4027, allocations: 416.5 kB / 0.8573 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.4029, allocations: 56.47 kB / 0.8574 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.403, allocations: 155.1 kB / 0.8575 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.4033, allocations: 147.6 kB / 0.8577 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.4034, allocations: 34.12 kB / 0.8577 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.4034, allocations: 33.62 kB / 0.8577 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.4035, allocations: 68.09 kB / 0.8578 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.4036, allocations: 143.7 kB / 0.8579 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.4039, allocations: 358.3 kB / 0.8583 GB, free: 21.62 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4039, allocations: 3.969 kB / 0.8583 GB, free: 21.62 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4039, allocations: 0 / 0.8583 GB, free: 21.62 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.4039, allocations: 2.906 kB / 0.8583 GB, free: 21.62 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.0008861/0.4048, allocations: 0.6023 MB / 0.8589 GB, free: 21.16 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.4048, allocations: 11.88 kB / 0.8589 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.4049, allocations: 34.92 kB / 0.8589 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.4052, allocations: 223.2 kB / 0.8591 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4052, allocations: 17.66 kB / 0.8591 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.4052, allocations: 30.8 kB / 0.8592 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.4057, allocations: 308.6 kB / 0.8595 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.4057, allocations: 4.797 kB / 0.8595 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.4057, allocations: 7.719 kB / 0.8595 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4057, allocations: 5.219 kB / 0.8595 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.4062, allocations: 247.2 kB / 0.8597 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.4071, allocations: 0.6553 MB / 0.8604 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.4077, allocations: 266.3 kB / 0.8606 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.4079, allocations: 160.2 kB / 0.8608 GB, free: 20.29 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.4079, allocations: 3.062 kB / 0.8608 GB, free: 20.29 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/0.4084, allocations: 373.9 kB / 0.8611 GB, free: 20.05 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.4084, allocations: 1.75 kB / 0.8611 GB, free: 20.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001766/0.4101, allocations: 1.129 MB / 0.8622 GB, free: 19.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.4102, allocations: 217.5 kB / 0.8624 GB, free: 19.25 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.4104, allocations: 252.6 kB / 0.8627 GB, free: 19.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.4104, allocations: 38.02 kB / 0.8627 GB, free: 19.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.4105, allocations: 162.6 kB / 0.8629 GB, free: 19.01 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.4106, allocations: 118 kB / 0.863 GB, free: 18.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4107, allocations: 71.94 kB / 0.8631 GB, free: 18.92 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.4108, allocations: 346.5 kB / 0.8634 GB, free: 18.6 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.4111, allocations: 222.7 kB / 0.8636 GB, free: 18.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.4115, allocations: 325.7 kB / 0.8639 GB, free: 18.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/0.4122, allocations: 457.5 kB / 0.8643 GB, free: 18 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4122, allocations: 0.625 kB / 0.8643 GB, free: 18 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009709/0.4131, allocations: 0.5785 MB / 0.8649 GB, free: 17.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.4132, allocations: 94.09 kB / 0.865 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4132, allocations: 4.312 kB / 0.865 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.4132, allocations: 6.328 kB / 0.865 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.4136, allocations: 79.23 kB / 0.8651 GB, free: 17.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.4136, allocations: 4.828 kB / 0.8651 GB, free: 17.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.4138, allocations: 26.52 kB / 0.8651 GB, free: 17.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.4138, allocations: 21.45 kB / 0.8651 GB, free: 17.62 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.0002272/0.4141, allocations: 242.1 kB / 0.8654 GB, free: 17.44 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.4141, allocations: 33.23 kB / 0.8654 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/0.4142, allocations: 36.67 kB / 0.8654 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4142, allocations: 3.922 kB / 0.8654 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.4142, allocations: 0 / 0.8654 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.4142, allocations: 1.359 kB / 0.8654 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4153, allocations: 0.811 MB / 0.8662 GB, free: 17.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4153, allocations: 0 / 0.8662 GB, free: 17.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.4156, allocations: 58.69 kB / 0.8663 GB, free: 17.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4156, allocations: 1.094 kB / 0.8663 GB, free: 17.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.4156, allocations: 10.59 kB / 0.8663 GB, free: 17.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4156, allocations: 5.312 kB / 0.8663 GB, free: 17.04 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4156, allocations: 2.391 kB / 0.8663 GB, free: 17.04 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.4168, allocations: 0.7729 MB / 0.8671 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.4169, allocations: 55.58 kB / 0.8671 GB, free: 16.67 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.417, allocations: 15.22 kB / 0.8671 GB, free: 16.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.4172, allocations: 20.08 kB / 0.8671 GB, free: 16.66 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.4173, allocations: 31.77 kB / 0.8672 GB, free: 16.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.4173, allocations: 14.08 kB / 0.8672 GB, free: 16.66 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001887/0.4175, allocations: 184.2 kB / 0.8674 GB, free: 16.58 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4175, allocations: 0 / 0.8674 GB, free: 16.58 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003915/0.4179, allocations: 90.47 kB / 0.8675 GB, free: 16.58 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.0001319/0.418, allocations: 127.8 kB / 0.8676 GB, free: 16.48 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007508/0.4188, allocations: 0.5918 MB / 0.8682 GB, free: 16.12 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4188, allocations: 0.5 kB / 0.8682 GB, free: 16.12 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.4191, allocations: 314.8 kB / 0.8685 GB, free: 15.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.4197, allocations: 91.91 kB / 0.8685 GB, free: 15.93 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4213, allocations: 1.041 MB / 0.8696 GB, free: 15.36 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.4215, allocations: 163.3 kB / 0.8697 GB, free: 15.28 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.4216, allocations: 40.95 kB / 0.8698 GB, free: 15.28 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.4217, allocations: 26.69 kB / 0.8698 GB, free: 15.27 MB / 490.8 MB Notification: Performance of SimCode: time 3.4e-07/0.4217, allocations: 4 kB / 0.8698 GB, free: 15.27 MB / 490.8 MB Notification: Performance of Templates: time 0.01007/0.4318, allocations: 5.289 MB / 0.8749 GB, free: 14.73 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.441522845067084]