Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.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.001315/0.001315, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002231/0.003546, 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.001477/0.001477, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001762/0.00324, 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09234/1.117, allocations: 53.66 MB / 243.3 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.8284/0.8284, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02927/0.8577, allocations: 21.05 MB / 0.5432 GB, free: 31.49 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5446 GB, free: 30.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.355e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam): time 0.002022/0.002036, allocations: 2.509 MB / 0.547 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004136/0.006171, allocations: 6.696 MB / 0.5535 GB, free: 20.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.006322, allocations: 11.88 kB / 0.5536 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.493e-05/0.006407, allocations: 19.78 kB / 0.5536 GB, free: 20.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.006591, allocations: 83.33 kB / 0.5537 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.006762, allocations: 59.73 kB / 0.5537 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.006979, allocations: 270.6 kB / 0.554 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.007121, allocations: 34.53 kB / 0.554 GB, free: 20.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.007306, allocations: 176.2 kB / 0.5542 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.007458, allocations: 91.72 kB / 0.5543 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.007481, allocations: 16 kB / 0.5543 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.005e-05/0.007502, allocations: 16 kB / 0.5543 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.007529, allocations: 27.88 kB / 0.5543 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.007583, allocations: 63.88 kB / 0.5544 GB, free: 20.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.00774, allocations: 135.5 kB / 0.5545 GB, free: 19.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.007754, allocations: 0 / 0.5545 GB, free: 19.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007755, allocations: 0 / 0.5545 GB, free: 19.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.007772, allocations: 0 / 0.5545 GB, free: 19.89 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.0006374/0.00841, allocations: 0.5054 MB / 0.555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.008445, allocations: 8.031 kB / 0.555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.008495, allocations: 24.92 kB / 0.555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.008641, allocations: 183 kB / 0.5552 GB, free: 19.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.008659, allocations: 8.609 kB / 0.5552 GB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.008685, allocations: 16.38 kB / 0.5552 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.008838, allocations: 163.4 kB / 0.5554 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.008851, allocations: 0 / 0.5554 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.00886, allocations: 4 kB / 0.5554 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.008866, allocations: 8 kB / 0.5554 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.008936, allocations: 76.7 kB / 0.5555 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.009287, allocations: 365 kB / 0.5558 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.009439, allocations: 116 kB / 0.5559 GB, free: 18.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.009473, allocations: 57.69 kB / 0.556 GB, free: 18.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.009481, allocations: 4 kB / 0.556 GB, free: 18.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.009615, allocations: 192.4 kB / 0.5562 GB, free: 18.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.009617, allocations: 0 / 0.5562 GB, free: 18.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005342/0.01015, allocations: 0.5113 MB / 0.5567 GB, free: 17.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.01018, allocations: 170.1 kB / 0.5568 GB, free: 17.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.01027, allocations: 210 kB / 0.557 GB, free: 17.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.01029, allocations: 29.7 kB / 0.5571 GB, free: 17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.01032, allocations: 116.4 kB / 0.5572 GB, free: 16.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.01035, allocations: 71.45 kB / 0.5572 GB, free: 16.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.0104, allocations: 55.19 kB / 0.5573 GB, free: 16.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.582e-05/0.01043, allocations: 334.8 kB / 0.5576 GB, free: 16.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.873e-05/0.01048, allocations: 101 kB / 0.5577 GB, free: 16.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.01054, allocations: 169.4 kB / 0.5579 GB, free: 16.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.496e-05/0.01064, allocations: 215.7 kB / 0.5581 GB, free: 15.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01064, allocations: 0 / 0.5581 GB, free: 15.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001446/0.01079, allocations: 266 kB / 0.5583 GB, free: 15.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.01082, allocations: 59.41 kB / 0.5584 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01082, allocations: 0 / 0.5584 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01084, allocations: 4 kB / 0.5584 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.01098, allocations: 68.11 kB / 0.5585 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01099, allocations: 8 kB / 0.5585 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.01106, allocations: 15.98 kB / 0.5585 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.01107, allocations: 11.94 kB / 0.5585 GB, free: 15.37 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.891e-05/0.01117, allocations: 173.6 kB / 0.5587 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.01119, allocations: 27.97 kB / 0.5587 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.01122, allocations: 25.95 kB / 0.5587 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01122, allocations: 0 / 0.5587 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01123, allocations: 4 kB / 0.5587 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.01125, allocations: 15.86 kB / 0.5587 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01126, allocations: 11.92 kB / 0.5587 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.01128, allocations: 10.75 kB / 0.5587 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.01133, allocations: 15.98 kB / 0.5588 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.01138, allocations: 15.97 kB / 0.5588 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001709/0.01155, allocations: 268.1 kB / 0.559 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3241/0.3357, allocations: 413.7 kB / 0.5594 GB, free: 79.42 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.859e-05/0.3358, allocations: 82.16 kB / 0.5595 GB, free: 79.38 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.985e-05/0.3359, allocations: 68.02 kB / 0.5596 GB, free: 79.38 MB / 410.8 MB Notification: Performance of Backend: time 5.61e-07/0.3359, allocations: 0 / 0.5596 GB, free: 79.38 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005128/0.3364, allocations: 334 kB / 0.5599 GB, free: 79.14 MB / 410.8 MB Notification: Performance of SimCode: time 0.007724/0.3441, allocations: 1.117 MB / 0.561 GB, free: 78.32 MB / 410.8 MB Notification: Performance of Templates: time 0.01943/0.3635, allocations: 3.843 MB / 0.5647 GB, free: 78.19 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.766911406069994]