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.001158/0.001158, 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.001324/0.001324, 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.174/1.174, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.8404/0.8404, allocations: 312.3 MB / 0.6108 GB, free: 97.62 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: 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: 71.58 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1452, allocations: 73.98 MB / 0.8421 GB, free: 10.3 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin_BorsukDe2020_reference): time 0.003532/0.1487, allocations: 2.705 MB / 0.8448 GB, free: 7.602 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007438/0.1561, allocations: 6.602 MB / 0.8512 GB, free: 1 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.1564, allocations: 0 / 0.8512 GB, free: 1 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1567, allocations: 44.16 kB / 0.8513 GB, free: 0.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.157, allocations: 120.1 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.1574, allocations: 72.44 kB / 0.8515 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.1579, allocations: 382.7 kB / 0.8518 GB, free: 404 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1581, allocations: 52.47 kB / 0.8519 GB, free: 356 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.1584, allocations: 139.5 kB / 0.852 GB, free: 216 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.1587, allocations: 143.9 kB / 0.8521 GB, free: 72 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.1587, allocations: 24.5 kB / 0.8522 GB, free: 48 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-05/0.1588, allocations: 24.62 kB / 0.8522 GB, free: 24 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.1588, allocations: 59.8 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.159, allocations: 139.9 kB / 0.8524 GB, free: 15.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1593, allocations: 287.4 kB / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1593, allocations: 0 / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1593, allocations: 0.625 kB / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1593, allocations: 0 / 0.8527 GB, free: 15.55 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009198/0.1602, allocations: 0.5982 MB / 0.8532 GB, free: 14.9 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1603, allocations: 8.719 kB / 0.8532 GB, free: 14.89 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.1604, allocations: 32.75 kB / 0.8533 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1606, allocations: 209.8 kB / 0.8535 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.1607, allocations: 16.75 kB / 0.8535 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.1607, allocations: 28.55 kB / 0.8535 GB, free: 14.58 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.1611, allocations: 292.4 kB / 0.8538 GB, free: 14.28 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1611, allocations: 4.578 kB / 0.8538 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1611, allocations: 12 kB / 0.8538 GB, free: 14.26 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1611, allocations: 4.625 kB / 0.8538 GB, free: 14.26 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.1614, allocations: 229.6 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.1624, allocations: 0.6735 MB / 0.8547 GB, free: 13.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.1631, allocations: 242.3 kB / 0.8549 GB, free: 13.05 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.1632, allocations: 149.1 kB / 0.8551 GB, free: 12.89 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1632, allocations: 8.562 kB / 0.8551 GB, free: 12.88 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.1636, allocations: 351 kB / 0.8554 GB, free: 12.49 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.286e-06/0.1636, allocations: 0 / 0.8554 GB, free: 12.49 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3443/0.5079, allocations: 1.084 MB / 0.8565 GB, free: 30.47 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.508, allocations: 221.1 kB / 0.8567 GB, free: 30.22 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.5082, allocations: 246.8 kB / 0.8569 GB, free: 30.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.5082, allocations: 34.05 kB / 0.8569 GB, free: 30.09 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.5083, allocations: 161.6 kB / 0.8571 GB, free: 29.98 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.5084, allocations: 114.2 kB / 0.8572 GB, free: 29.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.5084, allocations: 68.44 kB / 0.8573 GB, free: 29.91 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.5085, allocations: 342.9 kB / 0.8576 GB, free: 29.6 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.5087, allocations: 213.9 kB / 0.8578 GB, free: 29.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.5089, allocations: 309.5 kB / 0.8581 GB, free: 29.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.5093, allocations: 443.8 kB / 0.8585 GB, free: 29.01 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.5093, allocations: 4.312 kB / 0.8585 GB, free: 29.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005423/0.5098, allocations: 0.5581 MB / 0.8591 GB, free: 28.77 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.5099, allocations: 85.48 kB / 0.8592 GB, free: 28.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5099, allocations: 4.469 kB / 0.8592 GB, free: 28.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/0.5099, allocations: 5.875 kB / 0.8592 GB, free: 28.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.5101, allocations: 87.72 kB / 0.8593 GB, free: 28.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5101, allocations: 3.531 kB / 0.8593 GB, free: 28.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.5103, allocations: 23.69 kB / 0.8593 GB, free: 28.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.5103, allocations: 20.25 kB / 0.8593 GB, free: 28.66 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: 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.0002526/0.5106, allocations: 221.5 kB / 0.8595 GB, free: 28.47 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.5106, allocations: 31.97 kB / 0.8595 GB, free: 28.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.5107, allocations: 34.25 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5107, allocations: 3.625 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5107, allocations: 1.125 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5107, allocations: 4.781 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008011/0.5115, allocations: 0.7634 MB / 0.8603 GB, free: 28.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5115, allocations: 3.125 kB / 0.8603 GB, free: 28.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.5117, allocations: 48.89 kB / 0.8604 GB, free: 28.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.5117, allocations: 3.344 kB / 0.8604 GB, free: 28.08 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.5117, allocations: 10.05 kB / 0.8604 GB, free: 28.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5117, allocations: 3.656 kB / 0.8604 GB, free: 28.08 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5117, allocations: 0 / 0.8604 GB, free: 28.08 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.5123, allocations: 0.7289 MB / 0.8611 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.5124, allocations: 34.33 kB / 0.8611 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.5124, allocations: 12.12 kB / 0.8611 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5125, allocations: 15.45 kB / 0.8612 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.5126, allocations: 29.84 kB / 0.8612 GB, free: 27.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.5126, allocations: 10.11 kB / 0.8612 GB, free: 27.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001401/0.5128, allocations: 180.2 kB / 0.8614 GB, free: 27.63 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5128, allocations: 0 / 0.8614 GB, free: 27.63 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002858/0.5131, allocations: 90.09 kB / 0.8615 GB, free: 27.63 MB / 490.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.0001286/0.5132, allocations: 129.2 kB / 0.8616 GB, free: 27.54 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.5137, allocations: 0.565 MB / 0.8621 GB, free: 27.18 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5137, allocations: 0 / 0.8621 GB, free: 27.18 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.5139, allocations: 298.4 kB / 0.8624 GB, free: 26.99 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.5143, allocations: 85.77 kB / 0.8625 GB, free: 26.99 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.5157, allocations: 0.9605 MB / 0.8634 GB, free: 26.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.5158, allocations: 158.5 kB / 0.8636 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/0.5159, allocations: 31.97 kB / 0.8636 GB, free: 26.44 MB / 490.8 MB Notification: Performance of SimCode: time 1.382e-06/0.5159, allocations: 2.625 kB / 0.8636 GB, free: 26.44 MB / 490.8 MB Notification: Performance of Templates: time 0.008018/0.524, allocations: 4.015 MB / 0.8675 GB, free: 26.08 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.25804207380861]