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.001199/0.001199, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001072/0.001072, allocations: 217.3 kB / 23 MB, free: 2.961 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 0.9923/0.9923, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7894/0.7894, allocations: 312.3 MB / 0.6108 GB, free: 97.1 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 79.78 kB / 0.7698 GB, free: 19.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1567, allocations: 73.98 MB / 0.8421 GB, free: 9.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs): time 0.001633/0.1583, allocations: 0.5988 MB / 0.8427 GB, free: 9.32 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.932e-05/0.1584, allocations: 4.562 kB / 0.8427 GB, free: 9.316 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.1584, allocations: 0.625 kB / 0.8427 GB, free: 9.316 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.1584, allocations: 0 / 0.8427 GB, free: 9.316 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.1585, allocations: 4.438 kB / 0.8427 GB, free: 9.312 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.656e-05/0.1585, allocations: 12.55 kB / 0.8427 GB, free: 9.301 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.1586, allocations: 8 kB / 0.8427 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.189e-05/0.1587, allocations: 0.6562 kB / 0.8427 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.1587, allocations: 12.61 kB / 0.8427 GB, free: 9.281 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.1587, allocations: 7.938 kB / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1588, allocations: 0.7188 kB / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-06/0.1588, allocations: 0 / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.1588, allocations: 8.656 kB / 0.8427 GB, free: 9.266 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.1588, allocations: 7.938 kB / 0.8427 GB, free: 9.258 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.729e-05/0.1589, allocations: 12.73 kB / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1589, allocations: 0 / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1589, allocations: 0.5 kB / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1589, allocations: 4 kB / 0.8427 GB, free: 9.242 MB / 474.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.0003939/0.1593, allocations: 251.4 kB / 0.843 GB, free: 8.965 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1594, allocations: 12.03 kB / 0.843 GB, free: 8.953 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.1594, allocations: 5.438 kB / 0.843 GB, free: 8.949 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.943e-05/0.1595, allocations: 111 kB / 0.8431 GB, free: 8.816 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1595, allocations: 8.812 kB / 0.8431 GB, free: 8.809 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1595, allocations: 384 / 0.8431 GB, free: 8.809 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1596, allocations: 38.88 kB / 0.8432 GB, free: 8.766 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1596, allocations: 0.875 kB / 0.8432 GB, free: 8.766 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1596, allocations: 7.938 kB / 0.8432 GB, free: 8.758 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1596, allocations: 0.5312 kB / 0.8432 GB, free: 8.758 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.039e-05/0.1597, allocations: 4 kB / 0.8432 GB, free: 8.754 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.1598, allocations: 105.9 kB / 0.8433 GB, free: 8.621 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.1601, allocations: 55.28 kB / 0.8433 GB, free: 8.559 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.1601, allocations: 13.48 kB / 0.8433 GB, free: 8.543 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1602, allocations: 3.984 kB / 0.8433 GB, free: 8.539 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1602, allocations: 35.16 kB / 0.8434 GB, free: 8.496 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1602, allocations: 0.625 kB / 0.8434 GB, free: 8.496 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.000153/0.1603, allocations: 49.72 kB / 0.8434 GB, free: 8.441 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1604, allocations: 55.91 kB / 0.8435 GB, free: 8.375 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1606, allocations: 102.4 kB / 0.8436 GB, free: 8.266 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.1606, allocations: 29.64 kB / 0.8436 GB, free: 8.23 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.1607, allocations: 84.72 kB / 0.8437 GB, free: 8.145 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.1607, allocations: 12.61 kB / 0.8437 GB, free: 8.133 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.1607, allocations: 13.72 kB / 0.8437 GB, free: 8.113 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.1608, allocations: 311.4 kB / 0.844 GB, free: 7.801 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.1608, allocations: 11.98 kB / 0.844 GB, free: 7.789 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.1608, allocations: 4.438 kB / 0.844 GB, free: 7.785 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.1609, allocations: 17.48 kB / 0.844 GB, free: 7.766 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1609, allocations: 0 / 0.844 GB, free: 7.766 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.746e-05/0.1609, allocations: 50.23 kB / 0.8441 GB, free: 7.711 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.161, allocations: 10.97 kB / 0.8441 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.161, allocations: 0 / 0.8441 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.161, allocations: 4.562 kB / 0.8441 GB, free: 7.699 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.864e-05/0.161, allocations: 8.438 kB / 0.8441 GB, free: 7.691 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.161, allocations: 0 / 0.8441 GB, free: 7.691 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.161, allocations: 0.6875 kB / 0.8441 GB, free: 7.691 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.161, allocations: 0 / 0.8441 GB, free: 7.691 MB / 474.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 5.708e-05/0.1611, allocations: 115.5 kB / 0.8442 GB, free: 7.57 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-06/0.1611, allocations: 0.625 kB / 0.8442 GB, free: 7.57 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.1611, allocations: 12.39 kB / 0.8442 GB, free: 7.559 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1611, allocations: 3.938 kB / 0.8442 GB, free: 7.555 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1611, allocations: 0.625 kB / 0.8442 GB, free: 7.555 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1611, allocations: 0 / 0.8442 GB, free: 7.555 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.7e-05/0.1612, allocations: 109.9 kB / 0.8443 GB, free: 7.418 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1612, allocations: 0 / 0.8443 GB, free: 7.418 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.1612, allocations: 4.594 kB / 0.8443 GB, free: 7.414 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1612, allocations: 4.484 kB / 0.8443 GB, free: 7.41 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1612, allocations: 4.25 kB / 0.8444 GB, free: 7.406 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1612, allocations: 4.625 kB / 0.8444 GB, free: 7.402 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1612, allocations: 4.531 kB / 0.8444 GB, free: 7.398 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.407e-05/0.1613, allocations: 77.02 kB / 0.8444 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-06/0.1613, allocations: 4.625 kB / 0.8444 GB, free: 7.301 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.1613, allocations: 0 / 0.8444 GB, free: 7.301 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-06/0.1613, allocations: 0.5938 kB / 0.8444 GB, free: 7.301 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.1613, allocations: 4.531 kB / 0.8444 GB, free: 7.297 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.1613, allocations: 0 / 0.8444 GB, free: 7.297 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.713e-05/0.1614, allocations: 87.89 kB / 0.8445 GB, free: 7.211 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1614, allocations: 0 / 0.8445 GB, free: 7.211 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001054/0.1615, allocations: 4.562 kB / 0.8445 GB, free: 7.207 MB / 474.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 9.375e-05/0.1616, allocations: 104.9 kB / 0.8446 GB, free: 7.094 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.439e-05/0.1616, allocations: 15.98 kB / 0.8446 GB, free: 7.078 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1617, allocations: 4.531 kB / 0.8446 GB, free: 7.074 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.1617, allocations: 19.86 kB / 0.8447 GB, free: 7.055 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.1618, allocations: 0.6875 kB / 0.8447 GB, free: 7.055 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.1621, allocations: 134.3 kB / 0.8448 GB, free: 6.895 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.941e-05/0.1621, allocations: 64.09 kB / 0.8449 GB, free: 6.812 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.1621, allocations: 8.125 kB / 0.8449 GB, free: 6.805 MB / 474.8 MB Notification: Performance of SimCode: time 5.21e-07/0.1621, allocations: 0 / 0.8449 GB, free: 6.805 MB / 474.8 MB Notification: Performance of Templates: time 0.001769/0.1639, allocations: 491.7 kB / 0.8453 GB, free: 6.344 MB / 474.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: 6.1354020815342665]