Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.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.0007403/0.0007403, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009279/0.001668, 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.0007136/0.0007136, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008634/0.001577, 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.9221/0.9221, allocations: 177.1 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08798/1.01, allocations: 53.67 MB / 243.2 MB, free: 15.57 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.6948/0.6948, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03116/0.7259, 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.N03AX22_Perampanel.Perampanel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.422e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel): time 0.002903/0.002917, allocations: 2.488 MB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004059/0.006976, allocations: 6.695 MB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.007094, allocations: 0 / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.596e-05/0.00717, allocations: 23.72 kB / 0.5535 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.007316, allocations: 87.33 kB / 0.5536 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.007451, allocations: 55.8 kB / 0.5536 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.007625, allocations: 270.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.007722, allocations: 34.48 kB / 0.5539 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.007883, allocations: 176.2 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.008019, allocations: 83.78 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.008042, allocations: 16 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.188e-05/0.008064, allocations: 20 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.008088, allocations: 27.88 kB / 0.5542 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.008141, allocations: 63.88 kB / 0.5543 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.008292, allocations: 143.5 kB / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.008306, allocations: 0 / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008307, allocations: 0 / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.008317, 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.0005102/0.008827, allocations: 0.4976 MB / 0.5549 GB, free: 19.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.008859, allocations: 15.89 kB / 0.5549 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.008906, allocations: 28.86 kB / 0.5549 GB, free: 19.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.009054, allocations: 179 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.009073, allocations: 12.61 kB / 0.5551 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.009095, allocations: 12.38 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.009265, allocations: 163.4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.009277, allocations: 0 / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.009287, allocations: 4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.009292, allocations: 4 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.447e-05/0.009367, allocations: 80.64 kB / 0.5554 GB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.009737, allocations: 365 kB / 0.5557 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.009888, allocations: 120 kB / 0.5558 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.009922, allocations: 58.55 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.00993, allocations: 4 kB / 0.5559 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.01007, allocations: 192.3 kB / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.01007, allocations: 0 / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005023/0.01057, allocations: 0.5082 MB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.0106, allocations: 132.5 kB / 0.5567 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.01068, allocations: 210 kB / 0.5569 GB, free: 17.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.01069, allocations: 33.7 kB / 0.5569 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.01072, allocations: 116.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.01075, allocations: 63.48 kB / 0.5571 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.01079, allocations: 59.16 kB / 0.5572 GB, free: 17.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.024e-05/0.01082, allocations: 330.8 kB / 0.5575 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.01087, allocations: 101 kB / 0.5576 GB, free: 16.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.01093, allocations: 188.7 kB / 0.5578 GB, free: 16.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.906e-05/0.01101, allocations: 203.8 kB / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01102, allocations: 0 / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001404/0.01116, allocations: 267.5 kB / 0.5582 GB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.01119, allocations: 66.2 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01119, allocations: 0 / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-06/0.0112, allocations: 4 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.01135, allocations: 67.91 kB / 0.5583 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.01135, allocations: 6.641 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.01143, allocations: 20.16 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.01144, allocations: 11.98 kB / 0.5584 GB, free: 15.87 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 9.656e-05/0.01154, allocations: 168.9 kB / 0.5585 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.01156, allocations: 27.97 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.01159, allocations: 25.91 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01159, allocations: 0 / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01159, allocations: 0 / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.0116, allocations: 7.984 kB / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.01182, allocations: 374.3 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01183, allocations: 3.938 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.01194, allocations: 43.91 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.01196, allocations: 19.84 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01196, allocations: 4 kB / 0.559 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.01197, allocations: 7.984 kB / 0.559 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01198, allocations: 4 kB / 0.559 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01198, allocations: 0 / 0.559 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.01216, allocations: 347.8 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.01218, allocations: 12 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.01225, allocations: 11.98 kB / 0.5594 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2237/0.2359, allocations: 16.08 kB / 0.5594 GB, free: 79.53 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.236, allocations: 8.25 kB / 0.5594 GB, free: 79.53 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001196/0.2361, allocations: 62.12 kB / 0.5595 GB, free: 79.52 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2361, allocations: 0 / 0.5595 GB, free: 79.52 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003152/0.2364, allocations: 54.25 kB / 0.5595 GB, free: 79.52 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.0001169/0.2365, allocations: 90.5 kB / 0.5596 GB, free: 79.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.2368, allocations: 310.7 kB / 0.5599 GB, free: 79.23 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.2368, allocations: 2.125 kB / 0.5599 GB, free: 79.23 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/0.2369, allocations: 143.5 kB / 0.56 GB, free: 79.13 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.2372, allocations: 89.45 kB / 0.5601 GB, free: 79.13 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00734/0.2446, allocations: 0.5672 MB / 0.5607 GB, free: 78.86 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.472e-05/0.2446, allocations: 79.77 kB / 0.5608 GB, free: 78.79 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00011/0.2447, allocations: 26.23 kB / 0.5608 GB, free: 78.79 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.2449, allocations: 118.3 kB / 0.5609 GB, free: 78.75 MB / 410.8 MB Notification: Performance of SimCode: time 7.02e-07/0.2449, allocations: 0 / 0.5609 GB, free: 78.75 MB / 410.8 MB Notification: Performance of Templates: time 0.006866/0.2518, allocations: 3.796 MB / 0.5646 GB, free: 78.58 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.283641561865807]