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.0008038/0.0008038, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002004, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0006611/0.0006611, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000794/0.001455, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09413/1.099, allocations: 53.67 MB / 243.3 MB, free: 15.58 MB / 250.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.838/0.838, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03912/0.8771, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.85e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin): time 0.002808/0.002837, allocations: 2.954 MB / 0.5475 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004875/0.007711, allocations: 6.782 MB / 0.5541 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.007888, allocations: 4 kB / 0.5541 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.007988, allocations: 43.62 kB / 0.5541 GB, free: 20.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.008193, allocations: 119 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.008385, allocations: 71.84 kB / 0.5543 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.00867, allocations: 401.9 kB / 0.5547 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.008808, allocations: 58.8 kB / 0.5548 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.009086, allocations: 250.5 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.009343, allocations: 127.6 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.009394, allocations: 24 kB / 0.5551 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-05/0.00943, allocations: 24 kB / 0.5552 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.009472, allocations: 39.81 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.009555, allocations: 95.81 kB / 0.5553 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.009763, allocations: 199.3 kB / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.009777, allocations: 0 / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.009779, allocations: 3.938 kB / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.009791, allocations: 0 / 0.5555 GB, free: 19.34 MB / 410.7 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.0006475/0.01044, allocations: 0.6282 MB / 0.5561 GB, free: 18.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.01047, allocations: 19.83 kB / 0.5561 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.01053, allocations: 44.89 kB / 0.5562 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.0107, allocations: 189.5 kB / 0.5563 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.01072, allocations: 16.75 kB / 0.5564 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.01075, allocations: 24.33 kB / 0.5564 GB, free: 18.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.01096, allocations: 244.7 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01098, allocations: 4 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.01099, allocations: 4 kB / 0.5566 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.01099, allocations: 11.94 kB / 0.5566 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.01111, allocations: 134.6 kB / 0.5568 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.01173, allocations: 0.5153 MB / 0.5573 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.01194, allocations: 153.1 kB / 0.5574 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.01199, allocations: 107.5 kB / 0.5575 GB, free: 17.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.012, allocations: 7.938 kB / 0.5575 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.01218, allocations: 315.4 kB / 0.5578 GB, free: 16.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.936e-06/0.01219, allocations: 0 / 0.5578 GB, free: 16.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008752/0.01306, allocations: 0.817 MB / 0.5586 GB, free: 15.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.01315, allocations: 277 kB / 0.5589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.01331, allocations: 229 kB / 0.5591 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.01333, allocations: 37.7 kB / 0.5591 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.01338, allocations: 133.3 kB / 0.5593 GB, free: 15.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.01344, allocations: 119 kB / 0.5594 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.01351, allocations: 74.17 kB / 0.5595 GB, free: 14.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2903/0.3038, allocations: 340.8 kB / 0.5598 GB, free: 79.53 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.304, allocations: 149.2 kB / 0.5599 GB, free: 79.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3041, allocations: 247.3 kB / 0.5602 GB, free: 79.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.3043, allocations: 342.9 kB / 0.5605 GB, free: 78.95 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3043, allocations: 4.5 kB / 0.5605 GB, free: 78.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003811/0.3047, allocations: 386.4 kB / 0.5609 GB, free: 78.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.3048, allocations: 91.84 kB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3048, allocations: 4.094 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3048, allocations: 5.469 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.3051, allocations: 105.8 kB / 0.5611 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3051, allocations: 11.97 kB / 0.5611 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3053, allocations: 22.62 kB / 0.5611 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3053, allocations: 10.7 kB / 0.5611 GB, free: 78.63 MB / 410.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.0002137/0.3055, allocations: 209 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.3056, allocations: 35.38 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.3056, allocations: 36.42 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3056, allocations: 2.766 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3056, allocations: 1.891 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.3057, allocations: 24.8 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.3057, allocations: 9.938 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.3057, allocations: 15.78 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3058, allocations: 14.5 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.3059, allocations: 27.59 kB / 0.5615 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004605/0.3064, allocations: 385.5 kB / 0.5618 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005286/0.3069, allocations: 0.5937 MB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001469/0.3071, allocations: 137.2 kB / 0.5625 GB, free: 77.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3072, allocations: 81.78 kB / 0.5626 GB, free: 77.72 MB / 410.8 MB Notification: Performance of Backend: time 5.31e-07/0.3072, allocations: 0 / 0.5626 GB, free: 77.72 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.3078, allocations: 486.7 kB / 0.5631 GB, free: 77.38 MB / 410.8 MB Notification: Performance of SimCode: time 0.008505/0.3164, allocations: 1.321 MB / 0.5644 GB, free: 76.45 MB / 410.8 MB Notification: Performance of Templates: time 0.01087/0.3272, allocations: 5.274 MB / 0.5695 GB, free: 75.43 MB / 410.8 MB " [Timeout remaining time 660] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.818786268122494]