Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.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.001047/0.001047, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.00259, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 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.001101/0.001101, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002508, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9763/0.9763, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.117/1.093, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7443/0.7443, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03303/0.7774, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=7862400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=7862400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.297e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference): time 0.002146/0.002159, allocations: 2.477 MB / 0.5469 GB, free: 28.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.002913, allocations: 0.6193 MB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.746e-05/0.003001, allocations: 0 / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.599e-05/0.003077, allocations: 35.64 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.003221, allocations: 79.33 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.003373, allocations: 63.75 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.003625, allocations: 270.6 kB / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003757, allocations: 38.53 kB / 0.548 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.003962, allocations: 172.3 kB / 0.5481 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.004121, allocations: 87.72 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.00415, allocations: 16 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.004174, allocations: 16 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.004208, allocations: 27.88 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.004271, allocations: 63.88 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004449, allocations: 139.5 kB / 0.5485 GB, free: 26.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.004462, allocations: 0 / 0.5485 GB, free: 26.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.004463, allocations: 0 / 0.5485 GB, free: 26.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.004473, allocations: 0 / 0.5485 GB, free: 26.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006034/0.005076, allocations: 0.4976 MB / 0.5489 GB, free: 25.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.00511, allocations: 11.89 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.00517, allocations: 28.91 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.005334, allocations: 175 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.005356, allocations: 16.61 kB / 0.5492 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.005382, allocations: 16.36 kB / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.005552, allocations: 159.5 kB / 0.5493 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.005564, allocations: 3.938 kB / 0.5493 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.005576, allocations: 4 kB / 0.5493 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.00558, allocations: 4 kB / 0.5493 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.005652, allocations: 76.64 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.006029, allocations: 365 kB / 0.5498 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.006196, allocations: 112.2 kB / 0.5499 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.006228, allocations: 58.55 kB / 0.5499 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.006238, allocations: 4 kB / 0.5499 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.006383, allocations: 191.1 kB / 0.5501 GB, free: 24.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.006384, allocations: 0 / 0.5501 GB, free: 24.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005046/0.006889, allocations: 0.5132 MB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.006926, allocations: 132.5 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.007012, allocations: 210 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.007025, allocations: 33.7 kB / 0.551 GB, free: 23.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.007059, allocations: 112.4 kB / 0.5511 GB, free: 23.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.007097, allocations: 71.45 kB / 0.5511 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.007143, allocations: 51.19 kB / 0.5512 GB, free: 23.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.007183, allocations: 334.8 kB / 0.5515 GB, free: 23.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.942e-05/0.007232, allocations: 97 kB / 0.5516 GB, free: 22.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/0.007293, allocations: 181.3 kB / 0.5518 GB, free: 22.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.007403, allocations: 217.6 kB / 0.552 GB, free: 22.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.007405, allocations: 0 / 0.552 GB, free: 22.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001445/0.007549, allocations: 260.5 kB / 0.5522 GB, free: 22.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.007582, allocations: 63.34 kB / 0.5523 GB, free: 22.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.007588, allocations: 7.312 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.007597, allocations: 7.984 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.00775, allocations: 65.94 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.007755, allocations: 6.594 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.007832, allocations: 23.92 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.007841, allocations: 4 kB / 0.5524 GB, free: 22.02 MB / 410.7 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001011/0.007942, allocations: 179.6 kB / 0.5526 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.007961, allocations: 23.98 kB / 0.5526 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.00799, allocations: 25.95 kB / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.007992, allocations: 0 / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.007994, allocations: 4 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007998, allocations: 0 / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.008238, allocations: 374.2 kB / 0.553 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.00824, allocations: 7.938 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.008361, allocations: 39.97 kB / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.008383, allocations: 15.86 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008386, allocations: 4 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.008397, allocations: 4 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.008399, allocations: 7.984 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008401, allocations: 0 / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.008603, allocations: 347.8 kB / 0.5534 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.008628, allocations: 7.984 kB / 0.5534 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.008698, allocations: 12 kB / 0.5534 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.008751, allocations: 27.33 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.008761, allocations: 7.938 kB / 0.5534 GB, free: 20.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.246e-05/0.008803, allocations: 69.94 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008803, allocations: 0 / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.008966, allocations: 56 kB / 0.5536 GB, free: 20.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 7.779e-05/0.009044, allocations: 88.42 kB / 0.5536 GB, free: 20.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.00922, allocations: 304.5 kB / 0.5539 GB, free: 20.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.009225, allocations: 8.375 kB / 0.5539 GB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.009296, allocations: 153.8 kB / 0.5541 GB, free: 20.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.009521, allocations: 74.47 kB / 0.5542 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/0.01507, allocations: 0.5868 MB / 0.5547 GB, free: 19.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.01511, allocations: 76.33 kB / 0.5548 GB, free: 19.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.609e-05/0.01521, allocations: 25.98 kB / 0.5548 GB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.01537, allocations: 115.3 kB / 0.5549 GB, free: 19.21 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01537, allocations: 0 / 0.5549 GB, free: 19.21 MB / 410.7 MB Notification: Performance of Templates: time 0.005853/0.02122, allocations: 3.799 MB / 0.5587 GB, free: 15.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 14.96716374065727]