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.000951/0.000951, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001047/0.001047, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9521/0.9521, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.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.6437/0.6437, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.463e-06/1.463e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.897e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference): time 0.001884/0.001903, allocations: 2.302 MB / 0.6996 GB, free: 8.074 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.002497, allocations: 0.5961 MB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.002569, allocations: 0 / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.678e-05/0.002666, allocations: 27.72 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.002809, allocations: 87.27 kB / 0.7003 GB, free: 7.363 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.002964, allocations: 51.88 kB / 0.7003 GB, free: 7.312 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.003126, allocations: 266.6 kB / 0.7006 GB, free: 7.051 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.003231, allocations: 36.58 kB / 0.7006 GB, free: 7.02 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.003334, allocations: 135.6 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.003469, allocations: 83.72 kB / 0.7008 GB, free: 6.805 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.003491, allocations: 16 kB / 0.7008 GB, free: 6.789 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.003509, allocations: 20 kB / 0.7009 GB, free: 6.77 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.003532, allocations: 39.83 kB / 0.7009 GB, free: 6.73 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.003584, allocations: 75.77 kB / 0.701 GB, free: 6.656 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.003728, allocations: 203.4 kB / 0.7012 GB, free: 6.457 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.003729, allocations: 0 / 0.7012 GB, free: 6.457 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00373, allocations: 4 kB / 0.7012 GB, free: 6.453 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.003734, allocations: 0 / 0.7012 GB, free: 6.453 MB / 410.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.0005087/0.004243, allocations: 492.8 kB / 0.7016 GB, free: 5.926 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.004274, allocations: 8.031 kB / 0.7016 GB, free: 5.918 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.004314, allocations: 24.8 kB / 0.7017 GB, free: 5.895 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.004458, allocations: 182.4 kB / 0.7018 GB, free: 5.688 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.004471, allocations: 8.609 kB / 0.7018 GB, free: 5.68 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.004497, allocations: 20.38 kB / 0.7019 GB, free: 5.66 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.004701, allocations: 194.5 kB / 0.702 GB, free: 5.457 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.004712, allocations: 3.953 kB / 0.7021 GB, free: 5.453 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.004726, allocations: 11.94 kB / 0.7021 GB, free: 5.441 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004731, allocations: 0 / 0.7021 GB, free: 5.441 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.004907, allocations: 146.3 kB / 0.7022 GB, free: 5.293 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.005339, allocations: 489.4 kB / 0.7027 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.005607, allocations: 179.9 kB / 0.7028 GB, free: 4.59 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.005696, allocations: 96.86 kB / 0.7029 GB, free: 4.488 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.005704, allocations: 4 kB / 0.7029 GB, free: 4.484 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.005883, allocations: 231 kB / 0.7032 GB, free: 4.23 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.005884, allocations: 3.984 kB / 0.7032 GB, free: 4.227 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0007517/0.006636, allocations: 0.6965 MB / 0.7038 GB, free: 3.465 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.006668, allocations: 136.5 kB / 0.704 GB, free: 3.301 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.006776, allocations: 223 kB / 0.7042 GB, free: 3.074 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.006788, allocations: 29.7 kB / 0.7042 GB, free: 3.039 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.006831, allocations: 132.5 kB / 0.7043 GB, free: 2.906 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.00686, allocations: 79.41 kB / 0.7044 GB, free: 2.828 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.006906, allocations: 49.7 kB / 0.7045 GB, free: 2.773 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.408e-05/0.00694, allocations: 334.8 kB / 0.7048 GB, free: 2.438 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.007054, allocations: 145 kB / 0.7049 GB, free: 2.277 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.007172, allocations: 221.3 kB / 0.7051 GB, free: 2.016 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.007365, allocations: 286.2 kB / 0.7054 GB, free: 1.695 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007366, allocations: 0 / 0.7054 GB, free: 1.695 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002789/0.007645, allocations: 388.2 kB / 0.7058 GB, free: 1.285 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.007669, allocations: 71.42 kB / 0.7058 GB, free: 1.203 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007674, allocations: 4 kB / 0.7058 GB, free: 1.199 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.007684, allocations: 4 kB / 0.7059 GB, free: 1.195 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.007793, allocations: 51.84 kB / 0.7059 GB, free: 1.145 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.0078, allocations: 4 kB / 0.7059 GB, free: 1.141 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.783e-05/0.007888, allocations: 15.98 kB / 0.7059 GB, free: 1.125 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.0079, allocations: 15.94 kB / 0.7059 GB, free: 1.109 MB / 410.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.0001034/0.008004, allocations: 173.8 kB / 0.7061 GB, free: 0.9258 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.008021, allocations: 19.91 kB / 0.7061 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.008047, allocations: 29.89 kB / 0.7061 GB, free: 0.875 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008049, allocations: 7.938 kB / 0.7062 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.008052, allocations: 3.938 kB / 0.7062 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.008056, allocations: 0 / 0.7062 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.008425, allocations: 0.5329 MB / 0.7067 GB, free: 288 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.008426, allocations: 0 / 0.7067 GB, free: 288 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.359e-05/0.00852, allocations: 43.91 kB / 0.7067 GB, free: 244 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008521, allocations: 0 / 0.7067 GB, free: 244 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.008532, allocations: 8 kB / 0.7067 GB, free: 236 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008533, allocations: 0 / 0.7067 GB, free: 236 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008535, allocations: 3.984 kB / 0.7067 GB, free: 232 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.008928, allocations: 498.9 kB / 0.7072 GB, free: 15.71 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.008952, allocations: 27.89 kB / 0.7072 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.008976, allocations: 4 kB / 0.7072 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.009056, allocations: 19.98 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.009111, allocations: 15.97 kB / 0.7073 GB, free: 15.64 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.009124, allocations: 19.92 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of sorting global known variables: time 8.3e-05/0.009207, allocations: 152.4 kB / 0.7074 GB, free: 15.48 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009207, allocations: 0 / 0.7074 GB, free: 15.48 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001784/0.009386, allocations: 56 kB / 0.7075 GB, free: 15.42 MB / 426.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 7.846e-05/0.009464, allocations: 119.2 kB / 0.7076 GB, free: 15.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.009791, allocations: 382 kB / 0.708 GB, free: 14.88 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009792, allocations: 0 / 0.708 GB, free: 14.88 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.009922, allocations: 173 kB / 0.7081 GB, free: 14.7 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.01019, allocations: 67.84 kB / 0.7082 GB, free: 14.63 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.01089, allocations: 0.5993 MB / 0.7088 GB, free: 14 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.01096, allocations: 129.6 kB / 0.7089 GB, free: 13.85 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.01101, allocations: 24.5 kB / 0.7089 GB, free: 13.82 MB / 426.8 MB Notification: Performance of SimCode: time 4.61e-07/0.01101, allocations: 4 kB / 0.7089 GB, free: 13.82 MB / 426.8 MB Notification: Performance of Templates: time 0.003038/0.01405, allocations: 2.943 MB / 0.7118 GB, free: 10.91 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.687222800217569]