Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_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.001966/0.001966, 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.00219/0.00219, allocations: 173.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.598/1.598, 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.358/1.358, allocations: 293 MB / 0.5392 GB, free: 49.25 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.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6999 GB, free: 8.531 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.994e-05, allocations: 2.281 kB / 0.7 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference): time 0.003978/0.004008, allocations: 2.7 MB / 0.7026 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007374/0.01138, allocations: 6.6 MB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.01159, allocations: 4 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.01179, allocations: 43.5 kB / 0.7091 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004518/0.01224, allocations: 134.9 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.01256, allocations: 63.89 kB / 0.7093 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.01323, allocations: 401.8 kB / 0.7097 GB, free: 14.56 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.01343, allocations: 52.89 kB / 0.7097 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.01381, allocations: 203.6 kB / 0.7099 GB, free: 14.32 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.01416, allocations: 123.5 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.01423, allocations: 24 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.0143, allocations: 24 kB / 0.7101 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.762e-05/0.01439, allocations: 59.7 kB / 0.7101 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.0146, allocations: 119.7 kB / 0.7102 GB, free: 13.97 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.01513, allocations: 291 kB / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01514, allocations: 0 / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01514, allocations: 0 / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.01515, allocations: 3.984 kB / 0.7105 GB, free: 13.68 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001485/0.01664, allocations: 0.5885 MB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.01668, allocations: 8.031 kB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.0168, allocations: 36.75 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.01724, allocations: 220.7 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.01728, allocations: 16.75 kB / 0.7114 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.01735, allocations: 28.36 kB / 0.7114 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.0181, allocations: 284.7 kB / 0.7117 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.01812, allocations: 3.953 kB / 0.7117 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.01816, allocations: 12 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.01817, allocations: 7.938 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007399/0.01891, allocations: 240.4 kB / 0.7119 GB, free: 12.14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.02065, allocations: 0.6717 MB / 0.7126 GB, free: 11.43 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008392/0.02149, allocations: 238 kB / 0.7128 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.02189, allocations: 148.5 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.02191, allocations: 4 kB / 0.7129 GB, free: 11.01 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007078/0.02262, allocations: 361.3 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.02262, allocations: 3.938 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002967/0.02559, allocations: 1.08 MB / 0.7143 GB, free: 9.438 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/0.02579, allocations: 213.6 kB / 0.7145 GB, free: 9.18 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.02619, allocations: 249.8 kB / 0.7148 GB, free: 8.93 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.02625, allocations: 33.7 kB / 0.7148 GB, free: 8.891 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.02642, allocations: 160.8 kB / 0.715 GB, free: 8.727 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.02659, allocations: 111.1 kB / 0.7151 GB, free: 8.617 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.02677, allocations: 74.19 kB / 0.7151 GB, free: 8.535 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.02702, allocations: 346.7 kB / 0.7155 GB, free: 8.188 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.02753, allocations: 211.9 kB / 0.7157 GB, free: 7.961 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.02814, allocations: 311.2 kB / 0.716 GB, free: 7.594 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009462/0.02908, allocations: 439 kB / 0.7164 GB, free: 7.098 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02909, allocations: 0 / 0.7164 GB, free: 7.098 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001324/0.03041, allocations: 0.5538 MB / 0.7169 GB, free: 6.5 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.03052, allocations: 92.39 kB / 0.717 GB, free: 6.395 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.03053, allocations: 4 kB / 0.717 GB, free: 6.391 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.03056, allocations: 7.984 kB / 0.717 GB, free: 6.383 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.03102, allocations: 83.77 kB / 0.7171 GB, free: 6.301 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.03103, allocations: 4 kB / 0.7171 GB, free: 6.297 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.03137, allocations: 19.98 kB / 0.7171 GB, free: 6.277 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.03141, allocations: 16 kB / 0.7171 GB, free: 6.262 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.00036/0.03177, allocations: 227.2 kB / 0.7174 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.03184, allocations: 31.81 kB / 0.7174 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.476e-05/0.03194, allocations: 30.95 kB / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.03195, allocations: 7.938 kB / 0.7174 GB, free: 5.949 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.03195, allocations: 3.938 kB / 0.7174 GB, free: 5.945 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.03196, allocations: 3.984 kB / 0.7174 GB, free: 5.941 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.03371, allocations: 0.764 MB / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.03371, allocations: 0 / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.03413, allocations: 59.91 kB / 0.7182 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.03413, allocations: 0 / 0.7182 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.03417, allocations: 11.98 kB / 0.7183 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.03418, allocations: 0 / 0.7183 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.03418, allocations: 3.938 kB / 0.7183 GB, free: 5.043 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.03583, allocations: 0.7191 MB / 0.719 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.0359, allocations: 35.86 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/0.03598, allocations: 8 kB / 0.719 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.03628, allocations: 19.98 kB / 0.719 GB, free: 4.203 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.03641, allocations: 35.88 kB / 0.7191 GB, free: 4.168 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.03645, allocations: 11.98 kB / 0.7191 GB, free: 4.156 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002834/0.03673, allocations: 177.2 kB / 0.7192 GB, free: 3.984 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.03673, allocations: 0 / 0.7192 GB, free: 3.984 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0006122/0.03734, allocations: 88 kB / 0.7193 GB, free: 3.898 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.0002145/0.03756, allocations: 130.9 kB / 0.7194 GB, free: 3.766 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.03877, allocations: 0.557 MB / 0.72 GB, free: 3.141 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.03878, allocations: 4 kB / 0.72 GB, free: 3.137 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2074/0.2461, allocations: 296 kB / 0.7203 GB, free: 37.05 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000685/0.2468, allocations: 89.89 kB / 0.7204 GB, free: 37.05 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.2482, allocations: 0.7932 MB / 0.7211 GB, free: 36.64 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2483, allocations: 158.5 kB / 0.7213 GB, free: 36.57 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.2485, allocations: 34.81 kB / 0.7213 GB, free: 36.56 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.2485, allocations: 31.08 kB / 0.7213 GB, free: 36.55 MB / 426.8 MB Notification: Performance of SimCode: time 1.021e-06/0.2486, allocations: 0 / 0.7213 GB, free: 36.55 MB / 426.8 MB Notification: Performance of Templates: time 0.009263/0.2578, allocations: 4.555 MB / 0.7258 GB, free: 36.13 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin_Lou2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.277434765128419]