Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_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.0018/0.0018, allocations: 105.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.001972/0.001972, allocations: 218.4 kB / 22.25 MB, free: 3.574 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.822/1.822, allocations: 230.6 MB / 256 MB, free: 9.645 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.504/1.504, allocations: 316.7 MB / 0.6144 GB, free: 93.01 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.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference") [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.004049/0.004049, allocations: 69.55 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1875, allocations: 73.99 MB / 0.8472 GB, free: 4.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference): time 0.004543/0.192, allocations: 2.307 MB / 0.8495 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.402/0.594, allocations: 6.519 MB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.5942, allocations: 1.703 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.5944, allocations: 32.33 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.5947, allocations: 80.3 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.5949, allocations: 52.45 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.5952, allocations: 255.9 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.5954, allocations: 40.25 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.5955, allocations: 98.33 kB / 0.8564 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.5957, allocations: 96.42 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.5958, allocations: 19.31 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.5958, allocations: 15.47 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.5959, allocations: 42.75 kB / 0.8566 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.596, allocations: 88.09 kB / 0.8566 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.5962, allocations: 199.1 kB / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5962, allocations: 2.906 kB / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5962, allocations: 0 / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.5963, allocations: 0 / 0.8568 GB, free: 21.84 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.0008738/0.5971, allocations: 497.7 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.5972, allocations: 9.781 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/0.5972, allocations: 26.11 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.5975, allocations: 183.8 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.5975, allocations: 11.02 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.5976, allocations: 20.64 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.598, allocations: 193.9 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.598, allocations: 1.594 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.5981, allocations: 8.594 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5981, allocations: 2.375 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.5984, allocations: 147.9 kB / 0.8579 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.5993, allocations: 480.3 kB / 0.8583 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.5999, allocations: 177.2 kB / 0.8585 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.6001, allocations: 94.67 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.6001, allocations: 4.375 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003868/0.6005, allocations: 225.5 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.985e-06/0.6005, allocations: 2.625 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0016/0.6021, allocations: 0.7076 MB / 0.8595 GB, free: 20.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.6021, allocations: 136.9 kB / 0.8596 GB, free: 20.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.6024, allocations: 210.2 kB / 0.8598 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.6024, allocations: 32.42 kB / 0.8599 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.6025, allocations: 136.9 kB / 0.86 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.6025, allocations: 73.84 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.213e-05/0.6026, allocations: 51.2 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.6027, allocations: 343 kB / 0.8605 GB, free: 19.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.6029, allocations: 144.4 kB / 0.8606 GB, free: 19.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.6032, allocations: 221 kB / 0.8608 GB, free: 19.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.6036, allocations: 280.8 kB / 0.8611 GB, free: 19.08 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6036, allocations: 2.156 kB / 0.8611 GB, free: 19.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005658/0.6042, allocations: 384 kB / 0.8614 GB, free: 18.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.6042, allocations: 69.33 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.6042, allocations: 6.156 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.6043, allocations: 4.281 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.6045, allocations: 47.56 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6045, allocations: 8.531 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.6047, allocations: 19.84 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.6047, allocations: 12.69 kB / 0.8616 GB, free: 18.83 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.0001824/0.6049, allocations: 180.3 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.6049, allocations: 21.14 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.605, allocations: 29.81 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.605, allocations: 5.031 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.605, allocations: 0 / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.605, allocations: 1.938 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/0.6057, allocations: 0.5382 MB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6057, allocations: 3.938 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.6059, allocations: 34.33 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6059, allocations: 0.5 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.6059, allocations: 8.062 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6059, allocations: 8.375 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6059, allocations: 5.656 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.6066, allocations: 0.4933 MB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.453e-05/0.6066, allocations: 23.62 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.6067, allocations: 6.969 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.6068, allocations: 14.42 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.6069, allocations: 23.64 kB / 0.863 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.6069, allocations: 5.656 kB / 0.863 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001221/0.607, allocations: 162.4 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.607, allocations: 0.625 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002844/0.6073, allocations: 53.16 kB / 0.8632 GB, free: 18 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.0001298/0.6075, allocations: 114.5 kB / 0.8633 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.608, allocations: 380.2 kB / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.608, allocations: 0.625 kB / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.6083, allocations: 173.5 kB / 0.8638 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.6088, allocations: 71.5 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.001319/0.6101, allocations: 0.6818 MB / 0.8645 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.6102, allocations: 123.8 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.6104, allocations: 24.73 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.6104, allocations: 20.83 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.6104, allocations: 0 / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of Templates: time 0.009177/0.6196, allocations: 3.658 MB / 0.8683 GB, free: 16.86 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin_Norbury1983_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.917898433981463]