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.002612/0.002612, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.003168/0.003168, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.646/1.646, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.44/1.44, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.09e-05, allocations: 11.62 kB / 0.6999 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AJ02_Elvitegravir.Elvitegravir): time 0.002899/0.00293, allocations: 2.322 MB / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005776/0.008706, allocations: 6.53 MB / 0.7085 GB, free: 15.65 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.008894, allocations: 7.938 kB / 0.7085 GB, free: 15.64 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.009037, allocations: 19.78 kB / 0.7086 GB, free: 15.62 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.009325, allocations: 87.27 kB / 0.7086 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.009717, allocations: 59.86 kB / 0.7087 GB, free: 15.48 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.01008, allocations: 262.6 kB / 0.709 GB, free: 15.22 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.01023, allocations: 40.5 kB / 0.709 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.01047, allocations: 139.6 kB / 0.7091 GB, free: 15.05 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.0107, allocations: 83.77 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.01074, allocations: 16 kB / 0.7092 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.207e-05/0.01078, allocations: 20 kB / 0.7092 GB, free: 14.93 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.01083, allocations: 39.78 kB / 0.7093 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.01095, allocations: 75.83 kB / 0.7094 GB, free: 14.82 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.01127, allocations: 204.6 kB / 0.7095 GB, free: 14.62 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01128, allocations: 7.938 kB / 0.7096 GB, free: 14.61 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.374e-06/0.01128, allocations: 7.938 kB / 0.7096 GB, free: 14.6 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.01128, allocations: 0 / 0.7096 GB, free: 14.6 MB / 426.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.001025/0.01231, allocations: 488.8 kB / 0.71 GB, free: 14.08 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.01235, allocations: 12.03 kB / 0.71 GB, free: 14.07 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.01242, allocations: 24.78 kB / 0.7101 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.01271, allocations: 182.4 kB / 0.7102 GB, free: 13.84 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.01273, allocations: 8.594 kB / 0.7102 GB, free: 13.83 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.01277, allocations: 16.38 kB / 0.7103 GB, free: 13.81 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.0132, allocations: 198.5 kB / 0.7105 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.01322, allocations: 3.953 kB / 0.7105 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.01324, allocations: 7.984 kB / 0.7105 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.01324, allocations: 4 kB / 0.7105 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.01364, allocations: 150.2 kB / 0.7106 GB, free: 13.44 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009199/0.01456, allocations: 481.5 kB / 0.7111 GB, free: 12.93 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005591/0.01512, allocations: 172.2 kB / 0.7112 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.01534, allocations: 94.66 kB / 0.7113 GB, free: 12.65 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.01535, allocations: 3.938 kB / 0.7113 GB, free: 12.64 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.01577, allocations: 235.6 kB / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.01578, allocations: 0 / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001933/0.01771, allocations: 0.6945 MB / 0.7122 GB, free: 11.63 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.01783, allocations: 144.5 kB / 0.7124 GB, free: 11.46 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.01811, allocations: 211 kB / 0.7126 GB, free: 11.24 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.01815, allocations: 33.7 kB / 0.7126 GB, free: 11.2 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.01826, allocations: 132.5 kB / 0.7127 GB, free: 11.07 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/0.01834, allocations: 79.38 kB / 0.7128 GB, free: 10.99 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01844, allocations: 53.7 kB / 0.7129 GB, free: 10.93 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.01863, allocations: 334.8 kB / 0.7132 GB, free: 10.6 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.01891, allocations: 145 kB / 0.7133 GB, free: 10.44 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.01927, allocations: 225.3 kB / 0.7135 GB, free: 10.17 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.01976, allocations: 280.8 kB / 0.7138 GB, free: 9.855 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01976, allocations: 4 kB / 0.7138 GB, free: 9.852 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007269/0.02049, allocations: 397.2 kB / 0.7142 GB, free: 9.438 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.139e-05/0.02055, allocations: 59.41 kB / 0.7142 GB, free: 9.367 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.02056, allocations: 4 kB / 0.7142 GB, free: 9.363 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.02058, allocations: 0 / 0.7142 GB, free: 9.363 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.02081, allocations: 55.84 kB / 0.7143 GB, free: 9.309 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.02082, allocations: 0 / 0.7143 GB, free: 9.309 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.02102, allocations: 19.98 kB / 0.7143 GB, free: 9.289 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.02105, allocations: 15.98 kB / 0.7143 GB, free: 9.273 MB / 426.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.0002493/0.0213, allocations: 176.3 kB / 0.7145 GB, free: 9.086 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.02134, allocations: 23.89 kB / 0.7145 GB, free: 9.062 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.02141, allocations: 21.97 kB / 0.7145 GB, free: 9.039 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.02141, allocations: 0 / 0.7145 GB, free: 9.039 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.02142, allocations: 3.938 kB / 0.7145 GB, free: 9.035 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.02143, allocations: 11.98 kB / 0.7146 GB, free: 9.023 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009658/0.0224, allocations: 0.5367 MB / 0.7151 GB, free: 8.438 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.0224, allocations: 0 / 0.7151 GB, free: 8.438 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.0226, allocations: 35.92 kB / 0.7151 GB, free: 8.402 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.02261, allocations: 4 kB / 0.7151 GB, free: 8.398 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.02263, allocations: 7.984 kB / 0.7151 GB, free: 8.391 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.02263, allocations: 4 kB / 0.7151 GB, free: 8.387 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.02263, allocations: 0 / 0.7151 GB, free: 8.387 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/0.02352, allocations: 0.4924 MB / 0.7156 GB, free: 7.863 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.02356, allocations: 15.86 kB / 0.7156 GB, free: 7.848 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.0236, allocations: 11.94 kB / 0.7156 GB, free: 7.836 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.02378, allocations: 16.03 kB / 0.7156 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.02389, allocations: 32.03 kB / 0.7157 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.02391, allocations: 4 kB / 0.7157 GB, free: 7.785 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001797/0.02409, allocations: 160.4 kB / 0.7158 GB, free: 7.629 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02409, allocations: 0 / 0.7158 GB, free: 7.629 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003096/0.02439, allocations: 55.98 kB / 0.7159 GB, free: 7.574 MB / 426.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.0001578/0.02455, allocations: 111.2 kB / 0.716 GB, free: 7.457 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006905/0.02524, allocations: 386.1 kB / 0.7164 GB, free: 7.039 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.02525, allocations: 0 / 0.7164 GB, free: 7.039 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.02554, allocations: 177 kB / 0.7165 GB, free: 6.848 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.02605, allocations: 72.27 kB / 0.7166 GB, free: 6.777 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.02733, allocations: 0.5663 MB / 0.7172 GB, free: 6.18 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.02747, allocations: 121.6 kB / 0.7173 GB, free: 6.039 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.02758, allocations: 29.92 kB / 0.7173 GB, free: 6.008 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.02764, allocations: 24.5 kB / 0.7173 GB, free: 5.984 MB / 426.8 MB Notification: Performance of SimCode: time 3.81e-07/0.02764, allocations: 0 / 0.7173 GB, free: 5.984 MB / 426.8 MB Notification: Performance of Templates: time 0.224/0.2516, allocations: 3.331 MB / 0.7206 GB, free: 37.01 MB / 426.8 MB " [Timeout remaining time 660] 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: 6.985829927958548]