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.001288/0.001288, 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.001506/0.001506, allocations: 165.9 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.144/1.144, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.7391/0.7391, allocations: 291.1 MB / 0.5382 GB, free: 51.81 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.843e-06/1.843e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.997e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs): time 0.001174/0.001204, allocations: 0.6036 MB / 0.6979 GB, free: 9.848 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.998e-05/0.001254, allocations: 7.984 kB / 0.6979 GB, free: 9.84 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.001282, allocations: 0 / 0.6979 GB, free: 9.84 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.001296, allocations: 3.938 kB / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.084e-05/0.001327, allocations: 7.875 kB / 0.6979 GB, free: 9.828 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.021e-05/0.001387, allocations: 4 kB / 0.6979 GB, free: 9.824 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.756e-05/0.001445, allocations: 11.98 kB / 0.6979 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.001499, allocations: 0 / 0.6979 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.001537, allocations: 11.98 kB / 0.6979 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.001595, allocations: 11.92 kB / 0.6979 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.00162, allocations: 4 kB / 0.6979 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-06/0.001625, allocations: 0 / 0.6979 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.001642, allocations: 0 / 0.6979 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.001665, allocations: 3.984 kB / 0.6979 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.877e-05/0.001724, allocations: 15.92 kB / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.001727, allocations: 0 / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.283e-06/0.001728, allocations: 0 / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.001733, allocations: 0 / 0.698 GB, free: 9.766 MB / 410.8 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.0003052/0.002038, allocations: 258.3 kB / 0.6982 GB, free: 9.48 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.00208, allocations: 12.03 kB / 0.6982 GB, free: 9.469 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.002109, allocations: 4.938 kB / 0.6982 GB, free: 9.465 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.082e-05/0.00217, allocations: 113.7 kB / 0.6983 GB, free: 9.328 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.002181, allocations: 384 / 0.6983 GB, free: 9.328 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.00219, allocations: 384 / 0.6983 GB, free: 9.328 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.536e-05/0.002276, allocations: 34.27 kB / 0.6984 GB, free: 9.289 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.002282, allocations: 192 / 0.6984 GB, free: 9.289 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.002292, allocations: 384 / 0.6984 GB, free: 9.289 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.002304, allocations: 4.375 kB / 0.6984 GB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.002343, allocations: 11.92 kB / 0.6984 GB, free: 9.273 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.002446, allocations: 105.3 kB / 0.6985 GB, free: 9.141 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.002711, allocations: 58.59 kB / 0.6985 GB, free: 9.074 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.002734, allocations: 8.859 kB / 0.6985 GB, free: 9.062 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.002743, allocations: 0 / 0.6985 GB, free: 9.062 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.002757, allocations: 38.56 kB / 0.6986 GB, free: 9.016 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.002757, allocations: 0 / 0.6986 GB, free: 9.016 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001253/0.002883, allocations: 45.78 kB / 0.6986 GB, free: 8.965 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.002905, allocations: 51.41 kB / 0.6987 GB, free: 8.902 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.665e-05/0.002951, allocations: 117.7 kB / 0.6988 GB, free: 8.777 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-06/0.002957, allocations: 25.7 kB / 0.6988 GB, free: 8.746 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.282e-05/0.00297, allocations: 80.14 kB / 0.6989 GB, free: 8.664 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.002996, allocations: 15.95 kB / 0.6989 GB, free: 8.648 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.003018, allocations: 9.719 kB / 0.6989 GB, free: 8.633 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.003053, allocations: 318.8 kB / 0.6992 GB, free: 8.312 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.003066, allocations: 4 kB / 0.6992 GB, free: 8.309 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.003075, allocations: 4 kB / 0.6992 GB, free: 8.305 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.781e-05/0.003103, allocations: 16.86 kB / 0.6992 GB, free: 8.285 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.003105, allocations: 3.938 kB / 0.6992 GB, free: 8.281 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.528e-05/0.003151, allocations: 49.92 kB / 0.6993 GB, free: 8.227 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.003166, allocations: 9.188 kB / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.003171, allocations: 4 kB / 0.6993 GB, free: 8.215 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.003184, allocations: 48 / 0.6993 GB, free: 8.215 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.003225, allocations: 15.92 kB / 0.6993 GB, free: 8.199 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.003236, allocations: 0 / 0.6993 GB, free: 8.199 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.003248, allocations: 3.938 kB / 0.6993 GB, free: 8.195 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.003253, allocations: 0 / 0.6993 GB, free: 8.195 MB / 410.8 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 4.825e-05/0.003301, allocations: 113.8 kB / 0.6994 GB, free: 8.074 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-06/0.003305, allocations: 0 / 0.6994 GB, free: 8.074 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.003323, allocations: 7.688 kB / 0.6994 GB, free: 8.066 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.003326, allocations: 4 kB / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.003331, allocations: 0 / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.003335, allocations: 3.938 kB / 0.6994 GB, free: 8.059 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.29e-05/0.003388, allocations: 113.2 kB / 0.6995 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.003389, allocations: 0 / 0.6995 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.003403, allocations: 4 kB / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.003405, allocations: 0 / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.003413, allocations: 0 / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.003414, allocations: 4 kB / 0.6996 GB, free: 7.91 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.003414, allocations: 0 / 0.6996 GB, free: 7.91 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.391e-05/0.003478, allocations: 76.95 kB / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.003484, allocations: 0 / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.003496, allocations: 8 kB / 0.6996 GB, free: 7.809 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-06/0.003502, allocations: 0 / 0.6996 GB, free: 7.809 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.003516, allocations: 7.984 kB / 0.6996 GB, free: 7.801 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.003518, allocations: 256 / 0.6996 GB, free: 7.801 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.813e-05/0.003536, allocations: 83.28 kB / 0.6997 GB, free: 7.719 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.003536, allocations: 0 / 0.6997 GB, free: 7.719 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001087/0.003645, allocations: 7.938 kB / 0.6997 GB, free: 7.711 MB / 410.8 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 6.58e-05/0.003711, allocations: 107.2 kB / 0.6998 GB, free: 7.598 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.9e-05/0.00378, allocations: 11.98 kB / 0.6998 GB, free: 7.586 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.003781, allocations: 0 / 0.6998 GB, free: 7.586 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.716e-06/0.00379, allocations: 11.94 kB / 0.6999 GB, free: 7.574 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.003901, allocations: 8 kB / 0.6999 GB, free: 7.566 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.004107, allocations: 134.5 kB / 0.7 GB, free: 7.402 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.018e-05/0.004138, allocations: 63.28 kB / 0.7001 GB, free: 7.32 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.004169, allocations: 12.5 kB / 0.7001 GB, free: 7.309 MB / 410.8 MB Notification: Performance of SimCode: time 6.11e-07/0.004169, allocations: 0 / 0.7001 GB, free: 7.309 MB / 410.8 MB Notification: Performance of Templates: time 0.001377/0.005546, allocations: 0.5016 MB / 0.7006 GB, free: 6.812 MB / 410.8 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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4036814123392105]