Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_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.0008352/0.0008352, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009989/0.001834, 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.0007465/0.0007465, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001832, 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 0.9745/0.9745, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08882/1.063, 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.8343/0.8343, allocations: 291.2 MB / 0.5227 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03597/0.8703, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.361e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference): time 0.003035/0.003059, allocations: 2.493 MB / 0.547 GB, free: 28.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.008338, allocations: 6.692 MB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.008499, allocations: 4 kB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.905e-05/0.008578, allocations: 27.66 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.008752, allocations: 79.33 kB / 0.5536 GB, free: 21.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.008951, allocations: 67.73 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.009221, allocations: 266.6 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.009361, allocations: 42.53 kB / 0.554 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.009585, allocations: 172.3 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.00976, allocations: 87.72 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.009787, allocations: 16 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.425e-05/0.009811, allocations: 16 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.009839, allocations: 27.88 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.009898, allocations: 59.88 kB / 0.5543 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.01007, allocations: 143.5 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.01008, allocations: 0 / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01008, allocations: 0 / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.01009, allocations: 4 kB / 0.5545 GB, free: 20.38 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.0005587/0.01065, allocations: 0.4937 MB / 0.555 GB, free: 19.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.01068, allocations: 11.89 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.01073, allocations: 28.91 kB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.01089, allocations: 179 kB / 0.5552 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.01091, allocations: 16.55 kB / 0.5552 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.01093, allocations: 12.38 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.0111, allocations: 163.5 kB / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01111, allocations: 0 / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.01112, allocations: 8 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.01113, allocations: 4 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.591e-05/0.01121, allocations: 72.64 kB / 0.5554 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.01161, allocations: 369 kB / 0.5558 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.01178, allocations: 108.2 kB / 0.5559 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.01182, allocations: 58.55 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.01183, allocations: 7.984 kB / 0.556 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.01199, allocations: 199.2 kB / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.01199, allocations: 0 / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000587/0.01258, allocations: 0.5093 MB / 0.5566 GB, free: 17.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.01261, allocations: 170.2 kB / 0.5568 GB, free: 17.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.01269, allocations: 198 kB / 0.557 GB, free: 17.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.01271, allocations: 41.69 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.01274, allocations: 116.4 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.01277, allocations: 75.45 kB / 0.5572 GB, free: 17.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.01282, allocations: 47.19 kB / 0.5573 GB, free: 17.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.606e-05/0.01285, allocations: 334.8 kB / 0.5576 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.01291, allocations: 101 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.01298, allocations: 176 kB / 0.5578 GB, free: 16.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.01308, allocations: 218.2 kB / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01308, allocations: 3.938 kB / 0.5581 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001535/0.01323, allocations: 256.3 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.01326, allocations: 63.39 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01327, allocations: 4.219 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01328, allocations: 11.94 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.01344, allocations: 59.95 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.01345, allocations: 7.938 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.01352, allocations: 15.98 kB / 0.5585 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.01354, allocations: 15.94 kB / 0.5585 GB, free: 15.85 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.0001033/0.01364, allocations: 169.6 kB / 0.5586 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.01366, allocations: 19.98 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.01369, allocations: 25.95 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01369, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.0137, allocations: 4 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.01371, allocations: 15.86 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.01373, allocations: 11.94 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.01375, allocations: 11.98 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.0138, allocations: 4 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.01385, allocations: 27.58 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002069/0.01406, allocations: 268.2 kB / 0.559 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001974/0.01425, allocations: 429.1 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.375/0.3893, allocations: 76.56 kB / 0.5595 GB, free: 79.6 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001282/0.3894, allocations: 59.25 kB / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of Backend: time 4.41e-07/0.3894, allocations: 0 / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005955/0.39, allocations: 334.6 kB / 0.5599 GB, free: 79.36 MB / 410.8 MB Notification: Performance of SimCode: time 0.005653/0.3956, allocations: 1.112 MB / 0.5609 GB, free: 78.54 MB / 410.8 MB Notification: Performance of Templates: time 0.006229/0.4019, allocations: 3.857 MB / 0.5647 GB, free: 78.4 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam_Norman1997_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7447911370545626]