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.0009452/0.0009452, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.0009478/0.0009478, allocations: 166.3 kB / 23.21 MB, free: 1.332 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.032/1.032, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7361/0.7361, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.663e-06/1.663e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.776e-05, allocations: 6.219 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): time 0.002944/0.002962, allocations: 2.718 MB / 0.7 GB, free: 7.621 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005196/0.008158, allocations: 6.604 MB / 0.7065 GB, free: 1.008 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.008273, allocations: 4 kB / 0.7065 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.008406, allocations: 39.56 kB / 0.7065 GB, free: 0.9648 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.00862, allocations: 123 kB / 0.7067 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.008831, allocations: 71.83 kB / 0.7067 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.009067, allocations: 397.9 kB / 0.7071 GB, free: 392 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.009218, allocations: 60.81 kB / 0.7072 GB, free: 336 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.00937, allocations: 207.5 kB / 0.7074 GB, free: 128 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.00957, allocations: 119.6 kB / 0.7075 GB, free: 8 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.009622, allocations: 24.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-05/0.009653, allocations: 28 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.009692, allocations: 51.72 kB / 0.7076 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.865e-05/0.009791, allocations: 123.7 kB / 0.7077 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.01004, allocations: 287.1 kB / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.01004, allocations: 0 / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01004, allocations: 0 / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.01005, allocations: 0 / 0.708 GB, free: 15.5 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.0009287/0.01098, allocations: 0.5964 MB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.01102, allocations: 8.031 kB / 0.7086 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.01107, allocations: 32.75 kB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.01129, allocations: 220.7 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.01131, allocations: 16.75 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.01135, allocations: 24.36 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.01167, allocations: 288.7 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.01169, allocations: 3.953 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.01171, allocations: 12 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.01171, allocations: 4 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.01198, allocations: 240.4 kB / 0.7094 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/0.01274, allocations: 0.6717 MB / 0.71 GB, free: 13.25 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.0131, allocations: 248.5 kB / 0.7102 GB, free: 12.99 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.01325, allocations: 148.4 kB / 0.7104 GB, free: 12.83 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.01326, allocations: 4 kB / 0.7104 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.01356, allocations: 357.5 kB / 0.7107 GB, free: 12.43 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.01356, allocations: 0 / 0.7107 GB, free: 12.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001229/0.01479, allocations: 1.084 MB / 0.7118 GB, free: 11.25 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.01487, allocations: 225.5 kB / 0.712 GB, free: 10.98 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.01504, allocations: 237.9 kB / 0.7122 GB, free: 10.75 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.01506, allocations: 37.7 kB / 0.7123 GB, free: 10.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.01514, allocations: 164.8 kB / 0.7124 GB, free: 10.54 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.0152, allocations: 115.1 kB / 0.7125 GB, free: 10.42 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/0.01527, allocations: 74.19 kB / 0.7126 GB, free: 10.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.01536, allocations: 346.8 kB / 0.7129 GB, free: 9.992 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.01555, allocations: 211.9 kB / 0.7131 GB, free: 9.766 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.01576, allocations: 311.1 kB / 0.7134 GB, free: 9.402 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.0161, allocations: 431.1 kB / 0.7138 GB, free: 8.914 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.0161, allocations: 0 / 0.7138 GB, free: 8.914 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004861/0.01659, allocations: 0.5536 MB / 0.7144 GB, free: 8.316 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.01664, allocations: 93.09 kB / 0.7145 GB, free: 8.207 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01664, allocations: 0 / 0.7145 GB, free: 8.207 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01666, allocations: 8 kB / 0.7145 GB, free: 8.199 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.01683, allocations: 75.83 kB / 0.7146 GB, free: 8.125 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01683, allocations: 4 kB / 0.7146 GB, free: 8.121 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01695, allocations: 24.23 kB / 0.7146 GB, free: 8.098 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.01696, allocations: 23.98 kB / 0.7146 GB, free: 8.074 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.0001765/0.01714, allocations: 219.1 kB / 0.7148 GB, free: 7.836 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.01717, allocations: 31.75 kB / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.01721, allocations: 34.95 kB / 0.7149 GB, free: 7.77 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.01721, allocations: 4 kB / 0.7149 GB, free: 7.766 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01721, allocations: 0 / 0.7149 GB, free: 7.766 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01722, allocations: 0 / 0.7149 GB, free: 7.766 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/0.01798, allocations: 0.7601 MB / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.01799, allocations: 7.922 kB / 0.7156 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.01813, allocations: 51.97 kB / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01814, allocations: 8 kB / 0.7157 GB, free: 6.879 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.01815, allocations: 8 kB / 0.7157 GB, free: 6.871 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.01816, allocations: 7.922 kB / 0.7157 GB, free: 6.863 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.01816, allocations: 3.938 kB / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.01877, allocations: 0.723 MB / 0.7164 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.0188, allocations: 31.86 kB / 0.7164 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.01884, allocations: 8 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.01893, allocations: 19.98 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.019, allocations: 31.83 kB / 0.7165 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.01902, allocations: 12 kB / 0.7165 GB, free: 5.977 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001115/0.01913, allocations: 181.2 kB / 0.7167 GB, free: 5.801 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01913, allocations: 0 / 0.7167 GB, free: 5.801 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000215/0.01935, allocations: 84 kB / 0.7168 GB, free: 5.719 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.0001111/0.01946, allocations: 130.9 kB / 0.7169 GB, free: 5.586 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004533/0.01991, allocations: 0.557 MB / 0.7174 GB, free: 4.961 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01991, allocations: 0 / 0.7174 GB, free: 4.961 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.02011, allocations: 306.5 kB / 0.7177 GB, free: 4.629 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.02045, allocations: 92.55 kB / 0.7178 GB, free: 4.539 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009218/0.02137, allocations: 0.8164 MB / 0.7186 GB, free: 3.68 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.391e-05/0.02147, allocations: 156.3 kB / 0.7188 GB, free: 3.504 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.02153, allocations: 32.5 kB / 0.7188 GB, free: 3.473 MB / 426.8 MB Notification: Performance of SimCode: time 6.11e-07/0.02153, allocations: 0 / 0.7188 GB, free: 3.473 MB / 426.8 MB Notification: Performance of Templates: time 0.2201/0.2417, allocations: 4.023 MB / 0.7227 GB, free: 36.9 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.595069404691458]