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.001737/0.001737, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.002613/0.002613, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.676/1.676, allocations: 177.1 MB / 202.8 MB, free: 5.773 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.426/1.426, allocations: 292.9 MB / 0.5392 GB, free: 49.84 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.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.835e-06/2.835e-06, allocations: 0 / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.302e-05/6.585e-05, allocations: 10.16 kB / 0.6999 GB, free: 8.57 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference): time 0.00479/0.004856, allocations: 2.696 MB / 0.7025 GB, free: 5.855 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.01536, allocations: 6.6 MB / 0.709 GB, free: 15.25 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004986/0.01586, allocations: 4 kB / 0.709 GB, free: 15.24 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.01622, allocations: 35.58 kB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008328/0.01705, allocations: 134.9 kB / 0.7091 GB, free: 15.07 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.01754, allocations: 75.83 kB / 0.7092 GB, free: 15 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000925/0.01847, allocations: 389.9 kB / 0.7096 GB, free: 14.62 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.01878, allocations: 56.88 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007054/0.01949, allocations: 203.5 kB / 0.7098 GB, free: 14.37 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.01998, allocations: 119.6 kB / 0.7099 GB, free: 14.25 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.02009, allocations: 24 kB / 0.71 GB, free: 14.23 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.02021, allocations: 27.94 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.02031, allocations: 63.75 kB / 0.7101 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.02059, allocations: 111.7 kB / 0.7102 GB, free: 14.03 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.0212, allocations: 299 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.02121, allocations: 0 / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.825e-06/0.02121, allocations: 0 / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.02123, allocations: 0 / 0.7104 GB, free: 13.73 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.00155/0.02278, allocations: 0.5846 MB / 0.711 GB, free: 13.1 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.02284, allocations: 19.97 kB / 0.711 GB, free: 13.08 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.02294, allocations: 36.75 kB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.02331, allocations: 208.8 kB / 0.7113 GB, free: 12.81 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.02334, allocations: 12.75 kB / 0.7113 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/0.02341, allocations: 28.36 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.02411, allocations: 292.5 kB / 0.7116 GB, free: 12.47 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.02414, allocations: 7.953 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.02417, allocations: 8 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.02418, allocations: 8 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.02473, allocations: 236.4 kB / 0.7118 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.02617, allocations: 0.6717 MB / 0.7125 GB, free: 11.49 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.02687, allocations: 249.3 kB / 0.7127 GB, free: 11.22 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.02721, allocations: 152.4 kB / 0.7129 GB, free: 11.06 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.02724, allocations: 4 kB / 0.7129 GB, free: 11.05 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006162/0.02785, allocations: 353.5 kB / 0.7132 GB, free: 10.66 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.02785, allocations: 0 / 0.7132 GB, free: 10.66 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.00246/0.03031, allocations: 1.08 MB / 0.7143 GB, free: 9.488 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.03051, allocations: 217.6 kB / 0.7145 GB, free: 9.227 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.03085, allocations: 253.8 kB / 0.7147 GB, free: 8.973 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.03089, allocations: 33.7 kB / 0.7147 GB, free: 8.934 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.03123, allocations: 152.9 kB / 0.7149 GB, free: 8.777 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.03136, allocations: 119 kB / 0.715 GB, free: 8.66 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.0315, allocations: 74.19 kB / 0.7151 GB, free: 8.578 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.03173, allocations: 338.8 kB / 0.7154 GB, free: 8.238 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.03211, allocations: 215.9 kB / 0.7156 GB, free: 8.008 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.03256, allocations: 311.1 kB / 0.7159 GB, free: 7.641 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.03328, allocations: 431.1 kB / 0.7163 GB, free: 7.152 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.03329, allocations: 4 kB / 0.7163 GB, free: 7.148 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001017/0.03431, allocations: 0.5498 MB / 0.7169 GB, free: 6.555 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.0344, allocations: 93.09 kB / 0.7169 GB, free: 6.445 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.03441, allocations: 4 kB / 0.7169 GB, free: 6.441 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.03444, allocations: 4 kB / 0.717 GB, free: 6.438 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.03478, allocations: 79.83 kB / 0.717 GB, free: 6.359 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.03479, allocations: 8 kB / 0.717 GB, free: 6.352 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.03504, allocations: 19.92 kB / 0.7171 GB, free: 6.332 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.03508, allocations: 24.19 kB / 0.7171 GB, free: 6.309 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.0003625/0.03544, allocations: 227 kB / 0.7173 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.0355, allocations: 31.81 kB / 0.7173 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.03558, allocations: 30.95 kB / 0.7174 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.03559, allocations: 4 kB / 0.7174 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.0356, allocations: 0 / 0.7174 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.0356, allocations: 0 / 0.7174 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.03698, allocations: 0.7678 MB / 0.7181 GB, free: 5.172 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.03698, allocations: 0 / 0.7181 GB, free: 5.172 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.03729, allocations: 59.95 kB / 0.7182 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.0373, allocations: 0 / 0.7182 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.03733, allocations: 8 kB / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.03733, allocations: 4 kB / 0.7182 GB, free: 5.102 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.03734, allocations: 7.875 kB / 0.7182 GB, free: 5.094 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.03861, allocations: 0.723 MB / 0.7189 GB, free: 4.312 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.03866, allocations: 27.88 kB / 0.7189 GB, free: 4.285 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.03873, allocations: 15.98 kB / 0.7189 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.03893, allocations: 15.98 kB / 0.7189 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.03906, allocations: 31.89 kB / 0.719 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.03908, allocations: 8 kB / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002199/0.0393, allocations: 181.2 kB / 0.7192 GB, free: 4.039 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0393, allocations: 0 / 0.7192 GB, free: 4.039 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003893/0.03969, allocations: 92 kB / 0.7192 GB, free: 3.949 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.0002047/0.0399, allocations: 122.9 kB / 0.7194 GB, free: 3.824 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009619/0.04086, allocations: 0.5648 MB / 0.7199 GB, free: 3.191 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.04086, allocations: 0 / 0.7199 GB, free: 3.191 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2614/0.3023, allocations: 295 kB / 0.7202 GB, free: 37.15 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008118/0.3031, allocations: 89.3 kB / 0.7203 GB, free: 37.15 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3049, allocations: 0.797 MB / 0.7211 GB, free: 36.76 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.3051, allocations: 159.1 kB / 0.7212 GB, free: 36.68 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.3052, allocations: 35.45 kB / 0.7212 GB, free: 36.67 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.3053, allocations: 28.62 kB / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of SimCode: time 1.062e-06/0.3053, allocations: 0 / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of Templates: time 0.0109/0.3162, allocations: 4.554 MB / 0.7257 GB, free: 36.25 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.083262795116752]