Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_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.001073/0.001073, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.001117/0.001117, allocations: 165.8 kB / 23.21 MB, free: 1.336 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.004/1.004, allocations: 177.1 MB / 203.5 MB, free: 5.699 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.7579/0.7579, allocations: 291.2 MB / 0.5382 GB, free: 51.84 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.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 4 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.115e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference): time 0.002542/0.002573, allocations: 2.688 MB / 0.7 GB, free: 7.648 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004836/0.007409, allocations: 6.615 MB / 0.7065 GB, free: 1.023 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.007587, allocations: 4 kB / 0.7065 GB, free: 1.02 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.007733, allocations: 35.58 kB / 0.7065 GB, free: 0.9844 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.007982, allocations: 123 kB / 0.7066 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.008227, allocations: 67.84 kB / 0.7067 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.008486, allocations: 393.9 kB / 0.7071 GB, free: 420 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.008653, allocations: 64.81 kB / 0.7071 GB, free: 360 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.008822, allocations: 211.4 kB / 0.7073 GB, free: 148 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.00901, allocations: 115.6 kB / 0.7074 GB, free: 32 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.00904, allocations: 24 kB / 0.7075 GB, free: 8 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.723e-05/0.009087, allocations: 24.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.009134, allocations: 63.62 kB / 0.7075 GB, free: 15.92 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.009236, allocations: 111.8 kB / 0.7077 GB, free: 15.81 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.009517, allocations: 291.1 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.009521, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009522, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.009529, allocations: 4 kB / 0.7079 GB, free: 15.52 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.0008171/0.01035, allocations: 0.5907 MB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.01039, allocations: 8.031 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.01045, allocations: 32.75 kB / 0.7085 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.01068, allocations: 216.7 kB / 0.7088 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.0107, allocations: 20.69 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.01074, allocations: 24.38 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.01108, allocations: 292.5 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.0111, allocations: 7.938 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.01112, allocations: 12 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.01112, allocations: 4 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.0114, allocations: 228.5 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.01222, allocations: 0.6756 MB / 0.71 GB, free: 13.28 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.01262, allocations: 242 kB / 0.7102 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.01278, allocations: 148.5 kB / 0.7103 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.0128, allocations: 7.938 kB / 0.7104 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003397/0.01313, allocations: 373.2 kB / 0.7107 GB, free: 12.44 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.01314, allocations: 0 / 0.7107 GB, free: 12.44 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001461/0.0146, allocations: 1.08 MB / 0.7118 GB, free: 11.27 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.01472, allocations: 217.6 kB / 0.712 GB, free: 11.01 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.01494, allocations: 245.9 kB / 0.7122 GB, free: 10.76 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.01496, allocations: 37.7 kB / 0.7122 GB, free: 10.72 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01507, allocations: 160.8 kB / 0.7124 GB, free: 10.55 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.01514, allocations: 115 kB / 0.7125 GB, free: 10.44 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.01523, allocations: 70.2 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.01536, allocations: 346.7 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.0156, allocations: 207.9 kB / 0.7131 GB, free: 9.793 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.01587, allocations: 311.2 kB / 0.7134 GB, free: 9.426 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.01626, allocations: 435 kB / 0.7138 GB, free: 8.934 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01626, allocations: 4 kB / 0.7138 GB, free: 8.93 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000617/0.01688, allocations: 0.5497 MB / 0.7144 GB, free: 8.336 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.01696, allocations: 89.09 kB / 0.7144 GB, free: 8.23 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.01697, allocations: 4.344 kB / 0.7144 GB, free: 8.227 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.01699, allocations: 8 kB / 0.7145 GB, free: 8.219 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.0172, allocations: 75.89 kB / 0.7145 GB, free: 8.145 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.01721, allocations: 7.938 kB / 0.7145 GB, free: 8.137 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.01734, allocations: 23.98 kB / 0.7146 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.01737, allocations: 16 kB / 0.7146 GB, free: 8.098 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.0002921/0.01766, allocations: 223.1 kB / 0.7148 GB, free: 7.859 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.0177, allocations: 31.81 kB / 0.7148 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.01776, allocations: 30.97 kB / 0.7148 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.01776, allocations: 4 kB / 0.7148 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.01777, allocations: 3.984 kB / 0.7149 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01778, allocations: 0 / 0.7149 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/0.01867, allocations: 0.7638 MB / 0.7156 GB, free: 6.965 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01867, allocations: 0 / 0.7156 GB, free: 6.965 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.01883, allocations: 59.89 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.01883, allocations: 4 kB / 0.7157 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.01885, allocations: 12 kB / 0.7157 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01886, allocations: 4 kB / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.01886, allocations: 3.938 kB / 0.7157 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.01954, allocations: 0.723 MB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.01958, allocations: 27.88 kB / 0.7164 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.01962, allocations: 8 kB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.01972, allocations: 19.98 kB / 0.7164 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.01981, allocations: 35.88 kB / 0.7165 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.01982, allocations: 12 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001175/0.01994, allocations: 181.2 kB / 0.7167 GB, free: 5.824 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.61e-07/0.01994, allocations: 0 / 0.7167 GB, free: 5.824 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002424/0.02018, allocations: 84 kB / 0.7167 GB, free: 5.742 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.0001457/0.02033, allocations: 138.8 kB / 0.7169 GB, free: 5.602 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.02082, allocations: 0.5647 MB / 0.7174 GB, free: 4.973 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02083, allocations: 0 / 0.7174 GB, free: 4.973 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.02107, allocations: 302 kB / 0.7177 GB, free: 4.641 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.02144, allocations: 87.36 kB / 0.7178 GB, free: 4.559 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.02249, allocations: 0.8164 MB / 0.7186 GB, free: 3.699 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.02259, allocations: 160.3 kB / 0.7187 GB, free: 3.52 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.02266, allocations: 36.5 kB / 0.7188 GB, free: 3.484 MB / 426.8 MB Notification: Performance of SimCode: time 5.91e-07/0.02266, allocations: 0 / 0.7188 GB, free: 3.484 MB / 426.8 MB Notification: Performance of Templates: time 0.2198/0.2424, allocations: 4.013 MB / 0.7227 GB, free: 36.79 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7167656403034925]