Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.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.0007392/0.0007392, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009451/0.001684, 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.000731/0.000731, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008763/0.001607, 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0975/1.102, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.727/0.727, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03513/0.7621, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5445 GB, free: 30.4 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.976e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.4 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin): time 0.00301/0.003029, allocations: 2.509 MB / 0.547 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005873/0.008903, allocations: 6.692 MB / 0.5535 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.009047, allocations: 3.938 kB / 0.5535 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.36e-05/0.00913, allocations: 23.72 kB / 0.5535 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.009329, allocations: 87.33 kB / 0.5536 GB, free: 21.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.009492, allocations: 55.86 kB / 0.5537 GB, free: 21.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.009751, allocations: 266.6 kB / 0.5539 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.009889, allocations: 34.48 kB / 0.554 GB, free: 20.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.01011, allocations: 180.2 kB / 0.5541 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.01031, allocations: 87.72 kB / 0.5542 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.01034, allocations: 16 kB / 0.5542 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.2e-05/0.01037, allocations: 16 kB / 0.5542 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.01041, allocations: 31.86 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.01049, allocations: 63.88 kB / 0.5543 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.01069, allocations: 135.5 kB / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.0107, allocations: 3.938 kB / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0107, allocations: 0 / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.01072, allocations: 0 / 0.5545 GB, free: 20.2 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000686/0.0114, allocations: 0.4976 MB / 0.5549 GB, free: 19.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01144, allocations: 15.89 kB / 0.555 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.0115, allocations: 16.92 kB / 0.555 GB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.01171, allocations: 191 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.01173, allocations: 8.547 kB / 0.5552 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.01177, allocations: 16.38 kB / 0.5552 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.01197, allocations: 159.4 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.01199, allocations: 4 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.012, allocations: 4 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.01201, allocations: 4 kB / 0.5553 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.01211, allocations: 80.7 kB / 0.5554 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.01258, allocations: 364.9 kB / 0.5558 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.01278, allocations: 116.1 kB / 0.5559 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.01283, allocations: 58.55 kB / 0.5559 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.01284, allocations: 4 kB / 0.5559 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.01302, allocations: 195.3 kB / 0.5561 GB, free: 18.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.01302, allocations: 3.938 kB / 0.5561 GB, free: 18.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006787/0.0137, allocations: 0.5094 MB / 0.5566 GB, free: 17.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.01374, allocations: 162.2 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.01387, allocations: 206.1 kB / 0.557 GB, free: 17.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.01388, allocations: 29.7 kB / 0.557 GB, free: 17.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.01393, allocations: 116.4 kB / 0.5571 GB, free: 17.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.01397, allocations: 71.41 kB / 0.5572 GB, free: 17.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.01404, allocations: 55.17 kB / 0.5572 GB, free: 17.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.01409, allocations: 334.8 kB / 0.5576 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.01415, allocations: 93 kB / 0.5577 GB, free: 16.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.774e-05/0.01424, allocations: 177.3 kB / 0.5578 GB, free: 16.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.01438, allocations: 221 kB / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01439, allocations: 0 / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002154/0.0146, allocations: 269.3 kB / 0.5583 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.01465, allocations: 59.41 kB / 0.5583 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01465, allocations: 0 / 0.5583 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01467, allocations: 4 kB / 0.5583 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.01488, allocations: 67.89 kB / 0.5584 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.01488, allocations: 4 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.015, allocations: 15.98 kB / 0.5584 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.01501, allocations: 11.94 kB / 0.5584 GB, free: 15.68 MB / 410.7 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001412/0.01515, allocations: 175.8 kB / 0.5586 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.01518, allocations: 19.98 kB / 0.5586 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.01522, allocations: 25.95 kB / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.01522, allocations: 0 / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01522, allocations: 0 / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.01525, allocations: 19.8 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01526, allocations: 15.92 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.01529, allocations: 4 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.01537, allocations: 19.98 kB / 0.5587 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.01542, allocations: 15.97 kB / 0.5587 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002437/0.01567, allocations: 271 kB / 0.559 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2706/0.2863, allocations: 417.6 kB / 0.5594 GB, free: 78.95 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001209/0.2864, allocations: 75.91 kB / 0.5595 GB, free: 78.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000114/0.2865, allocations: 66.72 kB / 0.5595 GB, free: 78.9 MB / 410.8 MB Notification: Performance of Backend: time 9.82e-07/0.2865, allocations: 0 / 0.5595 GB, free: 78.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005571/0.2871, allocations: 340.4 kB / 0.5598 GB, free: 78.66 MB / 410.8 MB Notification: Performance of SimCode: time 0.005918/0.293, allocations: 1.116 MB / 0.5609 GB, free: 77.85 MB / 410.8 MB Notification: Performance of Templates: time 0.007099/0.3001, allocations: 3.869 MB / 0.5647 GB, free: 77.7 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.727336802519858]