Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.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.001252/0.001252, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001985/0.003236, allocations: 435.8 kB / 10.31 MB, free: 384 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.00122/0.00122, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.0028, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 0.9835/0.9835, allocations: 177.1 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08817/1.072, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7849/0.7849, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03259/0.8175, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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.N03A_Antiepileptics.N03AG05_Progabide.Progabide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.94e-05, allocations: 14.12 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide): time 0.002254/0.002284, allocations: 2.491 MB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004218/0.006501, allocations: 6.688 MB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.006659, allocations: 8 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.248e-05/0.006751, allocations: 23.72 kB / 0.5535 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.006923, allocations: 91.25 kB / 0.5536 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.007087, allocations: 51.81 kB / 0.5536 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.007292, allocations: 266.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.007404, allocations: 34.55 kB / 0.5539 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.007598, allocations: 184.1 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.007759, allocations: 83.78 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.007787, allocations: 20 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.386e-05/0.007811, allocations: 16 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.00784, allocations: 31.86 kB / 0.5542 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.007894, allocations: 59.88 kB / 0.5543 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.008053, allocations: 135.5 kB / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.008068, allocations: 3.984 kB / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.008069, allocations: 0 / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.008079, allocations: 0 / 0.5544 GB, free: 20.36 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.0005555/0.008634, allocations: 0.4937 MB / 0.5549 GB, free: 19.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.008665, allocations: 15.97 kB / 0.5549 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.008709, allocations: 20.92 kB / 0.5549 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.008864, allocations: 183 kB / 0.5551 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.008884, allocations: 8.609 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.008907, allocations: 16.38 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.009065, allocations: 159.4 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.009077, allocations: 7.938 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.009086, allocations: 4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.009091, allocations: 8 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.009162, allocations: 72.7 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.00954, allocations: 365 kB / 0.5557 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.009705, allocations: 120 kB / 0.5558 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.009739, allocations: 58.55 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.009747, allocations: 0 / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.00988, allocations: 188.4 kB / 0.5561 GB, free: 18.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.009881, allocations: 4 kB / 0.5561 GB, free: 18.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005422/0.01042, allocations: 0.5045 MB / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.01045, allocations: 136.5 kB / 0.5567 GB, free: 17.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.01053, allocations: 202 kB / 0.5569 GB, free: 17.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.01055, allocations: 37.69 kB / 0.5569 GB, free: 17.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.01058, allocations: 116.4 kB / 0.557 GB, free: 17.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.01061, allocations: 71.45 kB / 0.5571 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.01066, allocations: 55.19 kB / 0.5572 GB, free: 17.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.0107, allocations: 338.7 kB / 0.5575 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.01075, allocations: 96.94 kB / 0.5576 GB, free: 16.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.01081, allocations: 177.3 kB / 0.5577 GB, free: 16.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.84e-05/0.01091, allocations: 211.8 kB / 0.5579 GB, free: 16.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01091, allocations: 0 / 0.5579 GB, free: 16.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001491/0.01106, allocations: 262.7 kB / 0.5582 GB, free: 16.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.0111, allocations: 63.39 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.0111, allocations: 2.656 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.01111, allocations: 4 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.01128, allocations: 68.11 kB / 0.5583 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01129, allocations: 8 kB / 0.5583 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.876e-05/0.01137, allocations: 23.23 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.01138, allocations: 8 kB / 0.5584 GB, free: 15.88 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.0001047/0.01148, allocations: 173.6 kB / 0.5585 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.0115, allocations: 19.98 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.01153, allocations: 25.95 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01153, allocations: 4 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.01153, allocations: 4 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01154, allocations: 0 / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.01178, allocations: 378.2 kB / 0.5589 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01179, allocations: 3.938 kB / 0.5589 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.01191, allocations: 39.97 kB / 0.559 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.01193, allocations: 19.84 kB / 0.559 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01193, allocations: 0 / 0.559 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01194, allocations: 8 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01195, allocations: 0 / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01195, allocations: 0 / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.01214, allocations: 359.8 kB / 0.5594 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.01217, allocations: 4 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.01224, allocations: 11.98 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.01228, allocations: 19.97 kB / 0.5594 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2777/0.29, allocations: 9.531 kB / 0.5594 GB, free: 79.56 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001327/0.2901, allocations: 62.27 kB / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2901, allocations: 0 / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002841/0.2904, allocations: 55.03 kB / 0.5595 GB, free: 79.55 MB / 410.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.0001327/0.2905, allocations: 95.55 kB / 0.5596 GB, free: 79.48 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.2908, allocations: 306.6 kB / 0.5599 GB, free: 79.26 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.2908, allocations: 1.469 kB / 0.5599 GB, free: 79.26 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.2909, allocations: 150.1 kB / 0.56 GB, free: 79.16 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.2912, allocations: 84.67 kB / 0.5601 GB, free: 79.16 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.2968, allocations: 0.5694 MB / 0.5607 GB, free: 78.89 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.2968, allocations: 81.42 kB / 0.5608 GB, free: 78.82 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.2969, allocations: 27.95 kB / 0.5608 GB, free: 78.82 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.2971, allocations: 117.5 kB / 0.5609 GB, free: 78.77 MB / 410.8 MB Notification: Performance of SimCode: time 1.904e-06/0.2971, allocations: 0 / 0.5609 GB, free: 78.77 MB / 410.8 MB Notification: Performance of Templates: time 0.006822/0.3039, allocations: 3.791 MB / 0.5646 GB, free: 78.62 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5815849853679538]