Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.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.001658/0.001658, allocations: 108.3 kB / 19.71 MB, free: 432 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.001953/0.001953, allocations: 217.4 kB / 23 MB, free: 2.961 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.073/1.073, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7949/0.7949, allocations: 312.3 MB / 0.6108 GB, free: 97.57 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin") [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.001812/0.001812, allocations: 71.36 kB / 0.7699 GB, free: 20.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1553, allocations: 73.99 MB / 0.8422 GB, free: 10.29 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin): time 0.003767/0.159, allocations: 2.711 MB / 0.8448 GB, free: 7.582 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007367/0.1664, allocations: 6.605 MB / 0.8513 GB, free: 0.9766 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.1667, allocations: 4.531 kB / 0.8513 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.1669, allocations: 36.23 kB / 0.8513 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.1672, allocations: 124.1 kB / 0.8514 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1675, allocations: 72.44 kB / 0.8515 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.1679, allocations: 374.7 kB / 0.8519 GB, free: 388 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1681, allocations: 53.52 kB / 0.8519 GB, free: 336 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.1683, allocations: 143.4 kB / 0.852 GB, free: 192 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1685, allocations: 136 kB / 0.8522 GB, free: 56 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.1685, allocations: 24.56 kB / 0.8522 GB, free: 32 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.613e-05/0.1686, allocations: 28.59 kB / 0.8522 GB, free: 4 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.1688, allocations: 63.81 kB / 0.8523 GB, free: 15.94 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.1689, allocations: 128 kB / 0.8524 GB, free: 15.81 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.1692, allocations: 290.8 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1692, allocations: 4.438 kB / 0.8527 GB, free: 15.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1692, allocations: 0.5625 kB / 0.8527 GB, free: 15.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1692, allocations: 0.5 kB / 0.8527 GB, free: 15.52 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.0009181/0.1702, allocations: 0.6079 MB / 0.8533 GB, free: 14.87 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1702, allocations: 8.031 kB / 0.8533 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.1703, allocations: 33.25 kB / 0.8533 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1706, allocations: 209.8 kB / 0.8535 GB, free: 14.6 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.1706, allocations: 16.75 kB / 0.8535 GB, free: 14.58 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.1706, allocations: 28.59 kB / 0.8536 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.171, allocations: 284.5 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.171, allocations: 8.641 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.1711, allocations: 4 kB / 0.8538 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1711, allocations: 8.781 kB / 0.8539 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.1714, allocations: 229.1 kB / 0.8541 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009318/0.1723, allocations: 0.6813 MB / 0.8547 GB, free: 13.28 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.1727, allocations: 227.2 kB / 0.855 GB, free: 13.03 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.1729, allocations: 153.1 kB / 0.8551 GB, free: 12.87 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1729, allocations: 8.562 kB / 0.8551 GB, free: 12.86 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.1733, allocations: 356 kB / 0.8555 GB, free: 12.46 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.896e-06/0.1733, allocations: 0 / 0.8555 GB, free: 12.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3409/0.5142, allocations: 1.081 MB / 0.8565 GB, free: 30.43 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.5143, allocations: 216.4 kB / 0.8567 GB, free: 30.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.5145, allocations: 250.4 kB / 0.857 GB, free: 30.08 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5145, allocations: 34.98 kB / 0.857 GB, free: 30.05 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.5146, allocations: 161.2 kB / 0.8571 GB, free: 29.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.071e-05/0.5147, allocations: 114.9 kB / 0.8572 GB, free: 29.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.5148, allocations: 69.72 kB / 0.8573 GB, free: 29.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.5149, allocations: 344.7 kB / 0.8576 GB, free: 29.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.5151, allocations: 216.1 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.5153, allocations: 313.5 kB / 0.8581 GB, free: 29.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.5157, allocations: 428.5 kB / 0.8586 GB, free: 28.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5157, allocations: 0.875 kB / 0.8586 GB, free: 28.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005517/0.5163, allocations: 0.5536 MB / 0.8591 GB, free: 28.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.5163, allocations: 92.17 kB / 0.8592 GB, free: 28.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5163, allocations: 6.969 kB / 0.8592 GB, free: 28.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/0.5163, allocations: 8.219 kB / 0.8592 GB, free: 28.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.5165, allocations: 85.92 kB / 0.8593 GB, free: 28.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.5166, allocations: 6 kB / 0.8593 GB, free: 28.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.5167, allocations: 20.67 kB / 0.8593 GB, free: 28.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.5167, allocations: 16.16 kB / 0.8593 GB, free: 28.63 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.0002531/0.517, allocations: 229.6 kB / 0.8595 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.517, allocations: 28.14 kB / 0.8596 GB, free: 28.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.5171, allocations: 32.22 kB / 0.8596 GB, free: 28.42 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5171, allocations: 3.125 kB / 0.8596 GB, free: 28.42 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.5171, allocations: 0 / 0.8596 GB, free: 28.42 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.5171, allocations: 6.344 kB / 0.8596 GB, free: 28.42 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/0.5179, allocations: 0.7598 MB / 0.8604 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5179, allocations: 0 / 0.8604 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.5181, allocations: 57.56 kB / 0.8604 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.5181, allocations: 3.5 kB / 0.8604 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.5181, allocations: 10.14 kB / 0.8604 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5181, allocations: 0 / 0.8604 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5181, allocations: 7.859 kB / 0.8604 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.5188, allocations: 0.729 MB / 0.8611 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.5188, allocations: 26.27 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.5189, allocations: 13.28 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.519, allocations: 15.62 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5191, allocations: 29.8 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.5191, allocations: 14.36 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001395/0.5193, allocations: 176.8 kB / 0.8614 GB, free: 27.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5193, allocations: 3.141 kB / 0.8614 GB, free: 27.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003023/0.5196, allocations: 88.97 kB / 0.8615 GB, free: 27.6 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.0001562/0.5197, allocations: 130 kB / 0.8616 GB, free: 27.51 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006071/0.5203, allocations: 0.5623 MB / 0.8622 GB, free: 27.15 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5203, allocations: 7.469 kB / 0.8622 GB, free: 27.15 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.5206, allocations: 296.8 kB / 0.8625 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.521, allocations: 88.06 kB / 0.8625 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.5226, allocations: 0.9678 MB / 0.8635 GB, free: 26.49 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.5227, allocations: 158.7 kB / 0.8636 GB, free: 26.41 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.5228, allocations: 30.7 kB / 0.8637 GB, free: 26.4 MB / 490.8 MB Notification: Performance of SimCode: time 1.383e-06/0.5228, allocations: 0 / 0.8637 GB, free: 26.4 MB / 490.8 MB Notification: Performance of Templates: time 0.009291/0.5321, allocations: 4.021 MB / 0.8676 GB, free: 26.04 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.263456988148391]