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.002405/0.002405, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002084/0.002084, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.873/1.873, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] 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.496/1.496, allocations: 316.7 MB / 0.6144 GB, free: 93.03 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004161/0.004161, allocations: 77.59 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1841, allocations: 73.99 MB / 0.8472 GB, free: 4.859 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin): time 0.004476/0.1885, allocations: 2.307 MB / 0.8495 GB, free: 2.555 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4156/0.6041, allocations: 6.523 MB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.6044, allocations: 1.875 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.6046, allocations: 27.33 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.6049, allocations: 82.91 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.6052, allocations: 52.55 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.6056, allocations: 260 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.6058, allocations: 35.53 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.6059, allocations: 99.84 kB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.6062, allocations: 98.34 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.6062, allocations: 16.97 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.23e-05/0.6063, allocations: 17.28 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.6063, allocations: 35.98 kB / 0.8566 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.6064, allocations: 98.98 kB / 0.8566 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.6067, allocations: 200.1 kB / 0.8568 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.6067, allocations: 3.562 kB / 0.8568 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.937e-06/0.6067, allocations: 0 / 0.8568 GB, free: 21.85 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.6067, allocations: 0 / 0.8568 GB, free: 21.85 MB / 490.8 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.0009685/0.6077, allocations: 496.1 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.6078, allocations: 10 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.6078, allocations: 22.55 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.6081, allocations: 188.3 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.6081, allocations: 11.73 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.6082, allocations: 20.48 kB / 0.8576 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.6087, allocations: 193.4 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.6087, allocations: 0.8125 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.6087, allocations: 7.359 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.6087, allocations: 4.875 kB / 0.8578 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.6091, allocations: 146.2 kB / 0.8579 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008647/0.61, allocations: 478.4 kB / 0.8583 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/0.6105, allocations: 174.4 kB / 0.8585 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.6107, allocations: 95.77 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.6107, allocations: 4.562 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.6111, allocations: 227.6 kB / 0.8588 GB, free: 20.62 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.6111, allocations: 0.5625 kB / 0.8588 GB, free: 20.62 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00153/0.6126, allocations: 0.6995 MB / 0.8595 GB, free: 20.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.6127, allocations: 144.2 kB / 0.8596 GB, free: 20.11 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.6129, allocations: 209.4 kB / 0.8598 GB, free: 20 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.6129, allocations: 36.12 kB / 0.8599 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.613, allocations: 136.7 kB / 0.86 GB, free: 19.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.6131, allocations: 73.03 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.73e-05/0.6132, allocations: 50.02 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6133, allocations: 336.9 kB / 0.8605 GB, free: 19.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.6135, allocations: 144.1 kB / 0.8606 GB, free: 19.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.6138, allocations: 226.9 kB / 0.8608 GB, free: 19.26 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.6142, allocations: 284.4 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6142, allocations: 0.5 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005899/0.6148, allocations: 388.6 kB / 0.8614 GB, free: 18.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.6149, allocations: 59.67 kB / 0.8615 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.6149, allocations: 10.84 kB / 0.8615 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.6149, allocations: 4.312 kB / 0.8615 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.6151, allocations: 51.94 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.6151, allocations: 3.656 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.6153, allocations: 20.84 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.6153, allocations: 10.69 kB / 0.8616 GB, free: 18.84 MB / 490.8 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.0002208/0.6156, allocations: 179.7 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.6156, allocations: 22.45 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.67e-05/0.6157, allocations: 27.73 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6157, allocations: 8.188 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6157, allocations: 0.625 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6157, allocations: 1.812 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.6165, allocations: 0.54 MB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6165, allocations: 0 / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.6167, allocations: 42.17 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6167, allocations: 1.5 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.6167, allocations: 1.938 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.6167, allocations: 10 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6167, allocations: 0 / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.6176, allocations: 0.4907 MB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.6176, allocations: 20.64 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.6177, allocations: 9.25 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.6178, allocations: 14.7 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.618, allocations: 21.59 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.618, allocations: 10.97 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001703/0.6181, allocations: 159.7 kB / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6181, allocations: 0 / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003429/0.6185, allocations: 55.78 kB / 0.8632 GB, free: 18.01 MB / 490.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.0002071/0.6187, allocations: 114.3 kB / 0.8633 GB, free: 17.92 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007756/0.6195, allocations: 382.7 kB / 0.8636 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6195, allocations: 0.625 kB / 0.8636 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.6198, allocations: 170.4 kB / 0.8638 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.6203, allocations: 70.22 kB / 0.8639 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.622, allocations: 0.6854 MB / 0.8645 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.6222, allocations: 126.8 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.6223, allocations: 26.56 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.6224, allocations: 23.2 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of SimCode: time 7.52e-07/0.6224, allocations: 0 / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of Templates: time 0.01031/0.6327, allocations: 3.627 MB / 0.8683 GB, free: 16.87 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.905497259926051]