Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_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.002626/0.002626, allocations: 101.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.002412/0.002412, allocations: 218.4 kB / 22.25 MB, free: 3.562 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.766/1.766, 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.514/1.514, allocations: 316.7 MB / 0.6144 GB, free: 93.06 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.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_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.004603/0.004603, allocations: 81.19 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1652, allocations: 73.98 MB / 0.8472 GB, free: 4.934 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference): time 0.004504/0.1697, allocations: 2.311 MB / 0.8495 GB, free: 2.625 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3466/0.5163, allocations: 6.52 MB / 0.8558 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.5165, allocations: 0.9375 kB / 0.8558 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.5166, allocations: 27.39 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.5169, allocations: 81.44 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.5171, allocations: 55.2 kB / 0.856 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.5174, allocations: 259.6 kB / 0.8562 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.5175, allocations: 36.34 kB / 0.8563 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.5177, allocations: 102.3 kB / 0.8564 GB, free: 22 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.5179, allocations: 97.23 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.5179, allocations: 15.38 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.518, allocations: 18.66 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.518, allocations: 37.56 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.5181, allocations: 88.89 kB / 0.8566 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.5183, allocations: 199.8 kB / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5183, allocations: 0 / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5183, allocations: 0.6875 kB / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.5183, allocations: 0 / 0.8568 GB, free: 21.91 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.0008142/0.5191, allocations: 499.6 kB / 0.8573 GB, free: 21.51 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5192, allocations: 9.406 kB / 0.8573 GB, free: 21.51 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.5192, allocations: 25.17 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.5194, allocations: 191.2 kB / 0.8575 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.5195, allocations: 10.64 kB / 0.8575 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.5195, allocations: 20.98 kB / 0.8575 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.5199, allocations: 186.8 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5199, allocations: 2.094 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.5199, allocations: 7.703 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.5199, allocations: 3.125 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.5202, allocations: 147.8 kB / 0.8579 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.5209, allocations: 483.5 kB / 0.8583 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.5214, allocations: 174 kB / 0.8585 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.5216, allocations: 93.33 kB / 0.8586 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.5216, allocations: 2.938 kB / 0.8586 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.5219, allocations: 234.3 kB / 0.8588 GB, free: 20.68 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.5219, allocations: 0 / 0.8588 GB, free: 20.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001342/0.5233, allocations: 0.703 MB / 0.8595 GB, free: 20.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.5233, allocations: 134.3 kB / 0.8596 GB, free: 20.16 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.5235, allocations: 214.3 kB / 0.8598 GB, free: 20.06 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.5235, allocations: 36.58 kB / 0.8599 GB, free: 20.03 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.5236, allocations: 131.8 kB / 0.86 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.5236, allocations: 71.78 kB / 0.8601 GB, free: 19.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.5237, allocations: 58.06 kB / 0.8601 GB, free: 19.87 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.954e-05/0.5238, allocations: 336.9 kB / 0.8604 GB, free: 19.55 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.524, allocations: 140.5 kB / 0.8606 GB, free: 19.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.5242, allocations: 225.2 kB / 0.8608 GB, free: 19.31 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.5246, allocations: 281.2 kB / 0.8611 GB, free: 19.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5246, allocations: 4.562 kB / 0.8611 GB, free: 19.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000523/0.5251, allocations: 387.8 kB / 0.8614 GB, free: 18.97 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.5252, allocations: 60.03 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.5252, allocations: 7.094 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.5252, allocations: 4.141 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.5254, allocations: 56.23 kB / 0.8616 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.5254, allocations: 4.594 kB / 0.8616 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.5256, allocations: 16.33 kB / 0.8616 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.5256, allocations: 12.19 kB / 0.8616 GB, free: 18.9 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.0001757/0.5258, allocations: 174.9 kB / 0.8617 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.5259, allocations: 26.44 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.5259, allocations: 26.17 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5259, allocations: 3 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.5259, allocations: 0.75 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5259, allocations: 6.453 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.5267, allocations: 0.5406 MB / 0.8623 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5267, allocations: 3.844 kB / 0.8623 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.5268, allocations: 39.48 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5268, allocations: 1.641 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.5269, allocations: 6.031 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5269, allocations: 4.625 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5269, allocations: 9.656 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.5276, allocations: 499.4 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.5276, allocations: 19.98 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.5277, allocations: 6.469 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5278, allocations: 17.66 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.5279, allocations: 23.61 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.5279, allocations: 7.156 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001308/0.5281, allocations: 158 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5281, allocations: 5.219 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003146/0.5284, allocations: 56.16 kB / 0.8632 GB, free: 18.07 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.0001198/0.5285, allocations: 112.8 kB / 0.8633 GB, free: 17.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.529, allocations: 383 kB / 0.8636 GB, free: 17.74 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.529, allocations: 0 / 0.8636 GB, free: 17.74 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.5293, allocations: 177.8 kB / 0.8638 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.5298, allocations: 69.58 kB / 0.8639 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5311, allocations: 0.6796 MB / 0.8645 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.5312, allocations: 124.2 kB / 0.8646 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.5313, allocations: 24.17 kB / 0.8647 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.5314, allocations: 21.17 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of SimCode: time 8.81e-07/0.5314, allocations: 0 / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of Templates: time 0.009194/0.5406, allocations: 3.653 MB / 0.8683 GB, free: 16.92 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir_Barcel2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.750132503919303]