Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir.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.0009933/0.0009933, allocations: 92.42 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.001052/0.001052, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.003/1.003, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.704/0.704, allocations: 291.1 MB / 0.5382 GB, free: 51.86 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.J05AX27_Favipiravir.Favipiravir,tolerance=1e-09,outputFormat="empty",numberOfIntervals=169200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir,tolerance=1e-09,outputFormat="empty",numberOfIntervals=169200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.43e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir): time 0.002559/0.002583, allocations: 3.023 MB / 0.7003 GB, free: 7.277 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.006709, allocations: 6.639 MB / 0.7068 GB, free: 0.6289 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.00688, allocations: 4 kB / 0.7068 GB, free: 0.625 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.007019, allocations: 43.56 kB / 0.7069 GB, free: 0.582 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.007251, allocations: 134.9 kB / 0.707 GB, free: 460 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.007487, allocations: 91.77 kB / 0.7071 GB, free: 368 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.00776, allocations: 425.9 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.007918, allocations: 62.06 kB / 0.7075 GB, free: 15.88 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.008118, allocations: 231.5 kB / 0.7078 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.008325, allocations: 123.6 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.008364, allocations: 32 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.494e-05/0.008399, allocations: 32 kB / 0.7079 GB, free: 15.47 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.008443, allocations: 71.62 kB / 0.708 GB, free: 15.4 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.008544, allocations: 127.7 kB / 0.7081 GB, free: 15.28 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.00884, allocations: 359 kB / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.008844, allocations: 0 / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.944e-06/0.008846, allocations: 0 / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.008851, allocations: 0 / 0.7085 GB, free: 14.93 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.0009058/0.009756, allocations: 0.6037 MB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.009797, allocations: 12.03 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.009859, allocations: 36.7 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.0101, allocations: 220.7 kB / 0.7093 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.01012, allocations: 20.88 kB / 0.7093 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.01016, allocations: 28.33 kB / 0.7094 GB, free: 13.94 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.01051, allocations: 306.2 kB / 0.7097 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.01052, allocations: 3.938 kB / 0.7097 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.01054, allocations: 12 kB / 0.7097 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.01055, allocations: 4 kB / 0.7097 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.01084, allocations: 248.5 kB / 0.7099 GB, free: 13.34 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.0116, allocations: 0.6504 MB / 0.7105 GB, free: 12.65 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.01202, allocations: 274 kB / 0.7108 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.01218, allocations: 156.4 kB / 0.711 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.01219, allocations: 7.938 kB / 0.711 GB, free: 12.19 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003246/0.01252, allocations: 367.4 kB / 0.7113 GB, free: 11.78 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.01252, allocations: 0 / 0.7113 GB, free: 11.78 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001581/0.0141, allocations: 1.143 MB / 0.7124 GB, free: 10.54 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.01417, allocations: 217.6 kB / 0.7126 GB, free: 10.28 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.01436, allocations: 249.9 kB / 0.7129 GB, free: 10.03 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.01438, allocations: 37.7 kB / 0.7129 GB, free: 9.984 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.01446, allocations: 156.8 kB / 0.7131 GB, free: 9.824 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.01452, allocations: 119 kB / 0.7132 GB, free: 9.707 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.01459, allocations: 74.19 kB / 0.7132 GB, free: 9.629 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.01468, allocations: 346.8 kB / 0.7136 GB, free: 9.281 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.01489, allocations: 227.8 kB / 0.7138 GB, free: 9.039 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.01512, allocations: 330.8 kB / 0.7141 GB, free: 8.648 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.01549, allocations: 450.2 kB / 0.7145 GB, free: 8.141 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01549, allocations: 4 kB / 0.7145 GB, free: 8.137 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005221/0.01601, allocations: 0.5808 MB / 0.7151 GB, free: 7.512 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.01606, allocations: 86.05 kB / 0.7152 GB, free: 7.41 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01607, allocations: 4 kB / 0.7152 GB, free: 7.406 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.01608, allocations: 7.938 kB / 0.7152 GB, free: 7.398 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.01626, allocations: 83.88 kB / 0.7153 GB, free: 7.316 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.01627, allocations: 11.98 kB / 0.7153 GB, free: 7.305 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.01638, allocations: 20.27 kB / 0.7153 GB, free: 7.285 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.0164, allocations: 24 kB / 0.7153 GB, free: 7.262 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.0002032/0.0166, allocations: 228.2 kB / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.01664, allocations: 35.8 kB / 0.7156 GB, free: 6.984 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.01668, allocations: 26.97 kB / 0.7156 GB, free: 6.957 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01668, allocations: 4 kB / 0.7156 GB, free: 6.953 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.01669, allocations: 0 / 0.7156 GB, free: 6.953 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01669, allocations: 7.984 kB / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007538/0.01745, allocations: 0.8173 MB / 0.7164 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01745, allocations: 3.938 kB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.01761, allocations: 55.95 kB / 0.7165 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01761, allocations: 0 / 0.7165 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.01763, allocations: 12 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.01763, allocations: 8 kB / 0.7165 GB, free: 5.992 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01764, allocations: 3.938 kB / 0.7165 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.01829, allocations: 0.7717 MB / 0.7173 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.01837, allocations: 51.78 kB / 0.7173 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.01841, allocations: 19.98 kB / 0.7173 GB, free: 5.094 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.01851, allocations: 11.98 kB / 0.7173 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.01859, allocations: 31.95 kB / 0.7174 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.0186, allocations: 15.94 kB / 0.7174 GB, free: 5.035 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001177/0.01872, allocations: 185.1 kB / 0.7176 GB, free: 4.855 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01872, allocations: 4 kB / 0.7176 GB, free: 4.852 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002352/0.01896, allocations: 92 kB / 0.7177 GB, free: 4.762 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.0001313/0.01909, allocations: 132.8 kB / 0.7178 GB, free: 4.629 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004986/0.01959, allocations: 0.5881 MB / 0.7184 GB, free: 3.973 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01959, allocations: 0.6875 kB / 0.7184 GB, free: 3.973 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.02007, allocations: 314.1 kB / 0.7187 GB, free: 3.629 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.02043, allocations: 93.16 kB / 0.7187 GB, free: 3.539 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.02148, allocations: 0.8907 MB / 0.7196 GB, free: 2.605 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.763e-05/0.02158, allocations: 164.2 kB / 0.7198 GB, free: 2.422 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.02165, allocations: 32.48 kB / 0.7198 GB, free: 2.391 MB / 426.8 MB Notification: Performance of SimCode: time 6.82e-07/0.02165, allocations: 0 / 0.7198 GB, free: 2.391 MB / 426.8 MB Notification: Performance of Templates: time 0.1774/0.199, allocations: 4.368 MB / 0.7241 GB, free: 36.21 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AX27_Favipiravir.Favipiravir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.742297613993287]