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.0007793/0.0007793, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001849, allocations: 435.8 kB / 10.33 MB, free: 368 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.000693/0.000693, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008652/0.001558, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.067/1.067, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1146/1.181, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7918/0.7918, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04041/0.8322, allocations: 21.04 MB / 0.5431 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.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.863e-06/1.863e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.384e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin): time 0.002457/0.002481, allocations: 2.501 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.007749, allocations: 6.692 MB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.007945, allocations: 4 kB / 0.5535 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.443e-05/0.008029, allocations: 27.72 kB / 0.5535 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.008208, allocations: 91.25 kB / 0.5536 GB, free: 21.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.008363, allocations: 51.88 kB / 0.5537 GB, free: 21.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.008561, allocations: 262.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.008667, allocations: 42.48 kB / 0.5539 GB, free: 20.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.008838, allocations: 180.2 kB / 0.5541 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.008992, allocations: 75.8 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.00902, allocations: 20 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.00904, allocations: 16 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.009068, allocations: 35.84 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.009121, allocations: 63.88 kB / 0.5543 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.009277, allocations: 143.5 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.00929, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00929, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.009303, allocations: 0 / 0.5545 GB, free: 20.34 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.0004927/0.009796, allocations: 0.4936 MB / 0.5549 GB, free: 19.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.009824, allocations: 15.83 kB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.00986, allocations: 24.92 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.01, allocations: 183.1 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.01002, allocations: 8.609 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.01005, allocations: 20.36 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.0102, allocations: 159.4 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01021, allocations: 0 / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.01022, allocations: 8 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.01023, allocations: 4 kB / 0.5553 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.01031, allocations: 76.64 kB / 0.5554 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.01067, allocations: 369 kB / 0.5558 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.01084, allocations: 116.1 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.01087, allocations: 58.55 kB / 0.5559 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.01088, allocations: 0 / 0.5559 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.01104, allocations: 191.3 kB / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.072e-06/0.01104, allocations: 0 / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005826/0.01162, allocations: 0.5094 MB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.01168, allocations: 136.5 kB / 0.5567 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.01178, allocations: 198.1 kB / 0.5569 GB, free: 17.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.01179, allocations: 37.69 kB / 0.557 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.01184, allocations: 116.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.01187, allocations: 75.39 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.01193, allocations: 55.14 kB / 0.5572 GB, free: 17.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.01199, allocations: 334.8 kB / 0.5575 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.01205, allocations: 96.94 kB / 0.5576 GB, free: 16.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.01212, allocations: 181.3 kB / 0.5578 GB, free: 16.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.01224, allocations: 214.2 kB / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01224, allocations: 0 / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001601/0.0124, allocations: 264.4 kB / 0.5582 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.01244, allocations: 55.41 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01245, allocations: 4 kB / 0.5583 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.01246, allocations: 4 kB / 0.5583 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.01264, allocations: 67.89 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01264, allocations: 7.938 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.01272, allocations: 19.92 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.01273, allocations: 8 kB / 0.5584 GB, free: 15.86 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.0001343/0.01287, allocations: 184.7 kB / 0.5586 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.01289, allocations: 15.98 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.01293, allocations: 25.95 kB / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01293, allocations: 4 kB / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01293, allocations: 0 / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01294, allocations: 0 / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.01322, allocations: 379.7 kB / 0.559 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01322, allocations: 3.938 kB / 0.559 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.01335, allocations: 47.95 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.01337, allocations: 15.86 kB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01337, allocations: 3.984 kB / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01338, allocations: 8 kB / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01338, allocations: 0 / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01339, allocations: 0 / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.01357, allocations: 353 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.01359, allocations: 8 kB / 0.5594 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.01366, allocations: 7.984 kB / 0.5594 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3096/0.3233, allocations: 21.3 kB / 0.5594 GB, free: 79.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3233, allocations: 9.688 kB / 0.5594 GB, free: 79.5 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3234, allocations: 63.03 kB / 0.5595 GB, free: 79.49 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3234, allocations: 0 / 0.5595 GB, free: 79.49 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002632/0.3237, allocations: 56.62 kB / 0.5596 GB, free: 79.49 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.000112/0.3238, allocations: 92.73 kB / 0.5596 GB, free: 79.43 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.324, allocations: 303 kB / 0.5599 GB, free: 79.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.324, allocations: 5.203 kB / 0.5599 GB, free: 79.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.3241, allocations: 146.9 kB / 0.5601 GB, free: 79.1 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3244, allocations: 90.56 kB / 0.5602 GB, free: 79.1 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/0.3298, allocations: 0.5649 MB / 0.5607 GB, free: 78.83 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.3299, allocations: 80.86 kB / 0.5608 GB, free: 78.76 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.321e-05/0.33, allocations: 23.91 kB / 0.5608 GB, free: 78.76 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.3301, allocations: 119.1 kB / 0.5609 GB, free: 78.72 MB / 410.8 MB Notification: Performance of SimCode: time 8.42e-07/0.3301, allocations: 0 / 0.5609 GB, free: 78.72 MB / 410.8 MB Notification: Performance of Templates: time 0.007107/0.3372, allocations: 3.803 MB / 0.5646 GB, free: 78.54 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 > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.772307585924864]