Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.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.0007485/0.0007485, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001754, 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.0007746/0.0007746, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.001916, 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0897/1.095, 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.737/0.737, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03171/0.7687, allocations: 21.05 MB / 0.5432 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_Michiels1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.412e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference): time 0.002328/0.002352, allocations: 2.487 MB / 0.547 GB, free: 28.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004125/0.006477, allocations: 6.692 MB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.006561, allocations: 0 / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.892e-05/0.00662, allocations: 27.66 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.006751, allocations: 83.33 kB / 0.5536 GB, free: 21.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.00687, allocations: 59.86 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.00704, allocations: 270.5 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.007141, allocations: 34.48 kB / 0.554 GB, free: 20.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.007293, allocations: 172.3 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.007429, allocations: 87.72 kB / 0.5542 GB, free: 20.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.007452, allocations: 16 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.007472, allocations: 19.94 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.007494, allocations: 27.88 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.007547, allocations: 67.86 kB / 0.5543 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.007687, allocations: 135.5 kB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.007696, allocations: 4 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007697, allocations: 0 / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.007706, allocations: 0 / 0.5545 GB, free: 20.38 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.0004788/0.008185, allocations: 0.5014 MB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.008213, allocations: 15.89 kB / 0.555 GB, free: 19.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.008251, allocations: 16.92 kB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.008375, allocations: 183.1 kB / 0.5552 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.008389, allocations: 8.609 kB / 0.5552 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.008411, allocations: 16.38 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.008546, allocations: 159.4 kB / 0.5553 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.008556, allocations: 7.938 kB / 0.5553 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.008566, allocations: 4 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.00857, allocations: 7.938 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.694e-05/0.008637, allocations: 76.7 kB / 0.5554 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.008971, allocations: 361 kB / 0.5558 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.009115, allocations: 112.2 kB / 0.5559 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.009148, allocations: 62.48 kB / 0.5559 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.009155, allocations: 7.984 kB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.009277, allocations: 191.2 kB / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.009279, allocations: 0 / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004727/0.009751, allocations: 0.5093 MB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.009777, allocations: 166.2 kB / 0.5568 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.009856, allocations: 210.1 kB / 0.557 GB, free: 17.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.009867, allocations: 29.7 kB / 0.557 GB, free: 17.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.009895, allocations: 116.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.009929, allocations: 71.41 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.009974, allocations: 59.12 kB / 0.5573 GB, free: 17.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.595e-05/0.01001, allocations: 334.8 kB / 0.5576 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.01006, allocations: 96.94 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.01012, allocations: 179.7 kB / 0.5578 GB, free: 16.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.942e-05/0.01021, allocations: 218.2 kB / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01022, allocations: 0 / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001368/0.01035, allocations: 263.5 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.01038, allocations: 63.44 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01038, allocations: 3.938 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.01039, allocations: 4 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.01054, allocations: 69.86 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01055, allocations: 4 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.01062, allocations: 15.98 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.01063, allocations: 11.94 kB / 0.5585 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 9.018e-05/0.01072, allocations: 179.6 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.01074, allocations: 19.98 kB / 0.5587 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.01077, allocations: 25.95 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01077, allocations: 0 / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.01077, allocations: 0 / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.01079, allocations: 11.91 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.0108, allocations: 15.92 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.01082, allocations: 4 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.01087, allocations: 15.98 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.01091, allocations: 19.97 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000172/0.01109, allocations: 274.9 kB / 0.559 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000171/0.01126, allocations: 415.8 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.256/0.2673, allocations: 79.81 kB / 0.5595 GB, free: 79.53 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2674, allocations: 61.36 kB / 0.5595 GB, free: 79.52 MB / 410.8 MB Notification: Performance of Backend: time 4.5e-07/0.2674, allocations: 0 / 0.5595 GB, free: 79.52 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.2678, allocations: 342.6 kB / 0.5599 GB, free: 79.29 MB / 410.8 MB Notification: Performance of SimCode: time 0.007462/0.2753, allocations: 1.122 MB / 0.561 GB, free: 78.47 MB / 410.8 MB Notification: Performance of Templates: time 0.009794/0.2851, allocations: 3.862 MB / 0.5647 GB, free: 78.35 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6935574924573302]