Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine.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.001241/0.001241, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002168/0.003409, allocations: 455.9 kB / 10.35 MB, free: 348 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.001392/0.001392, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001825/0.003217, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.15/1.15, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1401/1.29, allocations: 53.65 MB / 243.3 MB, free: 15.56 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 1.006/1.006, allocations: 291.2 MB / 0.5227 GB, free: 52.68 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06783/1.074, allocations: 21.04 MB / 0.5433 GB, free: 31.71 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.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.086e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine): time 0.009638/0.009669, allocations: 2.487 MB / 0.5471 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.02313, allocations: 6.696 MB / 0.5536 GB, free: 21.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.02338, allocations: 0 / 0.5536 GB, free: 21.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.0235, allocations: 27.7 kB / 0.5536 GB, free: 21.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.02372, allocations: 83.33 kB / 0.5537 GB, free: 21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.02392, allocations: 51.88 kB / 0.5538 GB, free: 20.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.02733, allocations: 262.6 kB / 0.554 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.02754, allocations: 50.39 kB / 0.5541 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.02786, allocations: 176.2 kB / 0.5542 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.02812, allocations: 87.78 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.02816, allocations: 16 kB / 0.5543 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-05/0.02819, allocations: 16 kB / 0.5543 GB, free: 20.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.02823, allocations: 27.88 kB / 0.5544 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.02831, allocations: 63.88 kB / 0.5544 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.02858, allocations: 139.5 kB / 0.5546 GB, free: 20.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.88e-05/0.0286, allocations: 4 kB / 0.5546 GB, free: 20.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.0286, allocations: 0 / 0.5546 GB, free: 20.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.02862, allocations: 4 kB / 0.5546 GB, free: 20.12 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.0008132/0.02943, allocations: 0.4898 MB / 0.555 GB, free: 19.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.02947, allocations: 19.84 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.02953, allocations: 32.84 kB / 0.5551 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.02973, allocations: 179 kB / 0.5553 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.02975, allocations: 8.609 kB / 0.5553 GB, free: 19.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.02978, allocations: 16.38 kB / 0.5553 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.02999, allocations: 155.5 kB / 0.5554 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.03, allocations: 3.984 kB / 0.5554 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.03001, allocations: 4 kB / 0.5554 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.03002, allocations: 4 kB / 0.5555 GB, free: 19.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.03011, allocations: 88.62 kB / 0.5555 GB, free: 19.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.03056, allocations: 361 kB / 0.5559 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.03076, allocations: 112 kB / 0.556 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.03081, allocations: 66.53 kB / 0.5561 GB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.03082, allocations: 4 kB / 0.5561 GB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.031, allocations: 195.3 kB / 0.5562 GB, free: 18.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.03101, allocations: 0 / 0.5562 GB, free: 18.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007003/0.03171, allocations: 0.5055 MB / 0.5567 GB, free: 17.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.03175, allocations: 158.2 kB / 0.5569 GB, free: 17.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.03186, allocations: 210.1 kB / 0.5571 GB, free: 17.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.03188, allocations: 33.7 kB / 0.5571 GB, free: 17.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.03193, allocations: 120.4 kB / 0.5572 GB, free: 17.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.03196, allocations: 67.42 kB / 0.5573 GB, free: 17.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.03202, allocations: 59.16 kB / 0.5574 GB, free: 16.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.03206, allocations: 334.8 kB / 0.5577 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.03211, allocations: 97.02 kB / 0.5578 GB, free: 16.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.03218, allocations: 181.2 kB / 0.5579 GB, free: 16.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.0323, allocations: 210.2 kB / 0.5581 GB, free: 16.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.03231, allocations: 3.125 kB / 0.5581 GB, free: 16.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000194/0.0325, allocations: 263 kB / 0.5584 GB, free: 15.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.03256, allocations: 67.39 kB / 0.5585 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.03256, allocations: 2.734 kB / 0.5585 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.03258, allocations: 8.219 kB / 0.5585 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.03278, allocations: 63.89 kB / 0.5585 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.03279, allocations: 4 kB / 0.5585 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.03287, allocations: 15.94 kB / 0.5585 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.03289, allocations: 15.98 kB / 0.5586 GB, free: 15.59 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.0001563/0.03304, allocations: 165.6 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.03307, allocations: 27.97 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.0331, allocations: 25.91 kB / 0.5588 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.03311, allocations: 0 / 0.5588 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.03311, allocations: 0 / 0.5588 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.03311, allocations: 3.984 kB / 0.5588 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.03345, allocations: 370.3 kB / 0.5591 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.03345, allocations: 3.938 kB / 0.5591 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.03359, allocations: 47.91 kB / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.03361, allocations: 15.86 kB / 0.5592 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.03362, allocations: 7.984 kB / 0.5592 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.03363, allocations: 4 kB / 0.5592 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.03363, allocations: 0 / 0.5592 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.03364, allocations: 7.375 kB / 0.5592 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4116/0.4452, allocations: 341.5 kB / 0.5595 GB, free: 79.37 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.4453, allocations: 8.219 kB / 0.5595 GB, free: 79.37 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.4455, allocations: 11.12 kB / 0.5596 GB, free: 79.37 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/0.4456, allocations: 26.62 kB / 0.5596 GB, free: 79.37 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4456, allocations: 5.891 kB / 0.5596 GB, free: 79.37 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001377/0.4458, allocations: 64.55 kB / 0.5596 GB, free: 79.36 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4458, allocations: 1.969 kB / 0.5596 GB, free: 79.36 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003549/0.4461, allocations: 56.84 kB / 0.5597 GB, free: 79.36 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.0001838/0.4463, allocations: 92.84 kB / 0.5598 GB, free: 79.29 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.4467, allocations: 310.6 kB / 0.5601 GB, free: 79.07 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/0.4468, allocations: 2.688 kB / 0.5601 GB, free: 79.07 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.4469, allocations: 160.7 kB / 0.5602 GB, free: 78.96 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.4474, allocations: 82.91 kB / 0.5603 GB, free: 78.96 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008308/0.4557, allocations: 0.5551 MB / 0.5609 GB, free: 78.7 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.4558, allocations: 79.7 kB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.456, allocations: 25.22 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.4563, allocations: 121.7 kB / 0.5611 GB, free: 78.58 MB / 410.8 MB Notification: Performance of SimCode: time 2.024e-06/0.4563, allocations: 2.469 kB / 0.5611 GB, free: 78.58 MB / 410.8 MB Notification: Performance of Templates: time 0.01058/0.4669, allocations: 3.802 MB / 0.5648 GB, free: 78.38 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5201786905527115]