Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.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.001932/0.001932, 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.002986/0.002986, allocations: 170.3 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.664/1.664, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.374/1.374, allocations: 293 MB / 0.5392 GB, free: 50.2 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.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1728000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1728000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.43e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin): time 0.002943/0.002967, allocations: 2.717 MB / 0.7026 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005554/0.008521, allocations: 6.604 MB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.008673, allocations: 8 kB / 0.709 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.008826, allocations: 35.58 kB / 0.7091 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.009141, allocations: 130.9 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.009427, allocations: 75.83 kB / 0.7093 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.009904, allocations: 389.9 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.01008, allocations: 60.88 kB / 0.7097 GB, free: 14.51 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.01037, allocations: 199.5 kB / 0.7099 GB, free: 14.32 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.01065, allocations: 127.5 kB / 0.71 GB, free: 14.19 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.0107, allocations: 24 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.01076, allocations: 28 kB / 0.71 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.01083, allocations: 59.75 kB / 0.7101 GB, free: 14.08 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.01099, allocations: 111.7 kB / 0.7102 GB, free: 13.97 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007033/0.01169, allocations: 295 kB / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.0117, allocations: 0 / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.653e-06/0.0117, allocations: 0 / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.0117, allocations: 0 / 0.7105 GB, free: 13.68 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.001229/0.01293, allocations: 0.6002 MB / 0.7111 GB, free: 13.03 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.01297, allocations: 12.03 kB / 0.7111 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.419e-05/0.01305, allocations: 32.75 kB / 0.7111 GB, free: 12.99 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.01339, allocations: 208.8 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.01341, allocations: 12.75 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.01347, allocations: 28.36 kB / 0.7114 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.01402, allocations: 292.5 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.01404, allocations: 7.953 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.01407, allocations: 8 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.01407, allocations: 4 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.0146, allocations: 232.4 kB / 0.7119 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.01593, allocations: 0.6795 MB / 0.7125 GB, free: 11.43 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.0166, allocations: 238.7 kB / 0.7128 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.0169, allocations: 156.4 kB / 0.7129 GB, free: 11.01 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.01691, allocations: 0 / 0.7129 GB, free: 11.01 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005829/0.0175, allocations: 357.5 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.0175, allocations: 0 / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002232/0.01973, allocations: 1.079 MB / 0.7143 GB, free: 9.441 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.01991, allocations: 221.6 kB / 0.7145 GB, free: 9.176 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.02023, allocations: 245.9 kB / 0.7148 GB, free: 8.93 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.02027, allocations: 33.7 kB / 0.7148 GB, free: 8.891 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.02042, allocations: 156.8 kB / 0.7149 GB, free: 8.73 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.02055, allocations: 127 kB / 0.7151 GB, free: 8.605 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.02069, allocations: 74.12 kB / 0.7151 GB, free: 8.523 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.02089, allocations: 342.8 kB / 0.7155 GB, free: 8.18 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.02127, allocations: 203.9 kB / 0.7157 GB, free: 7.961 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.02172, allocations: 319.1 kB / 0.716 GB, free: 7.59 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.02242, allocations: 431.1 kB / 0.7164 GB, free: 7.102 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.02242, allocations: 4 kB / 0.7164 GB, free: 7.098 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009502/0.02337, allocations: 0.5497 MB / 0.7169 GB, free: 6.504 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/0.02346, allocations: 93.09 kB / 0.717 GB, free: 6.395 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.02347, allocations: 4 kB / 0.717 GB, free: 6.391 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.02349, allocations: 4 kB / 0.717 GB, free: 6.387 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.02408, allocations: 88.11 kB / 0.7171 GB, free: 6.301 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.02409, allocations: 8 kB / 0.7171 GB, free: 6.293 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.02432, allocations: 19.98 kB / 0.7171 GB, free: 6.273 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.02436, allocations: 16 kB / 0.7171 GB, free: 6.258 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.0002913/0.02465, allocations: 227 kB / 0.7174 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.0247, allocations: 31.81 kB / 0.7174 GB, free: 5.98 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.02478, allocations: 34.94 kB / 0.7174 GB, free: 5.945 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.02479, allocations: 4 kB / 0.7174 GB, free: 5.941 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.0248, allocations: 4 kB / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.0248, allocations: 0 / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.02612, allocations: 0.76 MB / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02612, allocations: 0 / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.02642, allocations: 55.95 kB / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.02642, allocations: 0 / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.02645, allocations: 8 kB / 0.7182 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.02646, allocations: 8 kB / 0.7182 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.02647, allocations: 7.938 kB / 0.7182 GB, free: 5.039 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.02769, allocations: 0.7268 MB / 0.719 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.02774, allocations: 23.81 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.0278, allocations: 16.05 kB / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.02803, allocations: 15.98 kB / 0.719 GB, free: 4.199 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.02815, allocations: 39.88 kB / 0.719 GB, free: 4.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.02817, allocations: 8 kB / 0.7191 GB, free: 4.152 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00022/0.02839, allocations: 181.2 kB / 0.7192 GB, free: 3.977 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.02839, allocations: 4 kB / 0.7192 GB, free: 3.973 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003731/0.02876, allocations: 88 kB / 0.7193 GB, free: 3.887 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.0001933/0.02896, allocations: 122.6 kB / 0.7194 GB, free: 3.766 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.1836/0.2125, allocations: 0.5571 MB / 0.72 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.2125, allocations: 1.406 kB / 0.72 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.213, allocations: 306.1 kB / 0.7203 GB, free: 36.92 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.2136, allocations: 82.16 kB / 0.7203 GB, free: 36.92 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.215, allocations: 0.792 MB / 0.7211 GB, free: 36.52 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2151, allocations: 158.9 kB / 0.7213 GB, free: 36.45 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.2153, allocations: 35.36 kB / 0.7213 GB, free: 36.44 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.2154, allocations: 31.42 kB / 0.7213 GB, free: 36.43 MB / 426.8 MB Notification: Performance of SimCode: time 8.22e-07/0.2154, allocations: 4 kB / 0.7213 GB, free: 36.42 MB / 426.8 MB Notification: Performance of Templates: time 0.01004/0.2254, allocations: 4.543 MB / 0.7258 GB, free: 36.01 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XA04_Dalbavancin.Dalbavancin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.118880671914667]