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.001888/0.001888, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002025/0.002025, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.635/1.635, allocations: 177.1 MB / 202.8 MB, free: 5.516 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.405/1.405, allocations: 293 MB / 0.5392 GB, free: 50.08 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,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.853e-06/1.853e-06, allocations: 0 / 0.7 GB, free: 8.508 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.909e-05, allocations: 2.281 kB / 0.7 GB, free: 8.504 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin): time 0.00415/0.004179, allocations: 2.709 MB / 0.7026 GB, free: 5.773 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.009583/0.01376, allocations: 6.611 MB / 0.7091 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.01412, allocations: 0 / 0.7091 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.01436, allocations: 43.56 kB / 0.7091 GB, free: 15.11 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.0149, allocations: 130.9 kB / 0.7093 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.01531, allocations: 75.83 kB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007421/0.01605, allocations: 393.9 kB / 0.7097 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.01631, allocations: 52.89 kB / 0.7097 GB, free: 14.47 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.01677, allocations: 207.5 kB / 0.7099 GB, free: 14.27 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.01718, allocations: 115.7 kB / 0.7101 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.01725, allocations: 24 kB / 0.7101 GB, free: 14.13 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/0.01733, allocations: 24 kB / 0.7101 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.01744, allocations: 59.7 kB / 0.7102 GB, free: 14.05 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.01767, allocations: 115.7 kB / 0.7103 GB, free: 13.94 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.01829, allocations: 295.1 kB / 0.7106 GB, free: 13.65 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.0183, allocations: 7.875 kB / 0.7106 GB, free: 13.64 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.435e-06/0.0183, allocations: 0 / 0.7106 GB, free: 13.64 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.01831, allocations: 0 / 0.7106 GB, free: 13.64 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.001651/0.01996, allocations: 0.5951 MB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.02002, allocations: 8.031 kB / 0.7111 GB, free: 12.99 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.02013, allocations: 40.69 kB / 0.7112 GB, free: 12.95 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.02062, allocations: 212.8 kB / 0.7114 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.02067, allocations: 16.75 kB / 0.7114 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.02075, allocations: 24.38 kB / 0.7114 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.02152, allocations: 284.7 kB / 0.7117 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.02156, allocations: 11.95 kB / 0.7117 GB, free: 12.37 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.02159, allocations: 4 kB / 0.7117 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.02161, allocations: 8 kB / 0.7117 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/0.02236, allocations: 236.4 kB / 0.7119 GB, free: 12.11 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.02418, allocations: 0.6756 MB / 0.7126 GB, free: 11.39 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.02506, allocations: 234.1 kB / 0.7128 GB, free: 11.14 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.02545, allocations: 152.4 kB / 0.713 GB, free: 10.98 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.02547, allocations: 4 kB / 0.713 GB, free: 10.97 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007786/0.02625, allocations: 364.8 kB / 0.7133 GB, free: 10.57 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.565e-06/0.02625, allocations: 0 / 0.7133 GB, free: 10.57 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.003305/0.02956, allocations: 1.078 MB / 0.7144 GB, free: 9.402 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002572/0.02981, allocations: 217.6 kB / 0.7146 GB, free: 9.141 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.03031, allocations: 245.9 kB / 0.7148 GB, free: 8.895 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/0.03037, allocations: 37.69 kB / 0.7149 GB, free: 8.852 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.03061, allocations: 152.9 kB / 0.715 GB, free: 8.695 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.03082, allocations: 119.1 kB / 0.7151 GB, free: 8.578 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.03103, allocations: 70.19 kB / 0.7152 GB, free: 8.5 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003207/0.03135, allocations: 342.8 kB / 0.7155 GB, free: 8.156 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.03191, allocations: 211.9 kB / 0.7157 GB, free: 7.93 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/0.03259, allocations: 319.1 kB / 0.716 GB, free: 7.559 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.03368, allocations: 431.1 kB / 0.7164 GB, free: 7.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.03368, allocations: 0 / 0.7164 GB, free: 7.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001518/0.0352, allocations: 0.546 MB / 0.717 GB, free: 6.48 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.03532, allocations: 97.09 kB / 0.7171 GB, free: 6.367 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.03533, allocations: 0 / 0.7171 GB, free: 6.367 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.382e-05/0.03537, allocations: 8 kB / 0.7171 GB, free: 6.359 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.0359, allocations: 79.83 kB / 0.7171 GB, free: 6.281 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.03592, allocations: 11.92 kB / 0.7172 GB, free: 6.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.03633, allocations: 19.98 kB / 0.7172 GB, free: 6.25 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.0364, allocations: 20 kB / 0.7172 GB, free: 6.23 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.0004646/0.03686, allocations: 229.6 kB / 0.7174 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.695e-05/0.03695, allocations: 31.81 kB / 0.7174 GB, free: 5.953 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.03705, allocations: 38.89 kB / 0.7175 GB, free: 5.914 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.03705, allocations: 0 / 0.7175 GB, free: 5.914 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.03706, allocations: 4 kB / 0.7175 GB, free: 5.91 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.03708, allocations: 7.969 kB / 0.7175 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.03909, allocations: 0.76 MB / 0.7182 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.03909, allocations: 4 kB / 0.7182 GB, free: 5.078 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.03957, allocations: 51.97 kB / 0.7183 GB, free: 5.027 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.03958, allocations: 4 kB / 0.7183 GB, free: 5.023 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.03962, allocations: 11.98 kB / 0.7183 GB, free: 5.012 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.03963, allocations: 0 / 0.7183 GB, free: 5.012 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.03963, allocations: 3.938 kB / 0.7183 GB, free: 5.008 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.04154, allocations: 0.7191 MB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.04164, allocations: 35.86 kB / 0.719 GB, free: 4.195 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.04173, allocations: 8 kB / 0.719 GB, free: 4.188 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.04209, allocations: 15.98 kB / 0.7191 GB, free: 4.172 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.04225, allocations: 35.89 kB / 0.7191 GB, free: 4.137 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.0423, allocations: 11.98 kB / 0.7191 GB, free: 4.125 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003221/0.04262, allocations: 177.2 kB / 0.7193 GB, free: 3.953 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04262, allocations: 0 / 0.7193 GB, free: 3.953 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0007116/0.04333, allocations: 91.94 kB / 0.7194 GB, free: 3.863 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.0002732/0.0436, allocations: 126.9 kB / 0.7195 GB, free: 3.734 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.3064/0.35, allocations: 0.5605 MB / 0.72 GB, free: 37.16 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.35, allocations: 0 / 0.72 GB, free: 37.16 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.3504, allocations: 299.7 kB / 0.7203 GB, free: 36.97 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.3512, allocations: 90.52 kB / 0.7204 GB, free: 36.97 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3528, allocations: 0.7948 MB / 0.7212 GB, free: 36.56 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.3529, allocations: 159 kB / 0.7213 GB, free: 36.48 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.3531, allocations: 36.45 kB / 0.7214 GB, free: 36.48 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.3532, allocations: 32.06 kB / 0.7214 GB, free: 36.46 MB / 426.8 MB Notification: Performance of SimCode: time 1.332e-06/0.3532, allocations: 0 / 0.7214 GB, free: 36.46 MB / 426.8 MB Notification: Performance of Templates: time 0.01114/0.3643, allocations: 4.545 MB / 0.7258 GB, free: 36.05 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J02A_AntimycoticsForSystemicUse.J02AX04_Caspofungin.Caspofungin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.001978744985536]