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.0009851/0.0009851, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001784/0.001784, allocations: 220.4 kB / 23.01 MB, free: 2.941 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.014/1.014, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.7168/0.7168, allocations: 312.3 MB / 0.6108 GB, free: 97.05 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: 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.001371/0.001371, allocations: 75.97 kB / 0.7699 GB, free: 19.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 73.99 MB / 0.8421 GB, free: 9.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference): time 0.002524/0.1198, allocations: 2.29 MB / 0.8444 GB, free: 7.586 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.1205, allocations: 0.5949 MB / 0.845 GB, free: 6.996 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.1206, allocations: 0 / 0.845 GB, free: 6.996 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1207, allocations: 28.41 kB / 0.845 GB, free: 6.969 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.1209, allocations: 79.98 kB / 0.8451 GB, free: 6.891 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1211, allocations: 48.53 kB / 0.8451 GB, free: 6.844 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1213, allocations: 259.4 kB / 0.8453 GB, free: 6.59 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1214, allocations: 37.14 kB / 0.8454 GB, free: 6.555 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1215, allocations: 99.62 kB / 0.8455 GB, free: 6.457 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1217, allocations: 96.19 kB / 0.8456 GB, free: 6.363 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1217, allocations: 20.66 kB / 0.8456 GB, free: 6.344 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.923e-05/0.1218, allocations: 16 kB / 0.8456 GB, free: 6.328 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.1218, allocations: 40.45 kB / 0.8456 GB, free: 6.289 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.1219, allocations: 91.59 kB / 0.8457 GB, free: 6.199 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1221, allocations: 199.7 kB / 0.8459 GB, free: 6.004 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1221, allocations: 0.5625 kB / 0.8459 GB, free: 6.004 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1221, allocations: 0 / 0.8459 GB, free: 6.004 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.1221, allocations: 0.5 kB / 0.8459 GB, free: 6.004 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.0006374/0.1227, allocations: 0.493 MB / 0.8464 GB, free: 5.469 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1227, allocations: 8.031 kB / 0.8464 GB, free: 5.461 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.1228, allocations: 25.36 kB / 0.8464 GB, free: 5.438 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.123, allocations: 179.1 kB / 0.8466 GB, free: 5.234 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.123, allocations: 13.23 kB / 0.8466 GB, free: 5.223 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.123, allocations: 20.61 kB / 0.8466 GB, free: 5.203 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.1233, allocations: 190.9 kB / 0.8468 GB, free: 5 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1233, allocations: 0 / 0.8468 GB, free: 5 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1233, allocations: 8.609 kB / 0.8468 GB, free: 4.992 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1233, allocations: 4.594 kB / 0.8468 GB, free: 4.988 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.1235, allocations: 150.7 kB / 0.847 GB, free: 4.836 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.1241, allocations: 482.6 kB / 0.8474 GB, free: 4.332 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.1244, allocations: 173.5 kB / 0.8476 GB, free: 4.148 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1245, allocations: 95.62 kB / 0.8477 GB, free: 4.047 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.1245, allocations: 3.938 kB / 0.8477 GB, free: 4.043 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.1248, allocations: 231.5 kB / 0.8479 GB, free: 3.789 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.1248, allocations: 0 / 0.8479 GB, free: 3.789 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.000996/0.1258, allocations: 0.7011 MB / 0.8486 GB, free: 3.027 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.1258, allocations: 140.5 kB / 0.8487 GB, free: 2.859 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.126, allocations: 211.7 kB / 0.8489 GB, free: 2.645 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.126, allocations: 33.7 kB / 0.849 GB, free: 2.605 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.1261, allocations: 133 kB / 0.8491 GB, free: 2.473 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.1261, allocations: 72.03 kB / 0.8492 GB, free: 2.402 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.1262, allocations: 57.64 kB / 0.8492 GB, free: 2.34 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.1263, allocations: 343.3 kB / 0.8496 GB, free: 1.996 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1264, allocations: 141.7 kB / 0.8497 GB, free: 1.84 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1266, allocations: 225.8 kB / 0.8499 GB, free: 1.574 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.1268, allocations: 281.8 kB / 0.8502 GB, free: 1.262 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1268, allocations: 0.5625 kB / 0.8502 GB, free: 1.262 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003908/0.1272, allocations: 390.1 kB / 0.8505 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.1273, allocations: 64.06 kB / 0.8506 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1273, allocations: 0 / 0.8506 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1273, allocations: 8.562 kB / 0.8506 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1274, allocations: 56.48 kB / 0.8507 GB, free: 0.7148 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1274, allocations: 8.594 kB / 0.8507 GB, free: 0.707 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-05/0.1275, allocations: 19.98 kB / 0.8507 GB, free: 0.6875 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1275, allocations: 8.594 kB / 0.8507 GB, free: 0.6797 MB / 474.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.0001807/0.1277, allocations: 182.6 kB / 0.8509 GB, free: 500 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1277, allocations: 27.8 kB / 0.8509 GB, free: 472 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.1278, allocations: 18.53 kB / 0.8509 GB, free: 448 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1278, allocations: 3.984 kB / 0.8509 GB, free: 444 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1278, allocations: 4.469 kB / 0.8509 GB, free: 440 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1278, allocations: 0.625 kB / 0.8509 GB, free: 440 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.1283, allocations: 0.5402 MB / 0.8515 GB, free: 15.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1283, allocations: 0.7812 kB / 0.8515 GB, free: 15.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1284, allocations: 37.56 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.1284, allocations: 0 / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1284, allocations: 8 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1284, allocations: 3.938 kB / 0.8515 GB, free: 15.79 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1284, allocations: 0.625 kB / 0.8515 GB, free: 15.79 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.1289, allocations: 0.4902 MB / 0.852 GB, free: 15.27 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.1289, allocations: 15.86 kB / 0.852 GB, free: 15.25 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1289, allocations: 14.72 kB / 0.852 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.129, allocations: 15.98 kB / 0.852 GB, free: 15.23 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1291, allocations: 19.97 kB / 0.852 GB, free: 15.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1291, allocations: 8 kB / 0.8521 GB, free: 15.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.606e-05/0.1292, allocations: 168.3 kB / 0.8522 GB, free: 15.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1292, allocations: 0 / 0.8522 GB, free: 15.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001886/0.1293, allocations: 56.78 kB / 0.8523 GB, free: 14.98 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 9.878e-05/0.1294, allocations: 122.4 kB / 0.8524 GB, free: 14.86 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003461/0.1298, allocations: 382 kB / 0.8527 GB, free: 14.44 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1298, allocations: 0 / 0.8527 GB, free: 14.44 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1299, allocations: 171.1 kB / 0.8529 GB, free: 14.26 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.1302, allocations: 65.84 kB / 0.853 GB, free: 14.2 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.1311, allocations: 0.7041 MB / 0.8537 GB, free: 13.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.1312, allocations: 125.6 kB / 0.8538 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.1312, allocations: 19.44 kB / 0.8538 GB, free: 13.38 MB / 490.8 MB Notification: Performance of SimCode: time 6.41e-07/0.1312, allocations: 0 / 0.8538 GB, free: 13.38 MB / 490.8 MB Notification: Performance of Templates: time 0.2345/0.3658, allocations: 2.935 MB / 0.8567 GB, free: 28.85 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab_Baker2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.974021061323583]