Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin.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.0007394/0.0007394, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009401/0.00168, 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.001093/0.001093, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002537, 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.9763/0.9763, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09226/1.069, allocations: 53.67 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.7291/0.7291, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03823/0.7673, allocations: 21.05 MB / 0.5431 GB, free: 31.8 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.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.205e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.4 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin): time 0.003383/0.003405, allocations: 2.508 MB / 0.547 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004984/0.008388, allocations: 6.688 MB / 0.5535 GB, free: 21.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.008497, allocations: 7.938 kB / 0.5535 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.155e-05/0.008568, allocations: 31.7 kB / 0.5535 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.008734, allocations: 79.33 kB / 0.5536 GB, free: 21.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.008906, allocations: 55.81 kB / 0.5537 GB, free: 21.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.009154, allocations: 266.6 kB / 0.5539 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.009309, allocations: 42.47 kB / 0.554 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.009535, allocations: 172.2 kB / 0.5541 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.00973, allocations: 95.72 kB / 0.5542 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.009759, allocations: 16 kB / 0.5542 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.915e-05/0.009789, allocations: 20 kB / 0.5542 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.009819, allocations: 23.88 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.009888, allocations: 63.88 kB / 0.5543 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.01006, allocations: 139.5 kB / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.01007, allocations: 4 kB / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01007, allocations: 0 / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.01008, allocations: 0 / 0.5545 GB, free: 20.19 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.0005714/0.01065, allocations: 0.5014 MB / 0.555 GB, free: 19.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.01069, allocations: 11.89 kB / 0.555 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.01074, allocations: 28.91 kB / 0.555 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.0109, allocations: 179 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.01092, allocations: 12.61 kB / 0.5552 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.01095, allocations: 12.38 kB / 0.5552 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.01112, allocations: 155.4 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01113, allocations: 3.984 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.01114, allocations: 4 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.01115, allocations: 8 kB / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.01123, allocations: 84.69 kB / 0.5554 GB, free: 19.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.01164, allocations: 357 kB / 0.5558 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.01182, allocations: 112 kB / 0.5559 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.01186, allocations: 62.53 kB / 0.5559 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.01187, allocations: 7.984 kB / 0.5559 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.01203, allocations: 195.3 kB / 0.5561 GB, free: 18.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.01203, allocations: 0 / 0.5561 GB, free: 18.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005686/0.0126, allocations: 0.5055 MB / 0.5566 GB, free: 17.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.01263, allocations: 158.2 kB / 0.5568 GB, free: 17.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/0.01272, allocations: 214 kB / 0.557 GB, free: 17.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.01274, allocations: 33.7 kB / 0.557 GB, free: 17.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.01278, allocations: 116.4 kB / 0.5571 GB, free: 17.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.01281, allocations: 67.42 kB / 0.5572 GB, free: 17.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.01286, allocations: 67.11 kB / 0.5573 GB, free: 17.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.01291, allocations: 338.8 kB / 0.5576 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.01298, allocations: 93.02 kB / 0.5577 GB, free: 16.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.032e-05/0.01307, allocations: 173.3 kB / 0.5578 GB, free: 16.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.01318, allocations: 217.5 kB / 0.558 GB, free: 16.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01318, allocations: 0 / 0.558 GB, free: 16.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000155/0.01334, allocations: 260.2 kB / 0.5583 GB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.01337, allocations: 67.39 kB / 0.5584 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01338, allocations: 4 kB / 0.5584 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.01339, allocations: 3 kB / 0.5584 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01355, allocations: 68.11 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01356, allocations: 4 kB / 0.5584 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.01364, allocations: 16 kB / 0.5584 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.01365, allocations: 15.92 kB / 0.5585 GB, free: 15.66 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.0001055/0.01375, allocations: 168.1 kB / 0.5586 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.01377, allocations: 23.97 kB / 0.5586 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.0138, allocations: 21.97 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01381, allocations: 3.984 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01381, allocations: 4 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.01383, allocations: 15.91 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01384, allocations: 7.938 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01386, allocations: 8 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.084e-05/0.01391, allocations: 11.98 kB / 0.5587 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.01396, allocations: 15.97 kB / 0.5587 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001839/0.01414, allocations: 272.1 kB / 0.559 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2711/0.2852, allocations: 418.3 kB / 0.5594 GB, free: 79.02 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.065e-05/0.2853, allocations: 82.33 kB / 0.5595 GB, free: 78.98 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.268e-05/0.2854, allocations: 63.33 kB / 0.5595 GB, free: 78.97 MB / 410.8 MB Notification: Performance of Backend: time 2.61e-07/0.2854, allocations: 0 / 0.5595 GB, free: 78.97 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.2858, allocations: 336.8 kB / 0.5598 GB, free: 78.73 MB / 410.8 MB Notification: Performance of SimCode: time 0.005513/0.2913, allocations: 1.118 MB / 0.5609 GB, free: 77.92 MB / 410.8 MB Notification: Performance of Templates: time 0.006186/0.2975, allocations: 3.858 MB / 0.5647 GB, free: 77.76 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5936896316707134]