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.001003/0.001003, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002458, allocations: 443.9 kB / 10.36 MB, free: 332 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.001017/0.001017, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002429, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08314/1.087, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.7009/0.7009, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02708/0.728, allocations: 21.04 MB / 0.5431 GB, free: 31.81 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.593e-06/1.593e-06, allocations: 0 / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.105e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel): time 0.003243/0.003264, allocations: 2.509 MB / 0.547 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005658/0.008922, allocations: 6.692 MB / 0.5535 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.009025, allocations: 0 / 0.5535 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.703e-05/0.009102, allocations: 31.66 kB / 0.5535 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.009285, allocations: 79.33 kB / 0.5536 GB, free: 21.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.009441, allocations: 55.8 kB / 0.5537 GB, free: 21.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.00969, allocations: 274.5 kB / 0.5539 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.009811, allocations: 34.55 kB / 0.554 GB, free: 20.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.01004, allocations: 176.3 kB / 0.5541 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.01022, allocations: 91.7 kB / 0.5542 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.01026, allocations: 16 kB / 0.5542 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.01029, allocations: 20 kB / 0.5543 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.01032, allocations: 23.88 kB / 0.5543 GB, free: 20.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.0104, allocations: 63.88 kB / 0.5543 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.0106, allocations: 135.5 kB / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.31e-05/0.01062, allocations: 0 / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01062, allocations: 0 / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.01063, allocations: 4 kB / 0.5545 GB, free: 20.2 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.0006939/0.01132, allocations: 0.4976 MB / 0.555 GB, free: 19.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01136, allocations: 11.89 kB / 0.555 GB, free: 19.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.01142, allocations: 24.92 kB / 0.555 GB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.01163, allocations: 183 kB / 0.5552 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.01165, allocations: 8.609 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.01168, allocations: 12.38 kB / 0.5552 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.01191, allocations: 163.4 kB / 0.5553 GB, free: 19.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01192, allocations: 7.938 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.01194, allocations: 8 kB / 0.5554 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.01195, allocations: 0 / 0.5554 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.01206, allocations: 84.64 kB / 0.5554 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.01258, allocations: 368.9 kB / 0.5558 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.01279, allocations: 112.1 kB / 0.5559 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.01285, allocations: 54.56 kB / 0.5559 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.01286, allocations: 8 kB / 0.556 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.01304, allocations: 192.3 kB / 0.5561 GB, free: 18.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.01304, allocations: 0 / 0.5561 GB, free: 18.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007335/0.01378, allocations: 0.5123 MB / 0.5566 GB, free: 17.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.01381, allocations: 162.2 kB / 0.5568 GB, free: 17.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01394, allocations: 210 kB / 0.557 GB, free: 17.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.01396, allocations: 33.7 kB / 0.557 GB, free: 17.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.014, allocations: 116.4 kB / 0.5571 GB, free: 17.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.01405, allocations: 71.45 kB / 0.5572 GB, free: 17.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.01411, allocations: 51.19 kB / 0.5573 GB, free: 17.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.01415, allocations: 338.8 kB / 0.5576 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.01423, allocations: 93 kB / 0.5577 GB, free: 16.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.813e-05/0.01432, allocations: 177.3 kB / 0.5578 GB, free: 16.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.01446, allocations: 207.8 kB / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01447, allocations: 4 kB / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002289/0.01469, allocations: 262 kB / 0.5583 GB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.01473, allocations: 59.41 kB / 0.5583 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01474, allocations: 11.31 kB / 0.5584 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.01475, allocations: 224 / 0.5584 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.01499, allocations: 75.89 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01499, allocations: 4 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.01512, allocations: 15.98 kB / 0.5584 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.01514, allocations: 7.938 kB / 0.5585 GB, free: 15.68 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.000129/0.01527, allocations: 173.5 kB / 0.5586 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.0153, allocations: 23.98 kB / 0.5586 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.01536, allocations: 29.95 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01536, allocations: 0 / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.01536, allocations: 0 / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.01539, allocations: 23.84 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.0154, allocations: 11.92 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.01542, allocations: 4 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.0155, allocations: 15.98 kB / 0.5587 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.01554, allocations: 15.97 kB / 0.5587 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001887/0.01573, allocations: 264.2 kB / 0.559 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2259/0.2416, allocations: 425.8 kB / 0.5594 GB, free: 78.97 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.736e-05/0.2417, allocations: 77.58 kB / 0.5595 GB, free: 78.93 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.2417, allocations: 66.25 kB / 0.5595 GB, free: 78.92 MB / 410.8 MB Notification: Performance of Backend: time 2.51e-07/0.2417, allocations: 0 / 0.5595 GB, free: 78.92 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.2421, allocations: 328 kB / 0.5598 GB, free: 78.68 MB / 410.8 MB Notification: Performance of SimCode: time 0.005473/0.2476, allocations: 1.122 MB / 0.5609 GB, free: 77.87 MB / 410.8 MB Notification: Performance of Templates: time 0.005665/0.2533, allocations: 3.855 MB / 0.5647 GB, free: 77.73 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX22_Perampanel.Perampanel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1030822936445475]