Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine.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.0008862/0.0008862, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0008555/0.0008555, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9904/0.9904, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.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.694/0.694, allocations: 291.2 MB / 0.5382 GB, free: 51.88 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.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 0.6974 GB, free: 10.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.112e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.29 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine): time 0.00245/0.002471, allocations: 3.019 MB / 0.7003 GB, free: 7.25 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.007199, allocations: 6.65 MB / 0.7068 GB, free: 0.5898 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.007355, allocations: 0 / 0.7068 GB, free: 0.5898 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.007508, allocations: 47.56 kB / 0.7069 GB, free: 0.543 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.007783, allocations: 131 kB / 0.707 GB, free: 424 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.008068, allocations: 91.7 kB / 0.7071 GB, free: 332 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.008432, allocations: 425.9 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.008619, allocations: 65.41 kB / 0.7076 GB, free: 15.84 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.00889, allocations: 223.5 kB / 0.7078 GB, free: 15.62 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.00916, allocations: 123.6 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.009204, allocations: 32 kB / 0.7079 GB, free: 15.47 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.009244, allocations: 32 kB / 0.7079 GB, free: 15.44 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.009291, allocations: 63.7 kB / 0.708 GB, free: 15.38 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.009401, allocations: 127.7 kB / 0.7081 GB, free: 15.25 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.009739, allocations: 366.9 kB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.009742, allocations: 0 / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.413e-06/0.009743, allocations: 0 / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.009749, allocations: 0 / 0.7085 GB, free: 14.89 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009017/0.01065, allocations: 0.6076 MB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.0107, allocations: 8.031 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.01077, allocations: 40.64 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.01102, allocations: 228.7 kB / 0.7093 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.01104, allocations: 12.88 kB / 0.7093 GB, free: 13.93 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.0111, allocations: 28.33 kB / 0.7094 GB, free: 13.91 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.01147, allocations: 302.2 kB / 0.7097 GB, free: 13.58 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.0115, allocations: 4 kB / 0.7097 GB, free: 13.58 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.01152, allocations: 11.98 kB / 0.7097 GB, free: 13.57 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.01154, allocations: 11.94 kB / 0.7097 GB, free: 13.55 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.01183, allocations: 240.5 kB / 0.7099 GB, free: 13.31 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/0.01265, allocations: 0.6504 MB / 0.7106 GB, free: 12.62 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.0132, allocations: 272.3 kB / 0.7108 GB, free: 12.34 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.01337, allocations: 160.4 kB / 0.711 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.01338, allocations: 0 / 0.711 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/0.01374, allocations: 375.4 kB / 0.7113 GB, free: 11.75 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.01374, allocations: 3.938 kB / 0.7113 GB, free: 11.74 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001464/0.0152, allocations: 1.131 MB / 0.7124 GB, free: 10.52 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.01531, allocations: 225.6 kB / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.01552, allocations: 249.9 kB / 0.7129 GB, free: 9.996 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.01555, allocations: 37.7 kB / 0.7129 GB, free: 9.953 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.01564, allocations: 156.8 kB / 0.7131 GB, free: 9.793 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.0157, allocations: 119 kB / 0.7132 GB, free: 9.676 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.01579, allocations: 74.19 kB / 0.7133 GB, free: 9.598 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.0159, allocations: 342.8 kB / 0.7136 GB, free: 9.254 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.01613, allocations: 223.8 kB / 0.7138 GB, free: 9.016 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.01641, allocations: 334.8 kB / 0.7141 GB, free: 8.621 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.01694, allocations: 458.2 kB / 0.7146 GB, free: 8.105 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01695, allocations: 0 / 0.7146 GB, free: 8.105 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006859/0.01763, allocations: 0.5768 MB / 0.7151 GB, free: 7.484 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/0.0177, allocations: 89.45 kB / 0.7152 GB, free: 7.379 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.01771, allocations: 8 kB / 0.7152 GB, free: 7.371 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.01773, allocations: 7.984 kB / 0.7152 GB, free: 7.363 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.01792, allocations: 79.83 kB / 0.7153 GB, free: 7.285 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.01794, allocations: 7.984 kB / 0.7153 GB, free: 7.277 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.01807, allocations: 23.98 kB / 0.7153 GB, free: 7.254 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.01809, allocations: 16 kB / 0.7153 GB, free: 7.238 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0002729/0.01837, allocations: 239.6 kB / 0.7156 GB, free: 6.984 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.01841, allocations: 31.81 kB / 0.7156 GB, free: 6.953 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.01846, allocations: 34.97 kB / 0.7156 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01846, allocations: 4 kB / 0.7156 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.01847, allocations: 3.984 kB / 0.7156 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.01848, allocations: 0 / 0.7156 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009288/0.01941, allocations: 0.8134 MB / 0.7164 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01941, allocations: 4 kB / 0.7164 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.01958, allocations: 59.95 kB / 0.7165 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.01959, allocations: 4 kB / 0.7165 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.01961, allocations: 8 kB / 0.7165 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01961, allocations: 4 kB / 0.7165 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01962, allocations: 0 / 0.7165 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.02037, allocations: 0.7716 MB / 0.7173 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.02045, allocations: 55.78 kB / 0.7173 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.02049, allocations: 19.98 kB / 0.7173 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.02059, allocations: 19.98 kB / 0.7174 GB, free: 5.043 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.02066, allocations: 23.95 kB / 0.7174 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.02068, allocations: 15.94 kB / 0.7174 GB, free: 5.004 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001246/0.0208, allocations: 189.2 kB / 0.7176 GB, free: 4.82 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.0208, allocations: 0 / 0.7176 GB, free: 4.82 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002265/0.02103, allocations: 87.94 kB / 0.7177 GB, free: 4.734 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.0001223/0.02115, allocations: 126.7 kB / 0.7178 GB, free: 4.605 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000507/0.02166, allocations: 0.592 MB / 0.7184 GB, free: 3.945 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02166, allocations: 4 kB / 0.7184 GB, free: 3.941 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.02193, allocations: 310.1 kB / 0.7187 GB, free: 3.602 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.02227, allocations: 88.64 kB / 0.7187 GB, free: 3.516 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.02337, allocations: 0.8907 MB / 0.7196 GB, free: 2.582 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.913e-05/0.02347, allocations: 164.2 kB / 0.7198 GB, free: 2.398 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.02354, allocations: 36.48 kB / 0.7198 GB, free: 2.363 MB / 426.8 MB Notification: Performance of SimCode: time 5.11e-07/0.02354, allocations: 0 / 0.7198 GB, free: 2.363 MB / 426.8 MB Notification: Performance of Templates: time 0.2159/0.2394, allocations: 4.365 MB / 0.7241 GB, free: 36.22 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF09_Emtricitabine.Emtricitabine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.873952376656234]