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.001268/0.001268, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002331/0.003599, allocations: 443.8 kB / 10.3 MB, free: 400 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.001183/0.001183, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002694, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.05/1.05, allocations: 177.2 MB / 189.5 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.109/1.159, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7513/0.7513, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02935/0.7807, 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.704e-06/1.704e-06, allocations: 0 / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.088e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference): time 0.002644/0.002665, allocations: 2.481 MB / 0.5469 GB, free: 28.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008546/0.00352, allocations: 0.6232 MB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.00361, allocations: 0 / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.018e-05/0.00368, allocations: 27.72 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.003834, allocations: 87.27 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.003975, allocations: 47.92 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.004198, allocations: 266.6 kB / 0.5479 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.004306, allocations: 38.47 kB / 0.5479 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.00451, allocations: 180.1 kB / 0.5481 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.004682, allocations: 83.78 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.004711, allocations: 20 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.1e-05/0.004742, allocations: 16 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.004773, allocations: 27.88 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.004842, allocations: 59.88 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.005026, allocations: 143.5 kB / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.00504, allocations: 0 / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005041, allocations: 0 / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.005055, allocations: 0 / 0.5484 GB, free: 26.52 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.0006063/0.005661, allocations: 0.5015 MB / 0.5489 GB, free: 25.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.005691, allocations: 15.89 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.005741, allocations: 20.92 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.005907, allocations: 179.1 kB / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.005929, allocations: 8.609 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.005955, allocations: 16.38 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.006136, allocations: 155.5 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.006148, allocations: 4 kB / 0.5493 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.00616, allocations: 11.94 kB / 0.5493 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006166, allocations: 4 kB / 0.5493 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.006258, allocations: 80.64 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.006705, allocations: 364.9 kB / 0.5497 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.006891, allocations: 104.2 kB / 0.5498 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.006934, allocations: 58.55 kB / 0.5499 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.006943, allocations: 0 / 0.5499 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.00709, allocations: 196.3 kB / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.007091, allocations: 0 / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006102/0.007701, allocations: 0.5149 MB / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.007735, allocations: 132.5 kB / 0.5507 GB, free: 23.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.007839, allocations: 202.1 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.007853, allocations: 33.7 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.007889, allocations: 120.4 kB / 0.551 GB, free: 23.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.007928, allocations: 75.41 kB / 0.5511 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.00799, allocations: 55.17 kB / 0.5512 GB, free: 23.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.008027, allocations: 334.8 kB / 0.5515 GB, free: 23.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.008093, allocations: 101 kB / 0.5516 GB, free: 22.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.008171, allocations: 177.3 kB / 0.5518 GB, free: 22.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.008301, allocations: 210.2 kB / 0.552 GB, free: 22.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008303, allocations: 3.938 kB / 0.552 GB, free: 22.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001907/0.008494, allocations: 256.3 kB / 0.5522 GB, free: 22.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.008527, allocations: 63.39 kB / 0.5523 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008533, allocations: 4 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.008542, allocations: 7.938 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.008738, allocations: 69.09 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.008744, allocations: 11.92 kB / 0.5524 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.008849, allocations: 15.94 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.008862, allocations: 12 kB / 0.5524 GB, free: 22.04 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.0001053/0.008967, allocations: 171.7 kB / 0.5525 GB, free: 21.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.008994, allocations: 19.97 kB / 0.5526 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.009027, allocations: 21.97 kB / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009029, allocations: 8 kB / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.009031, allocations: 0 / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.009035, allocations: 3.984 kB / 0.5526 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.009334, allocations: 378.2 kB / 0.553 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.009337, allocations: 3.938 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.009482, allocations: 43.97 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.009505, allocations: 15.86 kB / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009508, allocations: 0 / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.00952, allocations: 7.984 kB / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.009523, allocations: 0 / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009524, allocations: 4 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.009738, allocations: 355.8 kB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.009768, allocations: 8 kB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.009871, allocations: 11.3 kB / 0.5534 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.009918, allocations: 19.97 kB / 0.5534 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.009929, allocations: 11.94 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.289e-05/0.009982, allocations: 61.94 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009982, allocations: 0 / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00026/0.01024, allocations: 60 kB / 0.5535 GB, free: 20.77 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 9.411e-05/0.01034, allocations: 96.41 kB / 0.5536 GB, free: 20.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.01055, allocations: 304.5 kB / 0.5539 GB, free: 20.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.01056, allocations: 4 kB / 0.5539 GB, free: 20.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.01063, allocations: 145.8 kB / 0.5541 GB, free: 20.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.01095, allocations: 89.34 kB / 0.5541 GB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007528/0.01848, allocations: 0.5869 MB / 0.5547 GB, free: 19.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.947e-05/0.01855, allocations: 125.6 kB / 0.5548 GB, free: 19.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.01874, allocations: 115.3 kB / 0.5549 GB, free: 19.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01874, allocations: 0 / 0.5549 GB, free: 19.2 MB / 410.7 MB Notification: Performance of Templates: time 0.003308/0.02205, allocations: 2.926 MB / 0.5578 GB, free: 16.32 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.280582006089389]