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.002775/0.002775, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.003034/0.003034, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.719/1.719, allocations: 230.6 MB / 256 MB, free: 9.602 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.425/1.425, allocations: 316.7 MB / 0.6144 GB, free: 92.88 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.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: 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.00822/0.00822, allocations: 73.45 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1869, allocations: 73.99 MB / 0.8472 GB, free: 4.949 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference): time 0.004131/0.191, allocations: 2.292 MB / 0.8495 GB, free: 2.66 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1924, allocations: 0.5907 MB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1925, allocations: 4.562 kB / 0.85 GB, free: 2.07 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.1927, allocations: 36.33 kB / 0.8501 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.1929, allocations: 76.02 kB / 0.8502 GB, free: 1.961 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.1932, allocations: 44.58 kB / 0.8502 GB, free: 1.918 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.1936, allocations: 263.2 kB / 0.8504 GB, free: 1.66 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1937, allocations: 33.08 kB / 0.8505 GB, free: 1.629 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004181/0.1942, allocations: 96.27 kB / 0.8506 GB, free: 1.535 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.1944, allocations: 95.48 kB / 0.8507 GB, free: 1.441 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.1945, allocations: 20.5 kB / 0.8507 GB, free: 1.422 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.195e-05/0.1945, allocations: 17.91 kB / 0.8507 GB, free: 1.406 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.1946, allocations: 43.83 kB / 0.8507 GB, free: 1.363 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.1947, allocations: 91.59 kB / 0.8508 GB, free: 1.273 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1951, allocations: 191.2 kB / 0.851 GB, free: 1.086 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1951, allocations: 4 kB / 0.851 GB, free: 1.082 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1951, allocations: 0.8125 kB / 0.851 GB, free: 1.082 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1951, allocations: 0 / 0.851 GB, free: 1.082 MB / 474.8 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.001066/0.1961, allocations: 498.7 kB / 0.8515 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1962, allocations: 8.031 kB / 0.8515 GB, free: 0.543 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.1963, allocations: 30.02 kB / 0.8515 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1966, allocations: 183.1 kB / 0.8517 GB, free: 316 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1966, allocations: 12.61 kB / 0.8517 GB, free: 304 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.1966, allocations: 20.92 kB / 0.8517 GB, free: 284 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.197, allocations: 189.9 kB / 0.8519 GB, free: 80 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1971, allocations: 8.656 kB / 0.8519 GB, free: 72 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1971, allocations: 4 kB / 0.8519 GB, free: 68 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.1971, allocations: 13.62 kB / 0.8519 GB, free: 56 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.1975, allocations: 146.3 kB / 0.8521 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.1984, allocations: 487.8 kB / 0.8525 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.1989, allocations: 168.2 kB / 0.8527 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.1992, allocations: 91.11 kB / 0.8528 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1992, allocations: 8 kB / 0.8528 GB, free: 15.11 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.1996, allocations: 231.2 kB / 0.853 GB, free: 14.86 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.1996, allocations: 2.031 kB / 0.853 GB, free: 14.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001663/0.2013, allocations: 0.6957 MB / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.2014, allocations: 140.5 kB / 0.8538 GB, free: 13.93 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.2016, allocations: 215.6 kB / 0.854 GB, free: 13.71 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.2017, allocations: 34.33 kB / 0.8541 GB, free: 13.68 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2018, allocations: 128.5 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.2019, allocations: 72.05 kB / 0.8543 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.202, allocations: 57.66 kB / 0.8543 GB, free: 13.41 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2021, allocations: 339.2 kB / 0.8546 GB, free: 13.07 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.2024, allocations: 141.8 kB / 0.8548 GB, free: 12.92 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.2027, allocations: 228.5 kB / 0.855 GB, free: 12.65 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.2032, allocations: 274.9 kB / 0.8553 GB, free: 12.34 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2032, allocations: 0.5938 kB / 0.8553 GB, free: 12.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.2722/0.4754, allocations: 394.3 kB / 0.8556 GB, free: 28.23 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.4755, allocations: 67.28 kB / 0.8557 GB, free: 28.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.4755, allocations: 3.938 kB / 0.8557 GB, free: 28.17 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.4755, allocations: 0.9062 kB / 0.8557 GB, free: 28.17 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.4757, allocations: 51.56 kB / 0.8558 GB, free: 28.17 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4757, allocations: 2.406 kB / 0.8558 GB, free: 28.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.476, allocations: 19.7 kB / 0.8558 GB, free: 28.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.476, allocations: 11.16 kB / 0.8558 GB, free: 28.17 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: 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.0001899/0.4762, allocations: 177.6 kB / 0.856 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.4762, allocations: 29.17 kB / 0.856 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.4763, allocations: 24.06 kB / 0.856 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.4763, allocations: 2.328 kB / 0.856 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4763, allocations: 0.75 kB / 0.856 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4763, allocations: 4.938 kB / 0.856 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007004/0.477, allocations: 0.535 MB / 0.8565 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.477, allocations: 0.5469 kB / 0.8565 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.4771, allocations: 34.92 kB / 0.8566 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4771, allocations: 1.797 kB / 0.8566 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.4772, allocations: 11.47 kB / 0.8566 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4772, allocations: 7.281 kB / 0.8566 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4772, allocations: 3.719 kB / 0.8566 GB, free: 27.72 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.4778, allocations: 0.4908 MB / 0.8571 GB, free: 27.49 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.4778, allocations: 22.23 kB / 0.8571 GB, free: 27.49 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.4779, allocations: 11 kB / 0.8571 GB, free: 27.49 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.4781, allocations: 8.438 kB / 0.8571 GB, free: 27.49 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.4781, allocations: 24.58 kB / 0.8571 GB, free: 27.49 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4781, allocations: 6.094 kB / 0.8571 GB, free: 27.49 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001155/0.4783, allocations: 157.7 kB / 0.8573 GB, free: 27.42 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.4783, allocations: 1.5 kB / 0.8573 GB, free: 27.42 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002897/0.4785, allocations: 55.06 kB / 0.8573 GB, free: 27.42 MB / 490.8 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 0.0001009/0.4787, allocations: 116.4 kB / 0.8575 GB, free: 27.33 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004881/0.4791, allocations: 381.2 kB / 0.8578 GB, free: 27.11 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4791, allocations: 0.5938 kB / 0.8578 GB, free: 27.11 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.4793, allocations: 174 kB / 0.858 GB, free: 27.02 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.4798, allocations: 65.77 kB / 0.858 GB, free: 27.01 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4809, allocations: 0.6788 MB / 0.8587 GB, free: 26.74 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.697e-05/0.481, allocations: 122.4 kB / 0.8588 GB, free: 26.66 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.456e-05/0.4811, allocations: 24.78 kB / 0.8589 GB, free: 26.66 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.4811, allocations: 27.78 kB / 0.8589 GB, free: 26.65 MB / 490.8 MB Notification: Performance of SimCode: time 5.91e-07/0.4811, allocations: 0 / 0.8589 GB, free: 26.65 MB / 490.8 MB Notification: Performance of Templates: time 0.007245/0.4884, allocations: 3.649 MB / 0.8624 GB, free: 26.36 MB / 490.8 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: 16.6575646630954]