Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.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.001109/0.001109, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001058/0.001058, allocations: 215.5 kB / 23 MB, free: 2.938 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.148/1.148, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.8211/0.8211, allocations: 312.3 MB / 0.6109 GB, free: 97.08 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.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=115200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=115200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral") [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.00157/0.00157, allocations: 73.88 kB / 0.7699 GB, free: 19.64 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1337, allocations: 74.01 MB / 0.8422 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral): time 0.002723/0.1364, allocations: 2.282 MB / 0.8444 GB, free: 7.504 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005654/0.1421, allocations: 6.529 MB / 0.8508 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.1422, allocations: 0 / 0.8508 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.1423, allocations: 28.3 kB / 0.8508 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1425, allocations: 84.73 kB / 0.8509 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1427, allocations: 48.53 kB / 0.8509 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1429, allocations: 258.7 kB / 0.8512 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.143, allocations: 41.2 kB / 0.8512 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-05/0.1431, allocations: 91.64 kB / 0.8513 GB, free: 444 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1433, allocations: 104 kB / 0.8514 GB, free: 340 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.1434, allocations: 20.75 kB / 0.8514 GB, free: 320 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.56e-05/0.1434, allocations: 16 kB / 0.8514 GB, free: 304 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.1434, allocations: 36.88 kB / 0.8515 GB, free: 268 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.1435, allocations: 91.53 kB / 0.8515 GB, free: 176 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1437, allocations: 195.7 kB / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1437, allocations: 7.984 kB / 0.8517 GB, free: 15.97 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1437, allocations: 0.6562 kB / 0.8517 GB, free: 15.97 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1437, allocations: 0.6875 kB / 0.8517 GB, free: 15.97 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.0006901/0.1444, allocations: 494.1 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1445, allocations: 8.656 kB / 0.8522 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.1445, allocations: 24.8 kB / 0.8522 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1447, allocations: 183.6 kB / 0.8524 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1447, allocations: 12.61 kB / 0.8524 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.1448, allocations: 28.5 kB / 0.8525 GB, free: 15.17 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.145, allocations: 191 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.145, allocations: 4.719 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1451, allocations: 4 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.1451, allocations: 4.625 kB / 0.8526 GB, free: 14.95 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.1453, allocations: 146.9 kB / 0.8528 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.1458, allocations: 486.8 kB / 0.8533 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.1462, allocations: 169.3 kB / 0.8534 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1463, allocations: 99.58 kB / 0.8535 GB, free: 14.01 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1463, allocations: 4 kB / 0.8535 GB, free: 14.01 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.1465, allocations: 221.8 kB / 0.8537 GB, free: 13.76 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.495e-06/0.1465, allocations: 3.984 kB / 0.8537 GB, free: 13.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00124/0.1478, allocations: 0.6969 MB / 0.8544 GB, free: 13 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.1478, allocations: 141.1 kB / 0.8545 GB, free: 12.83 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.148, allocations: 219.5 kB / 0.8548 GB, free: 12.61 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.148, allocations: 33.7 kB / 0.8548 GB, free: 12.57 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.1481, allocations: 133 kB / 0.8549 GB, free: 12.44 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.1481, allocations: 68.11 kB / 0.855 GB, free: 12.37 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.1482, allocations: 57.66 kB / 0.855 GB, free: 12.31 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.1483, allocations: 339.2 kB / 0.8554 GB, free: 11.97 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1484, allocations: 141.7 kB / 0.8555 GB, free: 11.81 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3049/0.4533, allocations: 223.9 kB / 0.8557 GB, free: 30.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.4536, allocations: 281.3 kB / 0.856 GB, free: 29.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4536, allocations: 0 / 0.856 GB, free: 29.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004507/0.4541, allocations: 390.8 kB / 0.8563 GB, free: 29.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.4541, allocations: 68.38 kB / 0.8564 GB, free: 29.74 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4541, allocations: 2.406 kB / 0.8564 GB, free: 29.74 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.4541, allocations: 7.672 kB / 0.8564 GB, free: 29.74 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.4543, allocations: 55.75 kB / 0.8565 GB, free: 29.74 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4543, allocations: 5.688 kB / 0.8565 GB, free: 29.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.4544, allocations: 18.17 kB / 0.8565 GB, free: 29.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.4545, allocations: 10.19 kB / 0.8565 GB, free: 29.74 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.0002016/0.4547, allocations: 182.2 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.4547, allocations: 22.45 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.4547, allocations: 23.3 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4547, allocations: 5.812 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4547, allocations: 0 / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4547, allocations: 3.516 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.4553, allocations: 0.5298 MB / 0.8572 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4553, allocations: 3.375 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4554, allocations: 43.12 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4554, allocations: 0 / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4555, allocations: 7.922 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4555, allocations: 5.5 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4555, allocations: 0 / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.4559, allocations: 0.4924 MB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.4559, allocations: 22.36 kB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.456, allocations: 8.422 kB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.4561, allocations: 15.55 kB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.4562, allocations: 19.25 kB / 0.8579 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.4562, allocations: 9.562 kB / 0.8579 GB, free: 29.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4563, allocations: 161.7 kB / 0.858 GB, free: 28.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4563, allocations: 0 / 0.858 GB, free: 28.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002091/0.4565, allocations: 55.47 kB / 0.8581 GB, free: 28.99 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.0001085/0.4566, allocations: 120.6 kB / 0.8582 GB, free: 28.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.457, allocations: 380.8 kB / 0.8585 GB, free: 28.67 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.457, allocations: 2.078 kB / 0.8585 GB, free: 28.67 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.4571, allocations: 171.1 kB / 0.8587 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4574, allocations: 63.62 kB / 0.8588 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.4584, allocations: 0.6997 MB / 0.8595 GB, free: 28.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.646e-05/0.4585, allocations: 126.8 kB / 0.8596 GB, free: 28.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.4585, allocations: 28.08 kB / 0.8596 GB, free: 28.17 MB / 490.8 MB Notification: Performance of SimCode: time 1.113e-06/0.4586, allocations: 2.719 kB / 0.8596 GB, free: 28.17 MB / 490.8 MB Notification: Performance of Templates: time 0.004359/0.4629, allocations: 2.94 MB / 0.8625 GB, free: 27.97 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.186001338995993]