Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.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.0009433/0.0009433, 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.0009094/0.0009094, allocations: 169.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.9327/0.9327, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.6679/0.6679, allocations: 291.1 MB / 0.5382 GB, free: 51.8 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=7862400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=7862400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.676e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab): time 0.001843/0.001859, allocations: 2.311 MB / 0.6996 GB, free: 8.094 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005726/0.002432, allocations: 0.5999 MB / 0.7002 GB, free: 7.492 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.002503, allocations: 11.94 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.075e-05/0.002593, allocations: 19.78 kB / 0.7002 GB, free: 7.461 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.002728, allocations: 83.27 kB / 0.7003 GB, free: 7.379 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.002875, allocations: 59.8 kB / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.003038, allocations: 262.6 kB / 0.7006 GB, free: 7.062 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003141, allocations: 36.56 kB / 0.7006 GB, free: 7.031 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.003242, allocations: 139.6 kB / 0.7008 GB, free: 6.895 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.003373, allocations: 83.72 kB / 0.7008 GB, free: 6.812 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.003394, allocations: 20 kB / 0.7009 GB, free: 6.793 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.003412, allocations: 16 kB / 0.7009 GB, free: 6.777 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.003436, allocations: 43.83 kB / 0.7009 GB, free: 6.734 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.003492, allocations: 75.78 kB / 0.701 GB, free: 6.66 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003632, allocations: 195.4 kB / 0.7012 GB, free: 6.469 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003634, allocations: 3.984 kB / 0.7012 GB, free: 6.465 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003635, allocations: 0 / 0.7012 GB, free: 6.465 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003639, allocations: 4 kB / 0.7012 GB, free: 6.461 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.0004946/0.004133, allocations: 492.8 kB / 0.7017 GB, free: 5.934 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.004164, allocations: 12.03 kB / 0.7017 GB, free: 5.922 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.004204, allocations: 20.8 kB / 0.7017 GB, free: 5.902 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.004339, allocations: 178.4 kB / 0.7019 GB, free: 5.699 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.004351, allocations: 12.61 kB / 0.7019 GB, free: 5.688 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.004382, allocations: 16.36 kB / 0.7019 GB, free: 5.672 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.004577, allocations: 198.5 kB / 0.7021 GB, free: 5.465 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.004589, allocations: 3.953 kB / 0.7021 GB, free: 5.461 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.004602, allocations: 4 kB / 0.7021 GB, free: 5.457 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.004606, allocations: 8 kB / 0.7021 GB, free: 5.449 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.004774, allocations: 146.2 kB / 0.7022 GB, free: 5.301 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.005197, allocations: 485.4 kB / 0.7027 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.005457, allocations: 176.1 kB / 0.7029 GB, free: 4.605 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.005543, allocations: 97.02 kB / 0.703 GB, free: 4.504 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.005552, allocations: 0 / 0.703 GB, free: 4.504 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.005718, allocations: 236.4 kB / 0.7032 GB, free: 4.242 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.022e-06/0.005719, allocations: 3.938 kB / 0.7032 GB, free: 4.238 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0007505/0.00647, allocations: 0.6987 MB / 0.7039 GB, free: 3.477 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.0065, allocations: 144.5 kB / 0.704 GB, free: 3.305 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.006605, allocations: 212 kB / 0.7042 GB, free: 3.09 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.006616, allocations: 33.7 kB / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.006658, allocations: 132.5 kB / 0.7044 GB, free: 2.918 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.006683, allocations: 71.44 kB / 0.7044 GB, free: 2.848 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.006728, allocations: 45.7 kB / 0.7045 GB, free: 2.797 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.097e-05/0.006759, allocations: 338.8 kB / 0.7048 GB, free: 2.457 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.006872, allocations: 145 kB / 0.7049 GB, free: 2.297 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.006994, allocations: 225.3 kB / 0.7052 GB, free: 2.031 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.007181, allocations: 276.8 kB / 0.7054 GB, free: 1.719 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007183, allocations: 8.031 kB / 0.7054 GB, free: 1.711 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002763/0.007459, allocations: 386.2 kB / 0.7058 GB, free: 1.305 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.00748, allocations: 67.39 kB / 0.7059 GB, free: 1.227 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007485, allocations: 4 kB / 0.7059 GB, free: 1.223 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.007495, allocations: 4 kB / 0.7059 GB, free: 1.219 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.007596, allocations: 56.06 kB / 0.7059 GB, free: 1.164 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.007601, allocations: 4 kB / 0.7059 GB, free: 1.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.23e-05/0.007683, allocations: 19.98 kB / 0.7059 GB, free: 1.141 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.007695, allocations: 15.98 kB / 0.706 GB, free: 1.125 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 9.876e-05/0.007794, allocations: 168.4 kB / 0.7061 GB, free: 0.9453 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.00781, allocations: 19.91 kB / 0.7061 GB, free: 0.9258 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.007836, allocations: 29.89 kB / 0.7062 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.007837, allocations: 0 / 0.7062 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007841, allocations: 7.938 kB / 0.7062 GB, free: 0.8867 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.007844, allocations: 0 / 0.7062 GB, free: 0.8867 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.00822, allocations: 0.551 MB / 0.7067 GB, free: 296 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008221, allocations: 3.984 kB / 0.7067 GB, free: 292 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.162e-05/0.008313, allocations: 27.98 kB / 0.7067 GB, free: 264 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.008315, allocations: 4 kB / 0.7067 GB, free: 260 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.008325, allocations: 7.984 kB / 0.7068 GB, free: 252 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.008326, allocations: 0 / 0.7068 GB, free: 252 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008327, allocations: 11.94 kB / 0.7068 GB, free: 240 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.008712, allocations: 0.4887 MB / 0.7072 GB, free: 15.71 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.008735, allocations: 19.86 kB / 0.7073 GB, free: 15.7 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.008762, allocations: 8 kB / 0.7073 GB, free: 15.69 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.00884, allocations: 12.03 kB / 0.7073 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.008899, allocations: 23.95 kB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.008909, allocations: 8 kB / 0.7073 GB, free: 15.64 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.106e-05/0.009, allocations: 159.4 kB / 0.7075 GB, free: 15.49 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009, allocations: 7.938 kB / 0.7075 GB, free: 15.48 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001784/0.009178, allocations: 52 kB / 0.7075 GB, free: 15.43 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.394e-05/0.009252, allocations: 119.1 kB / 0.7076 GB, free: 15.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.009574, allocations: 375.6 kB / 0.708 GB, free: 14.89 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.009575, allocations: 448 / 0.708 GB, free: 14.89 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.009707, allocations: 178.7 kB / 0.7082 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.0002634/0.009971, allocations: 67.89 kB / 0.7082 GB, free: 14.64 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.01064, allocations: 0.602 MB / 0.7088 GB, free: 14 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.253e-05/0.01071, allocations: 121.6 kB / 0.7089 GB, free: 13.86 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.01076, allocations: 32.48 kB / 0.709 GB, free: 13.83 MB / 426.8 MB Notification: Performance of SimCode: time 4.71e-07/0.01076, allocations: 0 / 0.709 GB, free: 13.83 MB / 426.8 MB Notification: Performance of Templates: time 0.002979/0.01374, allocations: 2.941 MB / 0.7118 GB, free: 10.92 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.484156699851155]