Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.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.0006498/0.0006498, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009179/0.001568, allocations: 440 kB / 10.41 MB, free: 284 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.0006723/0.0006723, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000897/0.001569, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.038/1.038, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08587/1.124, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.8456/0.8456, allocations: 291.1 MB / 0.5227 GB, free: 52.49 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03916/0.8848, allocations: 21.05 MB / 0.5433 GB, free: 31.5 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.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5446 GB, free: 30.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.398e-06/1.069e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs): time 0.0008887/0.0008994, allocations: 0.6526 MB / 0.5453 GB, free: 29.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.149e-05/0.0009209, allocations: 11.94 kB / 0.5453 GB, free: 29.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.0009361, allocations: 0 / 0.5453 GB, free: 29.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-06/0.0009402, allocations: 0 / 0.5453 GB, free: 29.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.687e-06/0.0009489, allocations: 3.938 kB / 0.5453 GB, free: 29.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.363e-05/0.0009726, allocations: 7.984 kB / 0.5453 GB, free: 29.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.001017, allocations: 8 kB / 0.5453 GB, free: 29.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.377e-05/0.001051, allocations: 3.984 kB / 0.5453 GB, free: 29.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.001093, allocations: 15.94 kB / 0.5453 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.001135, allocations: 3.984 kB / 0.5453 GB, free: 29.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.001152, allocations: 4 kB / 0.5453 GB, free: 29.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-06/0.001157, allocations: 3.938 kB / 0.5453 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.001169, allocations: 0 / 0.5453 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.001185, allocations: 7.938 kB / 0.5453 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.154e-05/0.001236, allocations: 11.97 kB / 0.5454 GB, free: 29.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.001245, allocations: 0 / 0.5454 GB, free: 29.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.001245, allocations: 4 kB / 0.5454 GB, free: 29.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.001253, allocations: 0 / 0.5454 GB, free: 29.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002326/0.001486, allocations: 235 kB / 0.5456 GB, free: 29.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.448e-05/0.00151, allocations: 11.89 kB / 0.5456 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.029e-05/0.001531, allocations: 4.938 kB / 0.5456 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.712e-05/0.001588, allocations: 105.8 kB / 0.5457 GB, free: 28.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.001596, allocations: 4.375 kB / 0.5457 GB, free: 28.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.001603, allocations: 384 / 0.5457 GB, free: 28.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.478e-05/0.001657, allocations: 34.25 kB / 0.5457 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.001664, allocations: 4.172 kB / 0.5457 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.001669, allocations: 7.562 kB / 0.5457 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.001674, allocations: 384 / 0.5457 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.672e-05/0.001691, allocations: 11.88 kB / 0.5458 GB, free: 28.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.428e-05/0.001755, allocations: 72.95 kB / 0.5458 GB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.001949, allocations: 46.59 kB / 0.5459 GB, free: 28.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.142e-05/0.00196, allocations: 8.859 kB / 0.5459 GB, free: 28.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.001965, allocations: 0 / 0.5459 GB, free: 28.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.00198, allocations: 34.56 kB / 0.5459 GB, free: 28.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 5.11e-07/0.00198, allocations: 0 / 0.5459 GB, free: 28.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 7.323e-05/0.002053, allocations: 49.72 kB / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.516e-05/0.002068, allocations: 51.41 kB / 0.546 GB, free: 28.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.267e-05/0.002101, allocations: 110.7 kB / 0.5461 GB, free: 28.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.002106, allocations: 25.7 kB / 0.5461 GB, free: 28.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-06/0.002113, allocations: 80.14 kB / 0.5462 GB, free: 28.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.002133, allocations: 7.953 kB / 0.5462 GB, free: 28.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.00215, allocations: 9.719 kB / 0.5462 GB, free: 28.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.704e-05/0.002177, allocations: 326.8 kB / 0.5465 GB, free: 28.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-06/0.002183, allocations: 3.984 kB / 0.5466 GB, free: 28.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.002189, allocations: 4 kB / 0.5466 GB, free: 28.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.847e-05/0.002207, allocations: 20.8 kB / 0.5466 GB, free: 28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.002209, allocations: 0 / 0.5466 GB, free: 28 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 2.718e-05/0.002236, allocations: 37.69 kB / 0.5466 GB, free: 27.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.002245, allocations: 4 kB / 0.5466 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.002249, allocations: 0 / 0.5466 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.002258, allocations: 0 / 0.5466 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/0.002284, allocations: 8 kB / 0.5466 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.002287, allocations: 0 / 0.5466 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-06/0.002296, allocations: 0 / 0.5466 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.002299, allocations: 2.656 kB / 0.5466 GB, free: 27.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 2.836e-05/0.002327, allocations: 113.8 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-06/0.002331, allocations: 8 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.511e-05/0.002346, allocations: 7.688 kB / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.002347, allocations: 0 / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.002348, allocations: 0 / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.00235, allocations: 4 kB / 0.5468 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.81e-05/0.002389, allocations: 69.09 kB / 0.5468 GB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00239, allocations: 7.922 kB / 0.5468 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.0024, allocations: 4.328 kB / 0.5468 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.002405, allocations: 11.89 kB / 0.5468 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.002405, allocations: 3.938 kB / 0.5468 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-06/0.002409, allocations: 4 kB / 0.5468 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.002409, allocations: 0 / 0.5468 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00241, allocations: 3.984 kB / 0.5469 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.452e-05/0.002445, allocations: 73.05 kB / 0.5469 GB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-06/0.00245, allocations: 0 / 0.5469 GB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-06/0.002456, allocations: 0 / 0.5469 GB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-06/0.002465, allocations: 3.984 kB / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.002466, allocations: 4 kB / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.176e-06/0.002474, allocations: 8.859 kB / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.002474, allocations: 0 / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.279e-05/0.002557, allocations: 0 / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 4.826e-05/0.002605, allocations: 96.36 kB / 0.547 GB, free: 27.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.634e-05/0.002652, allocations: 16.84 kB / 0.547 GB, free: 27.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.002654, allocations: 0 / 0.547 GB, free: 27.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.002665, allocations: 12.86 kB / 0.5471 GB, free: 27.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.967e-05/0.002725, allocations: 7.938 kB / 0.5471 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001393/0.002864, allocations: 116.5 kB / 0.5472 GB, free: 27.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.713e-05/0.002882, allocations: 55.36 kB / 0.5472 GB, free: 27.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.002897, allocations: 0 / 0.5472 GB, free: 27.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.002921, allocations: 55.38 kB / 0.5473 GB, free: 27.16 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.002921, allocations: 0 / 0.5473 GB, free: 27.16 MB / 410.7 MB Notification: Performance of Templates: time 0.001479/0.0044, allocations: 363.9 kB / 0.5476 GB, free: 26.87 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.346042656339705]