Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.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.001912/0.001912, 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.002057/0.002057, 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.681/1.681, allocations: 230.6 MB / 256 MB, free: 9.594 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.411/1.411, allocations: 316.7 MB / 0.6144 GB, free: 93.23 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.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil") [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.004035/0.004035, allocations: 78.02 kB / 0.775 GB, free: 14.89 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1507, allocations: 73.99 MB / 0.8473 GB, free: 5.027 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil): time 0.004485/0.1552, allocations: 2.7 MB / 0.8499 GB, free: 2.328 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3263/0.4814, allocations: 6.613 MB / 0.8563 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.4817, allocations: 0 / 0.8563 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.4818, allocations: 44.23 kB / 0.8564 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.4822, allocations: 117.9 kB / 0.8565 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.4824, allocations: 73.16 kB / 0.8566 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.4828, allocations: 377.5 kB / 0.8569 GB, free: 21.67 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.483, allocations: 49.31 kB / 0.857 GB, free: 21.67 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.4832, allocations: 147.2 kB / 0.8571 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.4835, allocations: 141.8 kB / 0.8573 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.4835, allocations: 23.91 kB / 0.8573 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.757e-05/0.4836, allocations: 28.31 kB / 0.8573 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.4836, allocations: 49.02 kB / 0.8573 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.4838, allocations: 141.6 kB / 0.8575 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.4841, allocations: 288 kB / 0.8578 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4841, allocations: 0 / 0.8578 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4841, allocations: 0 / 0.8578 GB, free: 21.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.4841, allocations: 0.875 kB / 0.8578 GB, free: 21.52 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001096/0.4852, allocations: 0.6002 MB / 0.8583 GB, free: 21.05 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4853, allocations: 9.375 kB / 0.8584 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.4854, allocations: 34.78 kB / 0.8584 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.4857, allocations: 213.8 kB / 0.8586 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.4857, allocations: 17.31 kB / 0.8586 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.4858, allocations: 23.91 kB / 0.8586 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.4863, allocations: 283.6 kB / 0.8589 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.4863, allocations: 8.656 kB / 0.8589 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.4864, allocations: 11.06 kB / 0.8589 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4864, allocations: 3.625 kB / 0.8589 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.4869, allocations: 233 kB / 0.8591 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4882, allocations: 0.676 MB / 0.8598 GB, free: 20.33 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.4889, allocations: 239.6 kB / 0.86 GB, free: 20.24 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.4891, allocations: 149.3 kB / 0.8602 GB, free: 20.17 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.4892, allocations: 5.344 kB / 0.8602 GB, free: 20.17 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004645/0.4896, allocations: 363.9 kB / 0.8605 GB, free: 19.93 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.4896, allocations: 0.625 kB / 0.8605 GB, free: 19.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.002199/0.4918, allocations: 1.08 MB / 0.8616 GB, free: 19.39 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.4919, allocations: 216.9 kB / 0.8618 GB, free: 19.14 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.4921, allocations: 245.8 kB / 0.862 GB, free: 19.03 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.4922, allocations: 36.89 kB / 0.8621 GB, free: 19 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.4923, allocations: 166.7 kB / 0.8622 GB, free: 18.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.4923, allocations: 114.4 kB / 0.8623 GB, free: 18.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.4925, allocations: 69.5 kB / 0.8624 GB, free: 18.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.496e-05/0.4925, allocations: 342.1 kB / 0.8627 GB, free: 18.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.4929, allocations: 212.4 kB / 0.8629 GB, free: 18.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.4933, allocations: 320 kB / 0.8632 GB, free: 18.15 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.4939, allocations: 433.2 kB / 0.8636 GB, free: 17.89 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4939, allocations: 3.281 kB / 0.8636 GB, free: 17.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001009/0.495, allocations: 0.5519 MB / 0.8642 GB, free: 17.62 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.495, allocations: 92.5 kB / 0.8643 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.495, allocations: 3.078 kB / 0.8643 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.495, allocations: 5.531 kB / 0.8643 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.4954, allocations: 80.77 kB / 0.8644 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.4955, allocations: 6.578 kB / 0.8644 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.4958, allocations: 26.11 kB / 0.8644 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.4958, allocations: 17.5 kB / 0.8644 GB, free: 17.52 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0002206/0.496, allocations: 227 kB / 0.8646 GB, free: 17.34 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.4961, allocations: 31.66 kB / 0.8647 GB, free: 17.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.4962, allocations: 34.34 kB / 0.8647 GB, free: 17.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4962, allocations: 3.797 kB / 0.8647 GB, free: 17.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.4962, allocations: 0.625 kB / 0.8647 GB, free: 17.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4962, allocations: 7.953 kB / 0.8647 GB, free: 17.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.4975, allocations: 0.762 MB / 0.8654 GB, free: 16.94 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4975, allocations: 1.797 kB / 0.8654 GB, free: 16.94 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.4979, allocations: 51.72 kB / 0.8655 GB, free: 16.94 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4979, allocations: 4.219 kB / 0.8655 GB, free: 16.94 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.4979, allocations: 14.48 kB / 0.8655 GB, free: 16.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4979, allocations: 1.094 kB / 0.8655 GB, free: 16.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4979, allocations: 0 / 0.8655 GB, free: 16.93 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.4992, allocations: 0.7264 MB / 0.8662 GB, free: 16.58 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.4992, allocations: 27.88 kB / 0.8662 GB, free: 16.57 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.4993, allocations: 16.3 kB / 0.8663 GB, free: 16.56 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.4996, allocations: 17.73 kB / 0.8663 GB, free: 16.56 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.4997, allocations: 30.69 kB / 0.8663 GB, free: 16.56 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.4998, allocations: 13.98 kB / 0.8663 GB, free: 16.56 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001973/0.5, allocations: 177.5 kB / 0.8665 GB, free: 16.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5, allocations: 0 / 0.8665 GB, free: 16.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005541/0.5005, allocations: 88.27 kB / 0.8666 GB, free: 16.48 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.0001219/0.5006, allocations: 125 kB / 0.8667 GB, free: 16.39 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000895/0.5015, allocations: 0.5686 MB / 0.8673 GB, free: 16.03 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5015, allocations: 0.5625 kB / 0.8673 GB, free: 16.03 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.5019, allocations: 301.7 kB / 0.8675 GB, free: 15.84 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.5027, allocations: 89.59 kB / 0.8676 GB, free: 15.83 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.5045, allocations: 0.9364 MB / 0.8685 GB, free: 15.34 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.5046, allocations: 159.5 kB / 0.8687 GB, free: 15.26 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.5048, allocations: 34.3 kB / 0.8687 GB, free: 15.26 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.5049, allocations: 26.25 kB / 0.8687 GB, free: 15.25 MB / 490.8 MB Notification: Performance of SimCode: time 7.01e-07/0.5049, allocations: 0 / 0.8687 GB, free: 15.25 MB / 490.8 MB Notification: Performance of Templates: time 0.01237/0.5173, allocations: 5.005 MB / 0.8736 GB, free: 14.76 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BA07_Modafinil.Modafinil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.759895016206428]