Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir.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.002003/0.002003, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002459/0.002459, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.739/1.739, allocations: 230.6 MB / 256 MB, free: 9.59 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.525/1.525, allocations: 316.7 MB / 0.6144 GB, free: 93.55 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir") [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.003837/0.003837, allocations: 77.69 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1978, allocations: 73.99 MB / 0.8472 GB, free: 5.125 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir): time 0.004285/0.2021, allocations: 2.319 MB / 0.8495 GB, free: 2.809 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3239/0.526, allocations: 6.525 MB / 0.8559 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.5262, allocations: 2.125 kB / 0.8559 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.5264, allocations: 28.06 kB / 0.8559 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.5266, allocations: 81.05 kB / 0.856 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.5269, allocations: 56 kB / 0.856 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.5272, allocations: 257.5 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.5273, allocations: 35.11 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.5274, allocations: 101.8 kB / 0.8564 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.5276, allocations: 97.64 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.5277, allocations: 15.91 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.5277, allocations: 18.88 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.5278, allocations: 36.14 kB / 0.8566 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.5279, allocations: 93.11 kB / 0.8567 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.5281, allocations: 201.3 kB / 0.8569 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5281, allocations: 0 / 0.8569 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5281, allocations: 0 / 0.8569 GB, free: 21.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.5281, allocations: 0 / 0.8569 GB, free: 21.52 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.0008206/0.5289, allocations: 496.9 kB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.529, allocations: 10.91 kB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.529, allocations: 24.55 kB / 0.8574 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.5292, allocations: 191.5 kB / 0.8576 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.5293, allocations: 8.453 kB / 0.8576 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.5293, allocations: 22.05 kB / 0.8576 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.5296, allocations: 186.2 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5297, allocations: 3.906 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.5297, allocations: 2.938 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5297, allocations: 2.531 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.53, allocations: 150.9 kB / 0.8579 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.5307, allocations: 482.2 kB / 0.8584 GB, free: 20.53 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.5312, allocations: 176.1 kB / 0.8585 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.5313, allocations: 95.48 kB / 0.8586 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.5313, allocations: 4.219 kB / 0.8586 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.5316, allocations: 229.1 kB / 0.8589 GB, free: 20.29 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.5316, allocations: 4.438 kB / 0.8589 GB, free: 20.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00131/0.5329, allocations: 0.6992 MB / 0.8595 GB, free: 19.93 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.533, allocations: 137 kB / 0.8597 GB, free: 19.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.5332, allocations: 220 kB / 0.8599 GB, free: 19.67 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.5332, allocations: 32.73 kB / 0.8599 GB, free: 19.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.5333, allocations: 130.5 kB / 0.86 GB, free: 19.54 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.5333, allocations: 72.77 kB / 0.8601 GB, free: 19.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.5334, allocations: 56.59 kB / 0.8602 GB, free: 19.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.5334, allocations: 335 kB / 0.8605 GB, free: 19.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.5336, allocations: 147.8 kB / 0.8606 GB, free: 19.09 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.5339, allocations: 221.6 kB / 0.8608 GB, free: 18.92 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.5342, allocations: 282.8 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5342, allocations: 0.625 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005333/0.5348, allocations: 388.7 kB / 0.8615 GB, free: 18.58 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.5348, allocations: 62.53 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.5348, allocations: 5.312 kB / 0.8615 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.5348, allocations: 5.094 kB / 0.8615 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.535, allocations: 52.09 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.535, allocations: 9.344 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.5352, allocations: 19.48 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.5352, allocations: 9.688 kB / 0.8616 GB, free: 18.5 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.0001583/0.5354, allocations: 179.2 kB / 0.8618 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.5354, allocations: 25.89 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.5355, allocations: 31.92 kB / 0.8619 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5355, allocations: 1.938 kB / 0.8619 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5355, allocations: 0.6562 kB / 0.8619 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5355, allocations: 0.7031 kB / 0.8619 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.5361, allocations: 0.5409 MB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5361, allocations: 0 / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.5363, allocations: 38.12 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.5363, allocations: 4.562 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.5363, allocations: 8.969 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5363, allocations: 7.594 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5363, allocations: 0 / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.537, allocations: 498 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.537, allocations: 21.59 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.537, allocations: 6.703 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5372, allocations: 15.36 kB / 0.863 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.5373, allocations: 28.5 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.5373, allocations: 4.531 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001127/0.5374, allocations: 162.4 kB / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5374, allocations: 0 / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002917/0.5377, allocations: 53.81 kB / 0.8632 GB, free: 17.68 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.0001014/0.5378, allocations: 111.7 kB / 0.8633 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.5383, allocations: 384.9 kB / 0.8637 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5383, allocations: 5.375 kB / 0.8637 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.5386, allocations: 172.6 kB / 0.8638 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.539, allocations: 70.5 kB / 0.8639 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.5402, allocations: 0.6742 MB / 0.8646 GB, free: 16.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.5403, allocations: 127.6 kB / 0.8647 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.5404, allocations: 25.81 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.5405, allocations: 23.39 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of SimCode: time 5.71e-07/0.5405, allocations: 5.094 kB / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of Templates: time 0.008333/0.5488, allocations: 3.645 MB / 0.8683 GB, free: 16.53 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.914263349026442]